Vulnérabilités / CVE-2025-59937

critique

CVE-2025-59937

go-mail has insufficient address encoding when passing mail addresses to the SMTP client

Publiée Modifiée CWE 88
Dans la Trivy database depuis au moins le 24 oct. 2026, 07:11 UTCLa date d'entrée avant ce build n'est pas enregistrée.

Sévérité par source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
GHSA8.2CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Le label propre à Trivy est CRITICAL. Critique selon NVD. Plus basse selon GHSA (élevée).

Description

go-mail is a comprehensive library for sending mails with Go. In versions 0.7.0 and below, due to incorrect handling of the mail.Address values when a sender- or recipient address is passed to the corresponding MAIL FROM or RCPT TO commands of the SMTP client, there is a possibility of wrong address routing or even ESMTP parameter smuggling. For successful exploitation, it is required that the user's code allows for arbitrary mail address input (i. e. through a web form or similar). If only static mail addresses are used (i. e. in a config file) and the mail addresses in use do not consist of quoted local parts, this should not affect users. This issue is fixed in version 0.7.1

Paquets affectés et versions corrigées

SourcePaquetCorrigé en
chainguardgitea, gitea-fips, sftpgo1.24.6-r1 et 1 autres
go::GitHub Security Advisory Gogithub.com/wneessen/go-mail0.7.1
wolfigitea, sftpgo1.24.6-r1 et 1 autres
Afficher les 6 entrées de 3 sources
SourcePaquetCorrigé en
chainguardgitea1.24.6-r1
chainguardgitea-fips1.24.6-r1
chainguardsftpgo2.6.6-r9
go::GitHub Security Advisory Gogithub.com/wneessen/go-mail0.7.1
wolfigitea1.24.6-r1
wolfisftpgo2.6.6-r9

Références

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.