7.5High

CVE-2024-24784Comments in display names are incorrectly handled in net/mail

Go standard library net/mail; go_standard_library net\/mail Published: (2 years ago)

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.

Weakness (CWE): CWE-150

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Go standard library net/mail < 1.21.8, 1.22.0-0 – < 1.22.1

References and patches