GHSA-QC36-Q22Q-CJW3
SMTP command injection in lettre
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 0.9.6 | lettre · -51 d desde divulgación | |
| Divulgación | Publicada | GHSA-QC36-Q22Q-CJW3 divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
Impact
Affected versions of lettre allowed SMTP command injection through an attacker's controlled message body. The module for escaping lines starting with a period wouldn't catch a period that was placed after a double CRLF sequence, allowing the attacker to end the current message and write arbitrary SMTP commands after it.
Fix
The flaw is fixed by correctly handling consecutive CRLF sequences.
References
- RUSTSEC-2021-0069
https://rustsec.org/advisories/RUSTSEC-2021-0069.html
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
crates.iolettre |
Corregida | 0.9.6 | -51 d | 0.11.23 no afectada |
0.9.6Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/lettre/lettre/security/advisories/GHSA-qc36-q22q-cjw3https://github.com/lettre/lettre/pull/627/commits/93458d01fed0ec81c0e7b4e98e6f35961356fae2https://github.com/lettre/lettre/commit/8bfc20506cc5e098fe6eb3d1cafe3bea791215cehttps://github.com/lettre/lettrehttps://rustsec.org/advisories/RUSTSEC-2021-0069.htmlLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
