CVE-2023-27582

Authentication Bypass by Primary Weakness in go/github.com/foxcpp/maddy

Identifiers

GHSA-4g76-w3xw-2x6w, CVE-2023-27582

Package Slug

go/github.com/foxcpp/maddy

Vulnerability

Authentication Bypass by Primary Weakness

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 Versions

All versions starting from 0.2.0 before 0.6.3

Solution

Upgrade to version 0.6.3 or above.

Last Modified

2023-03-16

source