All CVEs / Go standard library
CVE-2024-24784Go standard library net/mail
High 7.5 No auth needed
Follow: this CVE · Go standard library · Go standard library net/mail We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 69
- Auth required
- No
- Published
- Mar 5, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for net/mail.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | stdlib |
< 1.21.8 |
1.21.8 |
go get stdlib@v1.21.8 |
| Go | stdlib |
≥ 1.22.0-0 < 1.22.1 |
1.22.1 |
go get stdlib@v1.22.1 |
Per OSV / GitHub Advisories (GO-2024-2609). Check the version in your lockfile before upgrading.
Affected products
- Go standard library · net/mail
- go_standard_library · net\/mail
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Red Hat Security Advisory: OpenShift Container Platform 4.16.0 security update · Red Hat · RHSA-2024:0045 · Oct 2, 2024 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.