GO-2024-2609

Source
https://pkg.go.dev/vuln/GO-2024-2609
Import Source
https://vuln.go.dev/ID/GO-2024-2609.json
Aliases
Published
2024-03-05T22:15:04Z
Modified
2024-03-12T09:11:42.403666Z
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.

References

Affected packages

Go / stdlib

Package

Name
stdlib

Affected ranges

Type
SEMVER
Events
Introduced
0The exact introduced commit is unknown
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"
            ]
        }
    ]
}