Vulnerability · Published Mar 13, 2023 · Assigned by GitHub_M
CVE-2023-27582Full authentication bypass if SASL authorization username is specified
Critical 9.1
In plain English
A critical-severity improper authentication in maddy from foxcpp. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
maddy is a composable, all-in-one mail server. Starting with version 0.2.0 and prior to version 0.6.3, maddy allows a full authentication bypass if SASL authorization username is specified when using the PLAIN authentication mechanisms. Instead of validating the specified username, it is accepted as is after checking the credentials for the authentication username. maddy 0.6.3 includes the fix for the bug. There are no known workarounds.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.23 | maddy | 0.6.3-r0 | ALPINE-CVE-2023-27582 |
| Alpine:v3.24 | maddy | 0.6.3-r0 | ALPINE-CVE-2023-27582 |
| Go | github.com/foxcpp/maddy | 0.6.3 | GHSA-4g76-w3xw-2x6w |
| Go | github.com/foxcpp/maddy | 0.6.3 | GO-2023-1630 |
Affected products (as reported)
Weakness: CWE-287, CWE-305 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
References
- https://github.com/foxcpp/maddy/security/advisories/GHSA-4g76-w3xw-2x6w x_refsource_CONFIRM
- https://github.com/foxcpp/maddy/commit/55a91a37b71210f34f98f4d327c30308fe24399a x_refsource_MISC
- https://github.com/foxcpp/maddy/commit/9f58cb64b39cdc01928ec463bdb198c4c2313a9c x_refsource_MISC
- https://github.com/foxcpp/maddy/releases/tag/v0.6.3 x_refsource_MISC