# CVE-2023-27582: GO-2023-1630 - Full authentication bypass if SASL authorization username is specified in github.com/foxcpp/maddy

Source: https://junglewise.ai/threats/cve-2023-27582-full-authentication-bypass-if-sasl-authorization-username-is  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-08-20  
License: CC BY 4.0 with a link back

CVE-2023-27582 · Severity: low · CVSS 3.1 · Published 2024-08-20

Full authentication bypass if SASL authorization username is specified 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 CVE-2023-27582 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-27582 being exploited in the wild.

**How severe is CVE-2023-27582?** Low severity, with a CVSS score of 3.1, published 20 August 2024.

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

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

**Am I affected by CVE-2023-27582?** 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.6.3 or later

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


## Affected products

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

## Identifiers

- CVE-2023-27582
- GHSA-4g76-w3xw-2x6w
- GO-2023-1630

## 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-0374 - S3 storage write is not aborted on errors leading to unbounded memory usage in github.com/foxcpp/maddy](https://junglewise.ai/threats/go-2022-0374-s3-storage-write-is-not-aborted-on-errors-leading-to-80b1a56f)
- [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)
- [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)
