ADVISORIES

Go Vulnerability Database

GO-2024-2609

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 packages

EcosystemPackageAffected versions
Gostdlib
All versions before 1.21.8 (fixed in 1.21.8)
From 1.22.0-0 before 1.22.1 (fixed in 1.22.1)

References