What’s Vulnerable › Vulnerabilities

CVE-2024-24784: 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.

Affected products

How to fix

Upgrade to a fixed version: Go standard library Net/Mail 1.21.8, 1.22.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-24784 or the next vulnerability affects your stack