# GO-2022-0374 - S3 storage write is not aborted on errors leading to unbounded memory usage in github.com/foxcpp/maddy

Source: https://junglewise.ai/threats/go-2022-0374-s3-storage-write-is-not-aborted-on-errors-leading-to-80b1a56f  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-08-21  
License: CC BY 4.0 with a link back

Severity: info · Published 2024-08-21

S3 storage write is not aborted on errors leading to unbounded memory usage in github.com/foxcpp/maddy

Technologies: [github.com/foxcpp/maddy (Go)](https://junglewise.ai/threats/technologies/github-com-foxcpp-maddy). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 21 August 2024.

**Which products and versions are affected?** github.com/foxcpp/maddy (Go) SEMVER:introduced=0,fixed=0.5.1.

**Is there a fix for This vulnerability?** Yes. github.com/foxcpp/maddy (Go): upgrade to 0.5.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run github.com/foxcpp/maddy (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/foxcpp/maddy (Go): upgrade to 0.5.1 or later

  ```sh
  go get github.com/foxcpp/maddy@v0.5.1
  ```


## Affected products

- github.com/foxcpp/maddy (Go) SEMVER:introduced=0,fixed=0.5.1

## Related threats

- [foxcpp Maddy Mail Server LDAP filter injection in auth.ldap](https://junglewise.ai/threats/cve-2026-40193-foxcpp-maddy-mail-server-ldap-filter-injection-in-auth-ldap)
- [GO-2022-0378 - MD5 hash support in github.com/foxcpp/maddy](https://junglewise.ai/threats/go-2022-0378-md5-hash-support-in-github-com-foxcpp-maddy-7794fc0d)
- [GO-2022-0306 - Use of a Broken or Risky Cryptographic Algorithm in Max Mazurov Maddy in github.com/foxcpp/maddy](https://junglewise.ai/threats/cve-2021-42583-use-of-a-broken-or-risky-cryptographic-algorithm-in-max-mazurov)
- [GO-2023-1630 - Full authentication bypass if SASL authorization username is specified in github.com/foxcpp/maddy](https://junglewise.ai/threats/cve-2023-27582-full-authentication-bypass-if-sasl-authorization-username-is)
- [Use of a Key Past its Expiration Date and Insufficient Session Expiration in Maddy Mail Server](https://junglewise.ai/threats/cve-2022-24732-use-of-a-key-past-its-expiration-date-and-insufficient-session)
