Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-51000— Nokogiri before 1.13.2 Multiple Vulnerabilities via libxml2 libxslt

Quick assessment

Affected
sparklemotion nokogiri
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

在 Nokogiri 1.13.2 之前的版本(CRuby,在使用打包库时)中,内置了 libxml2 2.9.12 和 libxslt 1.1.34,这两个库都受到两个上游漏洞的影响。 通过 libxslt 中的 CVE-2021-30560 漏洞,应用程序在处理使用不受信任的 XSL 样式表转换 XML 时,容易遭受拒绝服务攻击。 通过 libxml2 中的 CVE-2022-23308 漏洞,当应用程序解析不受信任的文档,并且设置了 为 true 且 为 false 的解析选项时,可能会遭受拒绝服务、内存泄露

CVSS 9.8 · Critical

Affected Version Matrix 2

VendorProduct Version RangeStatus
sparklemotion nokogiri < 1.13.2 affected
1.13.2 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-51000

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Nokogiri before 1.13.2 Multiple Vulnerabilities via libxml2 libxslt
Source: CVE Program / CVE List V5
Vulnerability Description
Nokogiri before 1.13.2 (CRuby, when using packaged libraries) ships vendored libxml2 2.9.12 and libxslt 1.1.34, which are affected by two upstream CVEs. Via CVE-2021-30560 in libxslt, an application transforming XML with untrusted XSL stylesheets is vulnerable to a denial-of-service attack. Via CVE-2022-23308 in libxml2, an application parsing an untrusted document with parse option DTDVALID set to true and NOENT set to false may be vulnerable to denial of service, memory disclosure, or code execution. Nokogiri 1.13.2 upgrades vendored libxml2 to 2.9.13 and libxslt to 1.1.35.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
释放后使用
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
sparklemotion nokogiri 0 ~ 1.13.2 -

II. Public POCs for CVE-2022-51000

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-51000

登录查看更多情报信息。

Patches & Fixes for CVE-2022-51000 (2)

Vendor Advisories for CVE-2022-51000 (2)

Same Patch Batch · sparklemotion · 2026-08-25 · 14 CVEs total

CVE-2024-58378 9.8 CRITICAL Nokogiri before 1.16.2 Use-After-Free via xmlTextReader
CVE-2025-71407 9.8 CRITICAL Nokogiri before 1.18.3 Stack Buffer Overflow and Use-After-Free
CVE-2022-50999 8.6 HIGH Nokogiri before 1.13.5 Integer Overflow via libxml2
CVE-2025-71406 7.8 HIGH Nokogiri before 1.18.4 Use-After-Free via libxslt
CVE-2023-54354 7.5 HIGH Nokogiri before 1.14.3 Null Pointer Dereference via libxml2
CVE-2026-79770 7.5 HIGH Nokogiri before 1.19.3 ReDoS via CSS selector tokenizer
CVE-2022-50998 7.5 HIGH Nokogiri before 1.13.9 Multiple Vulnerabilities via libxml2
CVE-2021-47996 7.5 HIGH Nokogiri before 1.11.4 Multiple Vulnerabilities via libxml2
CVE-2026-79769 5.5 MEDIUM Nokogiri before 1.19.4 Invalid Memory Read via initialize_copy_with_args
CVE-2026-79771 5.3 MEDIUM Nokogiri before 1.19.3 Memory Leak via XSLT Transform
CVE-2026-79772 5.3 MEDIUM Nokogiri before 1.19.1 Unchecked Return Value canonicalize
CVE-2025-71346 2.9 LOW Nokogiri before 1.18.8 Heap Buffer Under-read via XML Schema
CVE-2024-58377 Nokogiri before 1.16.5 libxml2 Dependency Update

IV. Related Vulnerabilities

V. Comments for CVE-2022-51000

No comments yet


Leave a comment