blob: cbc2d6f3605ba2ad33af5024c5bd92e1c262ddb3 [file] [log] [blame]
{
"dataType": "CVE_RECORD",
"dataVersion": "5.0",
"cveMetadata": {
"cveId": "CVE-2024-24784"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc"
},
"title": "Comments in display names are incorrectly handled in net/mail",
"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."
}
],
"affected": [
{
"vendor": "Go standard library",
"product": "net/mail",
"collectionURL": "https://pkg.go.dev",
"packageName": "net/mail",
"versions": [
{
"version": "0",
"lessThan": "1.21.8",
"status": "affected",
"versionType": "semver"
},
{
"version": "1.22.0-0",
"lessThan": "1.22.1",
"status": "affected",
"versionType": "semver"
}
],
"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"
}
],
"defaultStatus": "unaffected"
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences"
}
]
}
],
"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/"
}
],
"credits": [
{
"lang": "en",
"value": "Juho Nurminen of Mattermost"
},
{
"lang": "en",
"value": "Slonser (https://github.com/Slonser)"
}
]
}
}
}