Improper Neutralization Affecting std/net/mail package, versions <1.21.8>=1.22.0-0 <1.22.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.5% (81st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-STDNETMAIL-14548677
  • published6 Jan 2026
  • disclosed5 Mar 2024
  • creditJuho Nurminen, Slonser

Introduced: 5 Mar 2024

CVE-2024-24784  (opens in a new tab)
CWE-150  (opens in a new tab)

How to fix?

Upgrade std/net/mail to version 1.21.8, 1.22.1 or higher.

Overview

std/net/mail is a Go standard library package std/net/mail

Affected versions of this package are vulnerable to Improper Neutralization.

Go Vulnerability Report:
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.

CVSS Base Scores

version 4.0
version 3.1