CVE-2023-27582
NixOS vulnerability analysis and mitigation

Overview

CVE-2023-27582 affects maddy, a composable all-in-one mail server, versions 0.2.0 through 0.6.2. The vulnerability was discovered and disclosed on March 13, 2023. The issue allows a full authentication bypass when using the PLAIN authentication mechanisms if a SASL authorization username is specified (GitHub Advisory).

Technical details

The vulnerability stems from improper validation of SASL authorization usernames. When using the PLAIN authentication mechanism, the system accepts the specified authorization username as is after checking the credentials for the authentication username, without performing proper validation. This is classified as an Authentication Bypass vulnerability (CWE-287, CWE-305). The vulnerability has received a CVSS v3.1 base score of 9.8 CRITICAL with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability allows attackers to bypass authentication completely when using the PLAIN authentication mechanism. This could lead to unauthorized access to mail server functions with elevated privileges, potentially compromising the confidentiality and integrity of the mail system (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in maddy version 0.6.3. There are no known workarounds, and users must upgrade to the patched version to address the security issue. The fix involves proper validation of the SASL authorization username (GitHub Release).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-12819HIGH8.1
  • NixOSNixOS
  • pgbouncer
NoYesDec 03, 2025
CVE-2025-20777MEDIUM6.7
  • NixOSNixOS
  • android
NoNoDec 02, 2025
CVE-2025-65105MEDIUM5.3
  • NixOSNixOS
  • apptainer
NoYesDec 02, 2025
CVE-2025-20789MEDIUM4.4
  • NixOSNixOS
  • android
NoNoDec 02, 2025
CVE-2025-20788MEDIUM4.4
  • NixOSNixOS
  • android
NoNoDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management