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.

Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)1.0%top 36.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Alpine:v3.23maddy0.6.3-r0ALPINE-CVE-2023-27582
Alpine:v3.24maddy0.6.3-r0ALPINE-CVE-2023-27582
Gogithub.com/foxcpp/maddy0.6.3GHSA-4g76-w3xw-2x6w
Gogithub.com/foxcpp/maddy0.6.3GO-2023-1630

Affected products (as reported)

VendorProductVersions
foxcpp maddy >= 0.2.0 0.6.3

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