Vulnerabilites related to Go standard library - net/mail
cve-2024-24784
Vulnerability from cvelistv5
Published
2024-03-05 22:22
Modified
2025-02-13 17:40
Severity ?
EPSS score ?
Summary
The ParseAddressList function incorrectly handles comments (text within parentheses) within display names. Since this is a misalignment with conforming address parsers, it can result in different trust decisions being made by programs using different parsers.
References
Impacted products
Vendor | Product | Version | ||
---|---|---|---|---|
Go standard library | net/mail |
Version: 0 ≤ Version: 1.22.0-0 ≤ |
{ containers: { adp: [ { providerMetadata: { dateUpdated: "2024-08-01T23:28:12.523Z", orgId: "af854a3a-2127-422b-91ae-364da2661108", shortName: "CVE", }, references: [ { tags: [ "x_transferred", ], url: "https://go.dev/issue/65083", }, { tags: [ "x_transferred", ], url: "https://go.dev/cl/555596", }, { tags: [ "x_transferred", ], url: "https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg", }, { tags: [ "x_transferred", ], url: "https://pkg.go.dev/vuln/GO-2024-2609", }, { tags: [ "x_transferred", ], url: "https://security.netapp.com/advisory/ntap-20240329-0007/", }, { tags: [ "x_transferred", ], url: "http://www.openwall.com/lists/oss-security/2024/03/08/4", }, ], title: "CVE Program Container", }, { affected: [ { cpes: [ "cpe:2.3:a:go_standard_library:net\\/mail:*:*:*:*:*:*:*:*", ], defaultStatus: "unknown", product: "net\\/mail", vendor: "go_standard_library", versions: [ { lessThan: "1.21.8", status: "affected", version: "0", versionType: "semver", }, { lessThan: "1.22.1", status: "affected", version: "1.22.0-0", versionType: "semver", }, ], }, ], metrics: [ { cvssV3_1: { attackComplexity: "LOW", attackVector: "NETWORK", availabilityImpact: "NONE", baseScore: 7.5, baseSeverity: "HIGH", confidentialityImpact: "NONE", integrityImpact: "HIGH", privilegesRequired: "NONE", scope: "UNCHANGED", userInteraction: "NONE", vectorString: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N", version: "3.1", }, }, { other: { content: { id: "CVE-2024-24784", options: [ { Exploitation: "none", }, { Automatable: "yes", }, { "Technical Impact": "partial", }, ], role: "CISA Coordinator", timestamp: "2024-08-05T20:13:24.512123Z", version: "2.0.3", }, type: "ssvc", }, }, ], providerMetadata: { dateUpdated: "2024-08-05T20:17:30.349Z", orgId: "134c704f-9b21-4f2e-91b3-4a467353bcc0", shortName: "CISA-ADP", }, title: "CISA ADP Vulnrichment", }, ], cna: { affected: [ { collectionURL: "https://pkg.go.dev", defaultStatus: "unaffected", packageName: "net/mail", product: "net/mail", programRoutines: [ { name: "addrParser.consumeGroupList", }, { name: "addrParser.consumePhrase", }, { name: "isAtext", }, { name: "Address.String", }, { name: "AddressParser.Parse", }, { name: "AddressParser.ParseList", }, { name: "Header.AddressList", }, { name: "ParseAddress", }, { name: "ParseAddressList", }, ], vendor: "Go standard library", versions: [ { lessThan: "1.21.8", status: "affected", version: "0", versionType: "semver", }, { lessThan: "1.22.1", status: "affected", version: "1.22.0-0", versionType: "semver", }, ], }, ], credits: [ { lang: "en", value: "Juho Nurminen of Mattermost", }, { lang: "en", value: "Slonser (https://github.com/Slonser)", }, ], descriptions: [ { lang: "en", value: "The ParseAddressList function incorrectly handles comments (text within parentheses) within display names. Since this is a misalignment with conforming address parsers, it can result in different trust decisions being made by programs using different parsers.", }, ], problemTypes: [ { descriptions: [ { description: "CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences", lang: "en", }, ], }, ], providerMetadata: { dateUpdated: "2024-05-01T17:09:41.105Z", orgId: "1bb62c36-49e3-4200-9d77-64a1400537cc", shortName: "Go", }, references: [ { url: "https://go.dev/issue/65083", }, { url: "https://go.dev/cl/555596", }, { url: "https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg", }, { url: "https://pkg.go.dev/vuln/GO-2024-2609", }, { url: "https://security.netapp.com/advisory/ntap-20240329-0007/", }, { url: "http://www.openwall.com/lists/oss-security/2024/03/08/4", }, ], title: "Comments in display names are incorrectly handled in net/mail", }, }, cveMetadata: { assignerOrgId: "1bb62c36-49e3-4200-9d77-64a1400537cc", assignerShortName: "Go", cveId: "CVE-2024-24784", datePublished: "2024-03-05T22:22:32.186Z", dateReserved: "2024-01-30T16:05:14.757Z", dateUpdated: "2025-02-13T17:40:24.430Z", state: "PUBLISHED", }, dataType: "CVE_RECORD", dataVersion: "5.1", }