GO-2024-2609

Comments in display names are incorrectly handled in net/mail

At a glance

Published
Updated
CVE
CVE-2024-24784
Aliases
BIT-golang-2024-24784

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.

Affected packages

PackageVersions
Go · stdlibintroduced 0, fixed 1.21.8, introduced 1.22.0-0, fixed 1.22.1

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database