在 Nokogiri 1.15.6 之前以及 1.16.x 系列中早于 1.16.2 的版本(使用捆绑的 libxml2 的 CRuby 环境)受到 libxml2 中 xmlTextReader 模块的 Use-After-Free(释放后使用)漏洞影响(CVE-2024-25062),该模块是 Nokogiri::XML::Reader 的基础。当启用 DTD 验证并开启 XInclude 扩展的情况下,使用 XML 读取器接口处理特制的 XML 文档时,可能会引发 xmlValidatePopElement
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| sparklemotion | nokogiri | 1.16.0< 1.16.2 |
affected |
1.16.2 |
unaffected | ||
< 1.15.6 |
affected | ||
1.15.6 |
unaffected |
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.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| sparklemotion | nokogiri | 1.16.0 ~ 1.16.2 | - |
|
| sparklemotion | nokogiri | 0 ~ 1.15.6 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC| CVE-2022-51000 | 9.8 CRITICAL | Nokogiri before 1.13.2 Multiple Vulnerabilities via libxml2 libxslt |
| 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 |
No comments yet