ADVISORIES

openEuler Security Advisory

OESA-2022-1636

nekohtml security update

Details

NekoHTML is a simple HTML scanner and tag balancer that enables application programmers to parse HTML documents and access the information using standard XML interfaces.

Security Fix(es): org.cyberneko.html is an html parser written in Java. The fork of org.cyberneko.html used by Nokogiri (Rubygem) raises a java.lang.OutOfMemoryError exception when parsing ill-formed HTML markup. Users are advised to upgrade to >= 1.9.22.noko2. Note: The upstream library org.cyberneko.html is no longer maintained. Nokogiri uses its own fork of this library located at https://github.com/sparklemotion/nekohtml and this CVE applies only to that fork. Other forks of nekohtml may have a similar vulnerability.(CVE-2022-24839)

Affected packages

EcosystemPackageAffected versions
openEuler:20.03-LTS-SP1nekohtml
All versions before 1.9.22-9.oe1 (fixed in 1.9.22-9.oe1)
openEuler:20.03-LTS-SP3nekohtml
All versions before 1.9.22-9.oe1 (fixed in 1.9.22-9.oe1)
openEuler:22.03-LTSnekohtml
All versions before 1.9.22-9.oe2203 (fixed in 1.9.22-9.oe2203)

References