Denial of Service (DoS) in Nokogiri on JRuby
High severity
GitHub Reviewed
Published
Apr 11, 2022
in
sparklemotion/nokogiri
•
Updated Jan 11, 2023
Description
Published to the GitHub Advisory Database
Apr 11, 2022
Reviewed
Apr 11, 2022
Last updated
Jan 11, 2023
Summary
Nokogiri
v1.13.4
updates the vendoredorg.cyberneko.html
library to1.9.22.noko2
which addresses CVE-2022-24839. That CVE is rated 7.5 (High Severity).See 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 in nekohtml
org.cyberneko.html
used by Nokogiri (Rubygem) raises ajava.lang.OutOfMemoryError
exception when parsing ill-formed HTML markup.References