Security mailing lists by PureSourceCode

CVE-2022-24839

HIGH 7.5CVSS 3.1

org.nokogiri:nekohtml vulnerable to Uncontrolled Resource Consumption

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.

Published
11 Apr 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-400
Also known as
GHSA-9849-p7jc-9rmv
Sources
NVDJSONOSV GHSA-9849-p7jc-9rmvJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD nekohtml_project nekohtml
cpe:2.3:a:nekohtml_project:nekohtml:*:*:*:*:*:nokogiri:*:*
< 1.9.22.noko2 1.9.22.noko2
NVD oracle weblogic_server
cpe:2.3:a:oracle:weblogic_server:12.2.1.3.0:*:*:*:*:*:*:*
= 12.2.1.3.0
NVD oracle weblogic_server
cpe:2.3:a:oracle:weblogic_server:12.2.1.4.0:*:*:*:*:*:*:*
= 12.2.1.4.0
NVD oracle weblogic_server
cpe:2.3:a:oracle:weblogic_server:14.1.1.0.0:*:*:*:*:*:*:*
= 14.1.1.0.0
OSV Maven org.nokogiri:nekohtml < 1.9.22.noko2 1.9.22.noko2

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 11 Apr 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 22 Jun 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.