foxcpp/maddy · Security
S3 storage write is not aborted on errors leading to unbounded memory usage
- GHSA ID
- GHSA-m6m5-pp4g-fcc8
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
Impact
Anyone using storage.blob.s3 introduced in 0.5.0 with storage.imapsql.
storage.imapsql local_mailboxes {
...
msg_store s3 {
...
}
}
Patches
The relevant commit is pushed to master and will be included in the 0.5.1 release.
No special handling of the issue has been done due to the small amount of affected users.
Workarounds
None.
References
CWEs
- CWE-772 · Missing Release of Resource after Effective Lifetime