Bug#1021739: nekohtml: CVE-2022-24839

Moritz Mühlenhoff jmm at inutil.org
Thu Oct 13 20:17:02 BST 2022


Source: nekohtml
X-Debbugs-CC: team at security.debian.org
Severity: grave
Tags: security

Hi,

The following vulnerability was published for nekohtml.

CVE-2022-24839[0]:
| 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.

https://github.com/sparklemotion/nekohtml/security/advisories/GHSA-9849-p7jc-9rmv
https://github.com/sparklemotion/nekohtml/commit/a800fce3b079def130ed42a408ff1d09f89e773d

If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2022-24839
    https://www.cve.org/CVERecord?id=CVE-2022-24839

Please adjust the affected versions in the BTS as needed.



More information about the pkg-java-maintainers mailing list