GHSA-HQ2V-5MVC-G686
Denial of service through unbounded punycode conversion of distinct non-ASCII URL hosts
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-HQ2V-5MVC-G686 divulgada · CVSS 6.9 (GitHub) | |
| Remediación | Parche 4.7.0 | eml-parser · 0 d desde divulgación | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
eml_parser 4.6.0 is vulnerable to a denial of service caused by inefficient algorithmic complexity. When it extracts URLs from the body of an e-mail, eml_parser converts non-ASCII host names to punycode with Python's standard library codec. That codec takes quadratic time in the number of distinct characters of a label. A remote attacker can send a message whose plain text body contains many URLs with long host labels of distinct non-ASCII characters. Parsing that message uses CPU time far out of proportion to its size: a 400 KB message takes several seconds, compared with milliseconds for ordinary mail. Repeated messages can exhaust the workers that process mail. The default `EmlParser()` options are affected. The issue is fixed in 4.7.0.
- Affected: eml_parser >= 4.6.0, < 4.7.0
- Fixed: 4.7.0
- CWE: CWE-407 Inefficient Algorithmic Complexity
- Credit: @jaksdy
Desglose de métricas
Versiones afectadas
4.6.0Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
pypieml-parser |
Corregida | 4.7.0 | 0 d | 4.7.0 no afectada |
4.7.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/GOVCERT-LU/eml_parser/security/advisories/GHSA-hq2v-5mvc-g686Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
