S3 storage write is not aborted on errors leading to unbounded memory usageGHSA-m6m5-pp4g-fcc8
HIGHGHSA-m6m5-pp4g-fcc8 is a high-severity (CVSS 7.5) vulnerability in github.com/foxcpp/maddy. A fix is available for github.com/foxcpp/maddy — see the affected versions and patch details below.
Real-World Exposure
github.com/foxcpp/maddyReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
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
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/foxcpp/maddy | all versions | 0.5.1go get github.com/foxcpp/maddy@v0.5.1 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/foxcpp/maddy, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/foxcpp/maddy to 0.5.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-m6m5-pp4g-fcc8 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-m6m5-pp4g-fcc8 in your dependencies?
Find it across Go, including transitive dependencies.