{"id":"CVE-2023-27582","state":"PUBLISHED","title":"Full authentication bypass if SASL authorization username is specified","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.","publishedAt":"2023-03-13T21:40:23.225Z","updatedAt":"2025-02-25T14:58:06.143Z","severity":{"score":9.1,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["foxcpp maddy"],"affected":[{"vendor":"foxcpp","product":"maddy","versions":[{"version":">= 0.2.0  0.6.3","status":"affected"}]}],"references":["https://github.com/foxcpp/maddy/security/advisories/GHSA-4g76-w3xw-2x6w","https://github.com/foxcpp/maddy/commit/55a91a37b71210f34f98f4d327c30308fe24399a","https://github.com/foxcpp/maddy/commit/9f58cb64b39cdc01928ec463bdb198c4c2313a9c","https://github.com/foxcpp/maddy/releases/tag/v0.6.3"],"weaknesses":["CWE-287","CWE-305"],"ingestedAt":"2026-10-29T20:05:52.290Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/27xxx/CVE-2023-27582.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-27582","state":"PUBLISHED","datePublished":"2023-03-13T21:40:23.225Z","dateUpdated":"2025-02-25T14:58:06.143Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-03-04T01:03:53.633Z"},"containers":{"cna":{"title":"Full authentication bypass if SASL authorization username is specified","descriptions":[{"lang":"en","value":"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":[{"vendor":"foxcpp","product":"maddy","versions":[{"version":">= 0.2.0  0.6.3","status":"affected"}]}],"references":[{"url":"https://github.com/foxcpp/maddy/security/advisories/GHSA-4g76-w3xw-2x6w","name":"https://github.com/foxcpp/maddy/security/advisories/GHSA-4g76-w3xw-2x6w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/foxcpp/maddy/commit/55a91a37b71210f34f98f4d327c30308fe24399a","name":"https://github.com/foxcpp/maddy/commit/55a91a37b71210f34f98f4d327c30308fe24399a","tags":["x_refsource_MISC"]},{"url":"https://github.com/foxcpp/maddy/commit/9f58cb64b39cdc01928ec463bdb198c4c2313a9c","name":"https://github.com/foxcpp/maddy/commit/9f58cb64b39cdc01928ec463bdb198c4c2313a9c","tags":["x_refsource_MISC"]},{"url":"https://github.com/foxcpp/maddy/releases/tag/v0.6.3","name":"https://github.com/foxcpp/maddy/releases/tag/v0.6.3","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-287","lang":"en","description":"CWE-287: Improper Authentication","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-305","lang":"en","description":"CWE-305: Authentication Bypass by Primary Weakness","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-03-13T21:40:23.225Z"},"source":{"advisory":"GHSA-4g76-w3xw-2x6w","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/foxcpp/maddy/security/advisories/GHSA-4g76-w3xw-2x6w","name":"https://github.com/foxcpp/maddy/security/advisories/GHSA-4g76-w3xw-2x6w","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/foxcpp/maddy/commit/55a91a37b71210f34f98f4d327c30308fe24399a","name":"https://github.com/foxcpp/maddy/commit/55a91a37b71210f34f98f4d327c30308fe24399a","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/foxcpp/maddy/commit/9f58cb64b39cdc01928ec463bdb198c4c2313a9c","name":"https://github.com/foxcpp/maddy/commit/9f58cb64b39cdc01928ec463bdb198c4c2313a9c","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/foxcpp/maddy/releases/tag/v0.6.3","name":"https://github.com/foxcpp/maddy/releases/tag/v0.6.3","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T12:16:36.244Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-02-25T14:31:06.246958Z","id":"CVE-2023-27582","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-02-25T14:58:06.143Z"}}]}}}