Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/foxcpp/maddy
  4. ›
  5. CVE-2023-27582

CVE-2023-27582: Authentication Bypass by Primary Weakness

March 14, 2023

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.

References

  • github.com/advisories/GHSA-4g76-w3xw-2x6w
  • github.com/foxcpp/maddy/commit/55a91a37b71210f34f98f4d327c30308fe24399a
  • github.com/foxcpp/maddy/commit/9f58cb64b39cdc01928ec463bdb198c4c2313a9c
  • github.com/foxcpp/maddy/releases/tag/v0.6.3
  • github.com/foxcpp/maddy/security/advisories/GHSA-4g76-w3xw-2x6w
  • nvd.nist.gov/vuln/detail/CVE-2023-27582

Code Behaviors & Features

Detect and mitigate CVE-2023-27582 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.2.0 before 0.6.3

Fixed versions

  • v0.6.3

Solution

Upgrade to version 0.6.3 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication
  • CWE-305: Authentication Bypass by Primary Weakness

Source file

go/github.com/foxcpp/maddy/CVE-2023-27582.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:51 +0000.