data/reports: add GO-2024-2609.yaml
Aliases: CVE-2024-24784
Updates golang/vulndb#2609
Change-Id: Ief8436887e725ecfdf3fc8cabd27b5990ae823f9
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/569418
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
Auto-Submit: Tatiana Bradley <tatianabradley@google.com>
diff --git a/data/cve/v5/GO-2024-2609.json b/data/cve/v5/GO-2024-2609.json
new file mode 100644
index 0000000..b00ae24
--- /dev/null
+++ b/data/cve/v5/GO-2024-2609.json
@@ -0,0 +1,107 @@
+{
+ "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"
+ }
+ ],
+ "credits": [
+ {
+ "lang": "en",
+ "value": "Juho Nurminen of Mattermost"
+ },
+ {
+ "lang": "en",
+ "value": "Slonser (https://github.com/Slonser)"
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/data/osv/GO-2024-2609.json b/data/osv/GO-2024-2609.json
new file mode 100644
index 0000000..a544e61
--- /dev/null
+++ b/data/osv/GO-2024-2609.json
@@ -0,0 +1,81 @@
+{
+ "schema_version": "1.3.1",
+ "id": "GO-2024-2609",
+ "modified": "0001-01-01T00:00:00Z",
+ "published": "0001-01-01T00:00:00Z",
+ "aliases": [
+ "CVE-2024-24784"
+ ],
+ "summary": "Comments in display names are incorrectly handled in net/mail",
+ "details": "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": [
+ {
+ "package": {
+ "name": "stdlib",
+ "ecosystem": "Go"
+ },
+ "ranges": [
+ {
+ "type": "SEMVER",
+ "events": [
+ {
+ "introduced": "0"
+ },
+ {
+ "fixed": "1.21.8"
+ },
+ {
+ "introduced": "1.22.0-0"
+ },
+ {
+ "fixed": "1.22.1"
+ }
+ ]
+ }
+ ],
+ "ecosystem_specific": {
+ "imports": [
+ {
+ "path": "net/mail",
+ "symbols": [
+ "Address.String",
+ "AddressParser.Parse",
+ "AddressParser.ParseList",
+ "Header.AddressList",
+ "ParseAddress",
+ "ParseAddressList",
+ "addrParser.consumeGroupList",
+ "addrParser.consumePhrase",
+ "isAtext"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "references": [
+ {
+ "type": "REPORT",
+ "url": "https://go.dev/issue/65083"
+ },
+ {
+ "type": "FIX",
+ "url": "https://go.dev/cl/555596"
+ },
+ {
+ "type": "WEB",
+ "url": "https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg"
+ }
+ ],
+ "credits": [
+ {
+ "name": "Juho Nurminen of Mattermost"
+ },
+ {
+ "name": "Slonser (https://github.com/Slonser)"
+ }
+ ],
+ "database_specific": {
+ "url": "https://pkg.go.dev/vuln/GO-2024-2609"
+ }
+}
\ No newline at end of file
diff --git a/data/reports/GO-2024-2609.yaml b/data/reports/GO-2024-2609.yaml
new file mode 100644
index 0000000..49b2dc0
--- /dev/null
+++ b/data/reports/GO-2024-2609.yaml
@@ -0,0 +1,37 @@
+id: GO-2024-2609
+modules:
+ - module: std
+ versions:
+ - fixed: 1.21.8
+ - introduced: 1.22.0-0
+ fixed: 1.22.1
+ vulnerable_at: 1.22.0
+ packages:
+ - package: net/mail
+ symbols:
+ - addrParser.consumeGroupList
+ - addrParser.consumePhrase
+ - isAtext
+ derived_symbols:
+ - Address.String
+ - AddressParser.Parse
+ - AddressParser.ParseList
+ - Header.AddressList
+ - ParseAddress
+ - ParseAddressList
+summary: Comments in display names are incorrectly handled in net/mail
+description: |-
+ 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.
+credits:
+ - Juho Nurminen of Mattermost
+ - Slonser (https://github.com/Slonser)
+references:
+ - report: https://go.dev/issue/65083
+ - fix: https://go.dev/cl/555596
+ - web: https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg
+cve_metadata:
+ id: CVE-2024-24784
+ cwe: 'CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences'