GHSA-GX8X-G87M-H5Q6
Denial of Service (DoS) in Nokogiri on JRuby
Texto original en inglés · Ver en español
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-GX8X-G87M-H5Q6 divulgada | |
| Remediación | Parche 1.13.4 | nokogiri · 0 d desde divulgación | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
Summary
Nokogiri `v1.13.4` updates the vendored `org.cyberneko.html` library to `1.9.22.noko2` which addresses CVE-2022-24839 https://github.com/sparklemotion/nekohtml/security/advisories/GHSA-9849-p7jc-9rmv. That CVE is rated 7.5 (High Severity).
See GHSA-9849-p7jc-9rmv https://github.com/sparklemotion/nekohtml/security/advisories/GHSA-9849-p7jc-9rmv for more information.
Please note that this advisory only applies to the JRuby implementation of Nokogiri `< 1.13.4`.
Mitigation
Upgrade to Nokogiri `>= 1.13.4`.
Impact
CVE-2022-24839 https://github.com/sparklemotion/nekohtml/security/advisories/GHSA-9849-p7jc-9rmv in nekohtml
- Severity: High 7.5
- Type: CWE-400
https://cwe.mitre.org/data/definitions/400.htmlUncontrolled Resource Consumption - Description: The fork of `org.cyberneko.html` used by Nokogiri (Rubygem) raises a `java.lang.OutOfMemoryError` exception when parsing ill-formed HTML markup.
- See also: GHSA-9849-p7jc-9rmv
https://github.com/sparklemotion/nekohtml/security/advisories/GHSA-9849-p7jc-9rmv
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
rubygemsnokogiri |
Corregida | 1.13.4 | 0 d | 1.19.7 no afectada |
1.13.4Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://nvd.nist.gov/vuln/detail/CVE-2022-24839https://github.com/sparklemotion/nekohtml/security/advisories/GHSA-9849-p7jc-9rmvhttps://github.com/sparklemotion/nokogiri/security/advisories/GHSA-gx8x-g87m-h5q6https://github.com/sparklemotion/nekohtml/commit/a800fce3b079def130ed42a408ff1d09f89e773dhttps://github.com/sparklemotion/nokogirihttps://github.com/sparklemotion/nokogiri/releases/tag/v1.13.4https://groups.google.com/g/ruby-security-ann/c/vX7qSjsvWis/m/TJWN4oOKBwAJ?utm_medium=email&utm_source=footerLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
