Advisory

GO-2024-2609

Also known as: BIT-golang-2024-24784, CVE-2024-24784

Summary

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.

Severity

Not rated by the source.

Dates

Published
2024-03-05 22:15 UTC
Modified
2026-02-04 04:37 UTC

Affected packages and fixes

stdlib

Go · All systems

Affected

  • introduced 0, fixed 1.21.8, introduced 1.22.0-0, fixed 1.22.1 (semver)

Fixed versions

1.21.8, 1.22.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences