Vulnerabilidades / CVE-2025-59937

crítica

CVE-2025-59937

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

Publicada Modificada CWE 88
En la Trivy database desde, como mínimo, el 24 oct 2026, 07:11 UTCNo consta cuándo entró antes de ese build.

Severidad por fuente

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

La etiqueta propia de Trivy es CRITICAL. Crítica según NVD. Más baja según GHSA (alta).

Descripción

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

Paquetes afectados y versiones corregidas

FuentePaqueteCorregido en
chainguardgitea, gitea-fips, sftpgo1.24.6-r1 y 1 más
go::GitHub Security Advisory Gogithub.com/wneessen/go-mail0.7.1
wolfigitea, sftpgo1.24.6-r1 y 1 más
Mostrar las 6 entradas de 3 fuentes
FuentePaqueteCorregido 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

Referencias

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.