llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Go · github.com/phires/go-guerrilla

GHSA-3RJP-H4R9-4R6P

XCLIENT ADDR is accepted from any peer and written to RemoteIP unparsed, the unpatched sibling of CVE-2025-31135

Texto original en inglés · Ver en español

Parche disponible
Descargar PNG JSON
CVSS 3.1
5.3
Media
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -571 d de la divulgación
Exposición28 dDesde la divulgación, 24 oct 2026, 6:20 a. m.
Detección26 dDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir
Remediar en la ventana regular de mantenimiento
Estimación de Llama con el árbol SSVC de CISA a partir de vector CVSS 3.1 y la evidencia de explotación (sin evaluación oficial): sin explotación conocida, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Riesgo con buenos modales, atiéndela con calma.Bien priorizada, bien dormida.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Explotación
Remediación
Parche v1.6.7
Monitoreo
Detectada +1
1 abr 25
24 oct 26
19 nov 26
21 nov 26
1 abr 25
29 ago 25
26 ene 26
25 jun 26
21 nov 26
FechaFaseEventoDetalle
Remediación Parche v1.6.7 github.com/phires/go-guerrilla · -571 d desde divulgación
Divulgación Publicada GHSA-3RJP-H4R9-4R6P divulgada · CVSS 5.3 (GitHub)
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

With xclient_on enabled, go-guerrilla accepts XCLIENT from any peer, any number of times, at any point in the session, and writes ADDR into client.RemoteIP without parsing it. This is the same defect as CVE-2025-31135 on the PROXY command, in the other branch of the same switch, and that branch was never given the fix.

Running the daemon built from v1.6.7 with the shipped HeadersParser and Header chain, a client that sends no XCLIENT gets Received: from 127.0.0.1. Sending XCLIENT ADDR=203.0.113.9 HELO=evil.example.net is answered 250 2.1.0 OK and the delivered header becomes Received: from 203.0.113.9, with Helo set to evil.example.net, which also skips the rfc5321 HELO parser the real HELO command goes through. Three XCLIENTs in one session were each accepted, the last carrying the literal string not-an-ip-at-all, which landed verbatim in the delivery header. A fourth case sent after MAIL FROM and RCPT TO was accepted mid-transaction. With xclient_on left at its default the same line returns 554 5.5.1 Unrecognized command, so the config flag is the only gate.

The contrast with the patched sibling is the point. PROXY now runs in its own one-shot connection state, validates the address with netip.ParseAddr, checks the family and calls client.kill() on failure. XCLIENT does none of that. Postfix treats these as two separate requirements: XCLIENT_README says use of the command must be restricted to authorized clients, and smtpd_authorized_xclient_hosts defaults to empty so that no client may use it. go-guerrilla has no equivalent. I have not prototyped a patch so I am not proposing a specific config key, only the direction.

The consequence is a Received header attributing the message to an address the sender chose, the same forged address in the operator's logs and database, and, where the shipped SPF processor is in the chain, an access decision taken on attacker-controlled input.

One thing I did not re-run: the documented nginx --with-mail deployment, where nginx relays the client's own XCLIENT after entering proxy mode. I verified the daemon behaviour directly over a socket.

Would you request a CVE for this? The PROXY sibling received CVE-2025-31135 and reached OSV, while an earlier advisory of mine here received neither and is invisible to the scanners.

I used an AI assistant while investigating and preparing this report.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:L
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
10.0/ 10Muy alto
Vector 10.0 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
github.com/phires/go-guerrilla≤ 1.6.7-1
v1.6.7
1.6.7-1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
gogithub.com/phires/go-guerrilla
Corregida v1.6.7 -571 d v1.6.7 no afectada
Versiones corregidasv1.6.7
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://github.com/phires/go-guerrilla/security/advisories/GHSA-3rjp-h4r9-4r6p

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.