| 0 |
| url |
VCID-365e-j8ta-h7cn |
| vulnerability_id |
VCID-365e-j8ta-h7cn |
| summary |
Nokogiri update packaged libxml2 to v2.12.5 to resolve CVE-2024-25062
## Summary
Nokogiri upgrades its dependency libxml2 as follows:
- Nokogiri v1.15.6 upgrades libxml2 to [2.11.7](https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.11.7) from 2.11.6
- Nokogiri v1.16.2 upgrades libxml2 to [2.12.5](https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.12.5) from 2.12.4
libxml2 v2.11.7 and v2.12.5 address the following vulnerability:
- CVE-2024-25062 / https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-25062
- described at https://gitlab.gnome.org/GNOME/libxml2/-/issues/604
- patched by https://gitlab.gnome.org/GNOME/libxml2/-/commit/92721970
Please note that this advisory only applies to the CRuby implementation of Nokogiri, and only if the _packaged_ libraries are being used. If you've overridden defaults at installation time to use _system_ libraries instead of packaged libraries, you should instead pay attention to your distro's `libxml2` release announcements.
JRuby users are not affected.
## Mitigation
Upgrade to Nokogiri `~> 1.15.6` or `>= 1.16.2`.
Users who are unable to upgrade Nokogiri may also choose a more complicated mitigation: compile
and link Nokogiri against patched external libxml2 libraries which will also address these same
issues.
## Impact
From the CVE description, this issue applies to the `xmlTextReader` module (which underlies `Nokogiri::XML::Reader`):
> When using the XML Reader interface with DTD validation and XInclude expansion enabled, processing crafted XML documents can lead to an xmlValidatePopElement use-after-free.
## Timeline
- 2024-02-04 10:35 EST - this GHSA is drafted without complete details about when the upstream issue was introduced; a request is made of libxml2 maintainers for more detailed information
- 2024-02-04 10:48 EST - updated GHSA to reflect libxml2 maintainers' confirmation of affected versions
- 2024-02-04 11:54 EST - v1.16.2 published, this GHSA made public
- 2024-02-05 10:18 EST - updated with MITRE link to the CVE information, and updated "Impact" section
- 2024-03-16 09:03 EDT - v1.15.6 published (see discussion at https://github.com/sparklemotion/nokogiri/discussions/3146), updated mitigation information
- 2024-03-18 22:12 EDT - update "affected products" range with v1.15.6 information |
| references |
|
| fixed_packages |
|
| aliases |
GHSA-xc9x-jj77-9p9j, GMS-2024-127
|
| risk_score |
3.1 |
| exploitability |
0.5 |
| weighted_severity |
6.2 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-365e-j8ta-h7cn |
|
| 1 |
| url |
VCID-43qu-922g-myca |
| vulnerability_id |
VCID-43qu-922g-myca |
| summary |
Update bundled libxml2 to v2.10.3 to resolve multiple CVEs
### Summary
Nokogiri v1.13.9 upgrades the packaged version of its dependency libxml2 to [v2.10.3](https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.10.3) from v2.9.14.
libxml2 v2.10.3 addresses the following known vulnerabilities:
- [CVE-2022-2309](https://nvd.nist.gov/vuln/detail/CVE-2022-2309)
- [CVE-2022-40304](https://nvd.nist.gov/vuln/detail/CVE-2022-40304)
- [CVE-2022-40303](https://nvd.nist.gov/vuln/detail/CVE-2022-40303)
Please note that this advisory only applies to the CRuby implementation of Nokogiri `< 1.13.9`, and only if the _packaged_ libraries are being used. If you've overridden defaults at installation time to use _system_ libraries instead of packaged libraries, you should instead pay attention to your distro's `libxml2` release announcements.
### Mitigation
Upgrade to Nokogiri `>= 1.13.9`.
Users who are unable to upgrade Nokogiri may also choose a more complicated mitigation: compile and link Nokogiri against external libraries libxml2 `>= 2.10.3` which will also address these same issues.
### Impact
#### libxml2 [CVE-2022-2309](https://nvd.nist.gov/vuln/detail/CVE-2022-2309)
- **CVSS3 score**: Under evaluation
- **Type**: Denial of service
- **Description**: NULL Pointer Dereference allows attackers to cause a denial of service (or application crash). This only applies when lxml is used together with libxml2 2.9.10 through 2.9.14. libxml2 2.9.9 and earlier are not affected. It allows triggering crashes through forged input data, given a vulnerable code sequence in the application. The vulnerability is caused by the iterwalk function (also used by the canonicalize function). Such code shouldn't be in wide-spread use, given that parsing + iterwalk would usually be replaced with the more efficient iterparse function. However, an XML converter that serialises to C14N would also be vulnerable, for example, and there are legitimate use cases for this code sequence. If untrusted input is received (also remotely) and processed via iterwalk function, a crash can be triggered.
Nokogiri maintainers investigated at #2620 and determined this CVE does not affect Nokogiri users.
#### libxml2 [CVE-2022-40304](https://nvd.nist.gov/vuln/detail/CVE-2022-40304)
- **CVSS3 score**: Unspecified upstream
- **Type**: Data corruption, denial of service
- **Description**: When an entity reference cycle is detected, the entity content is cleared by setting its first byte to zero. But the entity content might be allocated from a dict. In this case, the dict entry becomes corrupted leading to all kinds of logic errors, including memory errors like double-frees.
See https://gitlab.gnome.org/GNOME/libxml2/-/commit/644a89e080bced793295f61f18aac8cfad6bece2
#### libxml2 [CVE-2022-40303](https://nvd.nist.gov/vuln/detail/CVE-2022-40303)
- **CVSS3 score**: Unspecified upstream
- **Type**: Integer overflow
- **Description**: Integer overflows with XML_PARSE_HUGE
See https://gitlab.gnome.org/GNOME/libxml2/-/commit/c846986356fc149915a74972bf198abc266bc2c0
### References
- [libxml2 release notes](https://gitlab.gnome.org/GNOME/libxml2/-/releases)
- [CVE-2022-2309](https://nvd.nist.gov/vuln/detail/CVE-2022-2309)
- [CVE-2022-40304](https://nvd.nist.gov/vuln/detail/CVE-2022-40304)
- [CVE-2022-40303](https://nvd.nist.gov/vuln/detail/CVE-2022-40303) |
| references |
|
| fixed_packages |
| 0 |
| url |
pkg:gem/nokogiri@1.13.9 |
| purl |
pkg:gem/nokogiri@1.13.9 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-365e-j8ta-h7cn |
|
| 1 |
| vulnerability |
VCID-6r5w-pgkx-v3cb |
|
| 2 |
| vulnerability |
VCID-c6hb-sbhx-zqac |
|
| 3 |
| vulnerability |
VCID-eru7-uy2t-d3ef |
|
| 4 |
| vulnerability |
VCID-ghbk-uumc-dug3 |
|
| 5 |
| vulnerability |
VCID-hzjv-gf8n-jka2 |
|
| 6 |
| vulnerability |
VCID-jfh3-1sgm-7ug2 |
|
| 7 |
| vulnerability |
VCID-q732-nexj-1ue6 |
|
| 8 |
| vulnerability |
VCID-uf9q-1ds5-wbev |
|
| 9 |
| vulnerability |
VCID-w8jf-tsmr-g7cd |
|
| 10 |
| vulnerability |
VCID-y5vb-sn4p-eqd9 |
|
| 11 |
| vulnerability |
VCID-yeku-1zjh-kbea |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.13.9 |
|
|
| aliases |
GHSA-2qc6-mcvw-92cw, GMS-2022-5550
|
| risk_score |
3.1 |
| exploitability |
0.5 |
| weighted_severity |
6.2 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-43qu-922g-myca |
|
| 2 |
| url |
VCID-6r5w-pgkx-v3cb |
| vulnerability_id |
VCID-6r5w-pgkx-v3cb |
| summary |
Nokogiri patches vendored libxml2 to resolve multiple CVEs
## Summary
Nokogiri v1.18.9 patches the vendored libxml2 to address CVE-2025-6021, CVE-2025-6170, CVE-2025-49794, CVE-2025-49795, and CVE-2025-49796.
## Impact and severity
### CVE-2025-6021
A flaw was found in libxml2's xmlBuildQName function, where integer overflows in buffer size calculations can lead to a stack-based buffer overflow. This issue can result in memory corruption or a denial of service when processing crafted input.
NVD claims a severity of 7.5 High (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
Fixed by applying https://gitlab.gnome.org/GNOME/libxml2/-/commit/17d950ae
### CVE-2025-6170
A flaw was found in the interactive shell of the xmllint command-line tool, used for parsing XML files. When a user inputs an overly long command, the program does not check the input size properly, which can cause it to crash. This issue might allow attackers to run harmful code in rare configurations without modern protections.
NVD claims a severity of 2.5 Low (CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L)
Fixed by applying https://gitlab.gnome.org/GNOME/libxml2/-/commit/5e9ec5c1
### CVE-2025-49794
A use-after-free vulnerability was found in libxml2. This issue occurs when parsing XPath elements under certain circumstances when the XML schematron has the <sch:name path="..."/> schema elements. This flaw allows a malicious actor to craft a malicious XML document used as input for libxml, resulting in the program's crash using libxml or other possible undefined behaviors.
NVD claims a severity of 9.1 Critical (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H)
Fixed by applying https://gitlab.gnome.org/GNOME/libxml2/-/commit/81cef8c5
### CVE-2025-49795
A NULL pointer dereference vulnerability was found in libxml2 when processing XPath XML expressions. This flaw allows an attacker to craft a malicious XML input to libxml2, leading to a denial of service.
NVD claims a severity of 7.5 High (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
Fixed by applying https://gitlab.gnome.org/GNOME/libxml2/-/commit/62048278
### CVE-2025-49796
A vulnerability was found in libxml2. Processing certain sch:name elements from the input XML file can trigger a memory corruption issue. This flaw allows an attacker to craft a malicious XML input file that can lead libxml to crash, resulting in a denial of service or other possible undefined behavior due to sensitive data being corrupted in memory.
NVD claims a severity of 9.1 Critical (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H)
Fixed by applying https://gitlab.gnome.org/GNOME/libxml2/-/commit/81cef8c5
## Affected Versions
- Nokogiri < 1.18.9 when using CRuby (MRI) with vendored libxml2
## Patched Versions
- Nokogiri >= 1.18.9
## Mitigation
Upgrade to Nokogiri v1.18.9 or later.
Users who are unable to upgrade Nokogiri may also choose a more complicated mitigation: compile and link Nokogiri against patched external libxml2 libraries which will also address these same issues.
## References
- https://github.com/sparklemotion/nokogiri/pull/3526
- https://nvd.nist.gov/vuln/detail/CVE-2025-6021
- https://nvd.nist.gov/vuln/detail/CVE-2025-6170
- https://nvd.nist.gov/vuln/detail/CVE-2025-49794
- https://nvd.nist.gov/vuln/detail/CVE-2025-49795
- https://nvd.nist.gov/vuln/detail/CVE-2025-49796 |
| references |
|
| fixed_packages |
|
| aliases |
GHSA-353f-x4gh-cqq8
|
| risk_score |
4.5 |
| exploitability |
0.5 |
| weighted_severity |
9.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-6r5w-pgkx-v3cb |
|
| 3 |
| url |
VCID-7bpp-2hvk-2udv |
| vulnerability_id |
VCID-7bpp-2hvk-2udv |
| summary |
Multiple vulnerabilities have been found in libxml2, the worst of
which could result in a Denial of Service condition. |
| references |
| 0 |
|
| 1 |
|
| 2 |
|
| 3 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2020-24977 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.00502 |
| scoring_system |
epss |
| scoring_elements |
0.66024 |
| published_at |
2026-04-13T12:55:00Z |
|
| 1 |
| value |
0.00502 |
| scoring_system |
epss |
| scoring_elements |
0.65987 |
| published_at |
2026-04-07T12:55:00Z |
|
| 2 |
| value |
0.00502 |
| scoring_system |
epss |
| scoring_elements |
0.66036 |
| published_at |
2026-04-08T12:55:00Z |
|
| 3 |
| value |
0.00502 |
| scoring_system |
epss |
| scoring_elements |
0.66048 |
| published_at |
2026-04-09T12:55:00Z |
|
| 4 |
| value |
0.00502 |
| scoring_system |
epss |
| scoring_elements |
0.66067 |
| published_at |
2026-04-11T12:55:00Z |
|
| 5 |
| value |
0.00502 |
| scoring_system |
epss |
| scoring_elements |
0.66054 |
| published_at |
2026-04-12T12:55:00Z |
|
| 6 |
| value |
0.00516 |
| scoring_system |
epss |
| scoring_elements |
0.66619 |
| published_at |
2026-04-02T12:55:00Z |
|
| 7 |
| value |
0.00516 |
| scoring_system |
epss |
| scoring_elements |
0.66645 |
| published_at |
2026-04-04T12:55:00Z |
|
| 8 |
| value |
0.00516 |
| scoring_system |
epss |
| scoring_elements |
0.6658 |
| published_at |
2026-04-01T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2020-24977 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
|
| fixed_packages |
| 0 |
| url |
pkg:gem/nokogiri@1.11.4 |
| purl |
pkg:gem/nokogiri@1.11.4 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-365e-j8ta-h7cn |
|
| 1 |
| vulnerability |
VCID-43qu-922g-myca |
|
| 2 |
| vulnerability |
VCID-6r5w-pgkx-v3cb |
|
| 3 |
| vulnerability |
VCID-8geh-vfns-pfgs |
|
| 4 |
| vulnerability |
VCID-9wgc-swf9-z7hq |
|
| 5 |
| vulnerability |
VCID-c6hb-sbhx-zqac |
|
| 6 |
| vulnerability |
VCID-cbm2-cez4-bqgh |
|
| 7 |
| vulnerability |
VCID-eb6k-ppfd-m7a3 |
|
| 8 |
| vulnerability |
VCID-ghbk-uumc-dug3 |
|
| 9 |
| vulnerability |
VCID-gsar-pymk-43hs |
|
| 10 |
| vulnerability |
VCID-hzjv-gf8n-jka2 |
|
| 11 |
| vulnerability |
VCID-jfh3-1sgm-7ug2 |
|
| 12 |
| vulnerability |
VCID-jqdg-ebz9-t3e9 |
|
| 13 |
| vulnerability |
VCID-m7km-hbm9-23h4 |
|
| 14 |
| vulnerability |
VCID-nq12-ryyt-c7g9 |
|
| 15 |
| vulnerability |
VCID-q732-nexj-1ue6 |
|
| 16 |
| vulnerability |
VCID-snr1-kaug-43aa |
|
| 17 |
| vulnerability |
VCID-u8gx-xbj9-97c7 |
|
| 18 |
| vulnerability |
VCID-udew-3gre-13hy |
|
| 19 |
| vulnerability |
VCID-uf9q-1ds5-wbev |
|
| 20 |
| vulnerability |
VCID-w8jf-tsmr-g7cd |
|
| 21 |
| vulnerability |
VCID-xd6j-x83x-r3gn |
|
| 22 |
| vulnerability |
VCID-y5vb-sn4p-eqd9 |
|
| 23 |
| vulnerability |
VCID-yeku-1zjh-kbea |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.11.4 |
|
|
| aliases |
CVE-2020-24977
|
| risk_score |
3.1 |
| exploitability |
0.5 |
| weighted_severity |
6.2 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-7bpp-2hvk-2udv |
|
| 4 |
| url |
VCID-8geh-vfns-pfgs |
| vulnerability_id |
VCID-8geh-vfns-pfgs |
| summary |
Improper Restriction of XML External Entity Reference
Nokogiri is a Rubygem providing HTML, XML, SAX, and Reader parsers with XPath and CSS selector support. In Nokogiri v1.12.4, on JRuby only, the SAX parser resolves external entities by default. Users of Nokogiri on JRuby who parse untrusted documents using any of these classes are affected: Nokogiri::XML::SAX::Parse, Nokogiri::HTML4::SAX::Parser or its alias Nokogiri::HTML::SAX::Parser, Nokogiri::XML::SAX::PushParser, and Nokogiri::HTML4::SAX::PushParser or its alias Nokogiri::HTML::SAX::PushParser. JRuby users should upgrade to Nokogiri. |
| references |
| 0 |
|
| 1 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2021-41098 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.00564 |
| scoring_system |
epss |
| scoring_elements |
0.68411 |
| published_at |
2026-04-13T12:55:00Z |
|
| 1 |
| value |
0.00564 |
| scoring_system |
epss |
| scoring_elements |
0.68444 |
| published_at |
2026-04-12T12:55:00Z |
|
| 2 |
| value |
0.00564 |
| scoring_system |
epss |
| scoring_elements |
0.68456 |
| published_at |
2026-04-11T12:55:00Z |
|
| 3 |
| value |
0.00564 |
| scoring_system |
epss |
| scoring_elements |
0.6843 |
| published_at |
2026-04-09T12:55:00Z |
|
| 4 |
| value |
0.00564 |
| scoring_system |
epss |
| scoring_elements |
0.68413 |
| published_at |
2026-04-08T12:55:00Z |
|
| 5 |
| value |
0.00564 |
| scoring_system |
epss |
| scoring_elements |
0.68362 |
| published_at |
2026-04-07T12:55:00Z |
|
| 6 |
| value |
0.00565 |
| scoring_system |
epss |
| scoring_elements |
0.68359 |
| published_at |
2026-04-01T12:55:00Z |
|
| 7 |
| value |
0.00565 |
| scoring_system |
epss |
| scoring_elements |
0.68379 |
| published_at |
2026-04-02T12:55:00Z |
|
| 8 |
| value |
0.00565 |
| scoring_system |
epss |
| scoring_elements |
0.68398 |
| published_at |
2026-04-04T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2021-41098 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
|
| fixed_packages |
| 0 |
| url |
pkg:gem/nokogiri@1.12.5 |
| purl |
pkg:gem/nokogiri@1.12.5 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-365e-j8ta-h7cn |
|
| 1 |
| vulnerability |
VCID-43qu-922g-myca |
|
| 2 |
| vulnerability |
VCID-6r5w-pgkx-v3cb |
|
| 3 |
| vulnerability |
VCID-9wgc-swf9-z7hq |
|
| 4 |
| vulnerability |
VCID-c6hb-sbhx-zqac |
|
| 5 |
| vulnerability |
VCID-cbm2-cez4-bqgh |
|
| 6 |
| vulnerability |
VCID-eb6k-ppfd-m7a3 |
|
| 7 |
| vulnerability |
VCID-ghbk-uumc-dug3 |
|
| 8 |
| vulnerability |
VCID-gsar-pymk-43hs |
|
| 9 |
| vulnerability |
VCID-hzjv-gf8n-jka2 |
|
| 10 |
| vulnerability |
VCID-jfh3-1sgm-7ug2 |
|
| 11 |
| vulnerability |
VCID-jqdg-ebz9-t3e9 |
|
| 12 |
| vulnerability |
VCID-m7km-hbm9-23h4 |
|
| 13 |
| vulnerability |
VCID-nq12-ryyt-c7g9 |
|
| 14 |
| vulnerability |
VCID-q732-nexj-1ue6 |
|
| 15 |
| vulnerability |
VCID-snr1-kaug-43aa |
|
| 16 |
| vulnerability |
VCID-u8gx-xbj9-97c7 |
|
| 17 |
| vulnerability |
VCID-udew-3gre-13hy |
|
| 18 |
| vulnerability |
VCID-uf9q-1ds5-wbev |
|
| 19 |
| vulnerability |
VCID-w8jf-tsmr-g7cd |
|
| 20 |
| vulnerability |
VCID-xd6j-x83x-r3gn |
|
| 21 |
| vulnerability |
VCID-y5vb-sn4p-eqd9 |
|
| 22 |
| vulnerability |
VCID-yeku-1zjh-kbea |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.12.5 |
|
|
| aliases |
CVE-2021-41098, GHSA-2rr5-8q37-2w7h
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-8geh-vfns-pfgs |
|
| 5 |
| url |
VCID-9hqf-12yh-bkc8 |
| vulnerability_id |
VCID-9hqf-12yh-bkc8 |
| summary |
Multiple vulnerabilities have been found in libxml2, the worst of
which could result in a Denial of Service condition. |
| references |
| 0 |
|
| 1 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2021-3518 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.0025 |
| scoring_system |
epss |
| scoring_elements |
0.48398 |
| published_at |
2026-04-13T12:55:00Z |
|
| 1 |
| value |
0.0025 |
| scoring_system |
epss |
| scoring_elements |
0.48386 |
| published_at |
2026-04-12T12:55:00Z |
|
| 2 |
| value |
0.0025 |
| scoring_system |
epss |
| scoring_elements |
0.48412 |
| published_at |
2026-04-11T12:55:00Z |
|
| 3 |
| value |
0.0025 |
| scoring_system |
epss |
| scoring_elements |
0.48388 |
| published_at |
2026-04-09T12:55:00Z |
|
| 4 |
| value |
0.0025 |
| scoring_system |
epss |
| scoring_elements |
0.48394 |
| published_at |
2026-04-08T12:55:00Z |
|
| 5 |
| value |
0.0025 |
| scoring_system |
epss |
| scoring_elements |
0.48339 |
| published_at |
2026-04-07T12:55:00Z |
|
| 6 |
| value |
0.00257 |
| scoring_system |
epss |
| scoring_elements |
0.49056 |
| published_at |
2026-04-01T12:55:00Z |
|
| 7 |
| value |
0.00257 |
| scoring_system |
epss |
| scoring_elements |
0.49118 |
| published_at |
2026-04-04T12:55:00Z |
|
| 8 |
| value |
0.00257 |
| scoring_system |
epss |
| scoring_elements |
0.4909 |
| published_at |
2026-04-02T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2021-3518 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
|
| fixed_packages |
| 0 |
| url |
pkg:gem/nokogiri@1.11.4 |
| purl |
pkg:gem/nokogiri@1.11.4 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-365e-j8ta-h7cn |
|
| 1 |
| vulnerability |
VCID-43qu-922g-myca |
|
| 2 |
| vulnerability |
VCID-6r5w-pgkx-v3cb |
|
| 3 |
| vulnerability |
VCID-8geh-vfns-pfgs |
|
| 4 |
| vulnerability |
VCID-9wgc-swf9-z7hq |
|
| 5 |
| vulnerability |
VCID-c6hb-sbhx-zqac |
|
| 6 |
| vulnerability |
VCID-cbm2-cez4-bqgh |
|
| 7 |
| vulnerability |
VCID-eb6k-ppfd-m7a3 |
|
| 8 |
| vulnerability |
VCID-ghbk-uumc-dug3 |
|
| 9 |
| vulnerability |
VCID-gsar-pymk-43hs |
|
| 10 |
| vulnerability |
VCID-hzjv-gf8n-jka2 |
|
| 11 |
| vulnerability |
VCID-jfh3-1sgm-7ug2 |
|
| 12 |
| vulnerability |
VCID-jqdg-ebz9-t3e9 |
|
| 13 |
| vulnerability |
VCID-m7km-hbm9-23h4 |
|
| 14 |
| vulnerability |
VCID-nq12-ryyt-c7g9 |
|
| 15 |
| vulnerability |
VCID-q732-nexj-1ue6 |
|
| 16 |
| vulnerability |
VCID-snr1-kaug-43aa |
|
| 17 |
| vulnerability |
VCID-u8gx-xbj9-97c7 |
|
| 18 |
| vulnerability |
VCID-udew-3gre-13hy |
|
| 19 |
| vulnerability |
VCID-uf9q-1ds5-wbev |
|
| 20 |
| vulnerability |
VCID-w8jf-tsmr-g7cd |
|
| 21 |
| vulnerability |
VCID-xd6j-x83x-r3gn |
|
| 22 |
| vulnerability |
VCID-y5vb-sn4p-eqd9 |
|
| 23 |
| vulnerability |
VCID-yeku-1zjh-kbea |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.11.4 |
|
|
| aliases |
CVE-2021-3518, GHSA-v4f8-2847-rwm7
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-9hqf-12yh-bkc8 |
|
| 6 |
| url |
VCID-9wgc-swf9-z7hq |
| vulnerability_id |
VCID-9wgc-swf9-z7hq |
| summary |
Inefficient Regular Expression Complexity
Nokogiri is an open source XML and HTML library for Ruby. Nokogiri `< v1.13.4` contains an inefficient regular expression that is susceptible to excessive backtracking when attempting to detect encoding in HTML documents. Users are advised to upgrade to Nokogiri `>= 1.13.4`. There are no known workarounds for this issue. |
| references |
| 0 |
|
| 1 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2022-24836 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.0134 |
| scoring_system |
epss |
| scoring_elements |
0.8001 |
| published_at |
2026-04-13T12:55:00Z |
|
| 1 |
| value |
0.0134 |
| scoring_system |
epss |
| scoring_elements |
0.80018 |
| published_at |
2026-04-12T12:55:00Z |
|
| 2 |
| value |
0.0134 |
| scoring_system |
epss |
| scoring_elements |
0.80035 |
| published_at |
2026-04-11T12:55:00Z |
|
| 3 |
| value |
0.0134 |
| scoring_system |
epss |
| scoring_elements |
0.80015 |
| published_at |
2026-04-09T12:55:00Z |
|
| 4 |
| value |
0.0134 |
| scoring_system |
epss |
| scoring_elements |
0.79978 |
| published_at |
2026-04-07T12:55:00Z |
|
| 5 |
| value |
0.0134 |
| scoring_system |
epss |
| scoring_elements |
0.80006 |
| published_at |
2026-04-08T12:55:00Z |
|
| 6 |
| value |
0.01377 |
| scoring_system |
epss |
| scoring_elements |
0.80208 |
| published_at |
2026-04-02T12:55:00Z |
|
| 7 |
| value |
0.01377 |
| scoring_system |
epss |
| scoring_elements |
0.80228 |
| published_at |
2026-04-04T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2022-24836 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
|
| fixed_packages |
| 0 |
| url |
pkg:gem/nokogiri@1.13.4 |
| purl |
pkg:gem/nokogiri@1.13.4 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-365e-j8ta-h7cn |
|
| 1 |
| vulnerability |
VCID-43qu-922g-myca |
|
| 2 |
| vulnerability |
VCID-6r5w-pgkx-v3cb |
|
| 3 |
| vulnerability |
VCID-c6hb-sbhx-zqac |
|
| 4 |
| vulnerability |
VCID-eb6k-ppfd-m7a3 |
|
| 5 |
| vulnerability |
VCID-ghbk-uumc-dug3 |
|
| 6 |
| vulnerability |
VCID-hzjv-gf8n-jka2 |
|
| 7 |
| vulnerability |
VCID-jfh3-1sgm-7ug2 |
|
| 8 |
| vulnerability |
VCID-m7km-hbm9-23h4 |
|
| 9 |
| vulnerability |
VCID-q732-nexj-1ue6 |
|
| 10 |
| vulnerability |
VCID-snr1-kaug-43aa |
|
| 11 |
| vulnerability |
VCID-udew-3gre-13hy |
|
| 12 |
| vulnerability |
VCID-uf9q-1ds5-wbev |
|
| 13 |
| vulnerability |
VCID-w8jf-tsmr-g7cd |
|
| 14 |
| vulnerability |
VCID-y5vb-sn4p-eqd9 |
|
| 15 |
| vulnerability |
VCID-yeku-1zjh-kbea |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.13.4 |
|
|
| aliases |
CVE-2022-24836, GHSA-crjr-9rc5-ghw8
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-9wgc-swf9-z7hq |
|
| 7 |
| url |
VCID-c6hb-sbhx-zqac |
| vulnerability_id |
VCID-c6hb-sbhx-zqac |
| summary |
Duplicate Advisory: Nokogiri updates packaged libxml2 to v2.12.7 to resolve CVE-2024-34459
## Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-r95h-9x8f-r3f7. This link is maintained to preserve external references.
## Original Description
## Summary
Nokogiri v1.16.5 upgrades its dependency libxml2 to
[2.12.7](https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.12.7) from 2.12.6.
libxml2 v2.12.7 addresses CVE-2024-34459:
- described at https://gitlab.gnome.org/GNOME/libxml2/-/issues/720
- patched by https://gitlab.gnome.org/GNOME/libxml2/-/commit/2876ac53
## Impact
There is no impact to Nokogiri users because the issue is present only
in libxml2's `xmllint` tool which Nokogiri does not provide or expose.
## Timeline
- 2024-05-13 05:57 EDT, libxml2 2.12.7 release is announced
- 2024-05-13 08:30 EDT, nokogiri maintainers begin triage
- 2024-05-13 10:05 EDT, nokogiri [v1.16.5 is released](https://github.com/sparklemotion/nokogiri/releases/tag/v1.16.5)
and this GHSA made public |
| references |
|
| fixed_packages |
|
| aliases |
GHSA-r3w4-36x6-7r99
|
| risk_score |
1.4 |
| exploitability |
0.5 |
| weighted_severity |
2.7 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-c6hb-sbhx-zqac |
|
| 8 |
| url |
VCID-cbm2-cez4-bqgh |
| vulnerability_id |
VCID-cbm2-cez4-bqgh |
| summary |
Use After Free
`valid.c` in libxml2 before 2.9.13 has a use-after-free of `ID` and `IDREF` attributes. |
| references |
| 0 |
|
| 1 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2022-23308 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.0005 |
| scoring_system |
epss |
| scoring_elements |
0.15524 |
| published_at |
2026-04-13T12:55:00Z |
|
| 1 |
| value |
0.0005 |
| scoring_system |
epss |
| scoring_elements |
0.15601 |
| published_at |
2026-04-08T12:55:00Z |
|
| 2 |
| value |
0.0005 |
| scoring_system |
epss |
| scoring_elements |
0.15656 |
| published_at |
2026-04-09T12:55:00Z |
|
| 3 |
| value |
0.0005 |
| scoring_system |
epss |
| scoring_elements |
0.15623 |
| published_at |
2026-04-11T12:55:00Z |
|
| 4 |
| value |
0.0005 |
| scoring_system |
epss |
| scoring_elements |
0.15588 |
| published_at |
2026-04-12T12:55:00Z |
|
| 5 |
| value |
0.0005 |
| scoring_system |
epss |
| scoring_elements |
0.15515 |
| published_at |
2026-04-07T12:55:00Z |
|
| 6 |
| value |
0.00052 |
| scoring_system |
epss |
| scoring_elements |
0.16267 |
| published_at |
2026-04-02T12:55:00Z |
|
| 7 |
| value |
0.00052 |
| scoring_system |
epss |
| scoring_elements |
0.16327 |
| published_at |
2026-04-04T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2022-23308 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
|
| fixed_packages |
| 0 |
| url |
pkg:gem/nokogiri@1.13.2 |
| purl |
pkg:gem/nokogiri@1.13.2 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-365e-j8ta-h7cn |
|
| 1 |
| vulnerability |
VCID-43qu-922g-myca |
|
| 2 |
| vulnerability |
VCID-6r5w-pgkx-v3cb |
|
| 3 |
| vulnerability |
VCID-9wgc-swf9-z7hq |
|
| 4 |
| vulnerability |
VCID-c6hb-sbhx-zqac |
|
| 5 |
| vulnerability |
VCID-eb6k-ppfd-m7a3 |
|
| 6 |
| vulnerability |
VCID-ghbk-uumc-dug3 |
|
| 7 |
| vulnerability |
VCID-gsar-pymk-43hs |
|
| 8 |
| vulnerability |
VCID-hzjv-gf8n-jka2 |
|
| 9 |
| vulnerability |
VCID-jfh3-1sgm-7ug2 |
|
| 10 |
| vulnerability |
VCID-jqdg-ebz9-t3e9 |
|
| 11 |
| vulnerability |
VCID-m7km-hbm9-23h4 |
|
| 12 |
| vulnerability |
VCID-q732-nexj-1ue6 |
|
| 13 |
| vulnerability |
VCID-snr1-kaug-43aa |
|
| 14 |
| vulnerability |
VCID-u8gx-xbj9-97c7 |
|
| 15 |
| vulnerability |
VCID-udew-3gre-13hy |
|
| 16 |
| vulnerability |
VCID-uf9q-1ds5-wbev |
|
| 17 |
| vulnerability |
VCID-w8jf-tsmr-g7cd |
|
| 18 |
| vulnerability |
VCID-xd6j-x83x-r3gn |
|
| 19 |
| vulnerability |
VCID-y5vb-sn4p-eqd9 |
|
| 20 |
| vulnerability |
VCID-yeku-1zjh-kbea |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.13.2 |
|
|
| aliases |
CVE-2022-23308
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-cbm2-cez4-bqgh |
|
| 9 |
| url |
VCID-eb6k-ppfd-m7a3 |
| vulnerability_id |
VCID-eb6k-ppfd-m7a3 |
| summary |
Multiple vulnerabilities have been found in libxml2, the worst of which could result in arbitrary code execution. |
| references |
| 0 |
|
| 1 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2022-40304 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.00161 |
| scoring_system |
epss |
| scoring_elements |
0.37101 |
| published_at |
2026-04-02T12:55:00Z |
|
| 1 |
| value |
0.00219 |
| scoring_system |
epss |
| scoring_elements |
0.4453 |
| published_at |
2026-04-13T12:55:00Z |
|
| 2 |
| value |
0.00219 |
| scoring_system |
epss |
| scoring_elements |
0.44548 |
| published_at |
2026-04-04T12:55:00Z |
|
| 3 |
| value |
0.00219 |
| scoring_system |
epss |
| scoring_elements |
0.44487 |
| published_at |
2026-04-07T12:55:00Z |
|
| 4 |
| value |
0.00219 |
| scoring_system |
epss |
| scoring_elements |
0.44537 |
| published_at |
2026-04-08T12:55:00Z |
|
| 5 |
| value |
0.00219 |
| scoring_system |
epss |
| scoring_elements |
0.44542 |
| published_at |
2026-04-09T12:55:00Z |
|
| 6 |
| value |
0.00219 |
| scoring_system |
epss |
| scoring_elements |
0.44559 |
| published_at |
2026-04-11T12:55:00Z |
|
| 7 |
| value |
0.00219 |
| scoring_system |
epss |
| scoring_elements |
0.44529 |
| published_at |
2026-04-12T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2022-40304 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
|
| fixed_packages |
| 0 |
| url |
pkg:gem/nokogiri@1.13.9 |
| purl |
pkg:gem/nokogiri@1.13.9 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-365e-j8ta-h7cn |
|
| 1 |
| vulnerability |
VCID-6r5w-pgkx-v3cb |
|
| 2 |
| vulnerability |
VCID-c6hb-sbhx-zqac |
|
| 3 |
| vulnerability |
VCID-eru7-uy2t-d3ef |
|
| 4 |
| vulnerability |
VCID-ghbk-uumc-dug3 |
|
| 5 |
| vulnerability |
VCID-hzjv-gf8n-jka2 |
|
| 6 |
| vulnerability |
VCID-jfh3-1sgm-7ug2 |
|
| 7 |
| vulnerability |
VCID-q732-nexj-1ue6 |
|
| 8 |
| vulnerability |
VCID-uf9q-1ds5-wbev |
|
| 9 |
| vulnerability |
VCID-w8jf-tsmr-g7cd |
|
| 10 |
| vulnerability |
VCID-y5vb-sn4p-eqd9 |
|
| 11 |
| vulnerability |
VCID-yeku-1zjh-kbea |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.13.9 |
|
|
| aliases |
CVE-2022-40304
|
| risk_score |
3.5 |
| exploitability |
0.5 |
| weighted_severity |
7.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-eb6k-ppfd-m7a3 |
|
| 10 |
| url |
VCID-ek5d-m9pn-3fec |
| vulnerability_id |
VCID-ek5d-m9pn-3fec |
| summary |
Multiple vulnerabilities have been found in libxml2, the worst of
which could result in a Denial of Service condition. |
| references |
| 0 |
|
| 1 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2021-3517 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.00107 |
| scoring_system |
epss |
| scoring_elements |
0.2884 |
| published_at |
2026-04-13T12:55:00Z |
|
| 1 |
| value |
0.00107 |
| scoring_system |
epss |
| scoring_elements |
0.28891 |
| published_at |
2026-04-12T12:55:00Z |
|
| 2 |
| value |
0.00107 |
| scoring_system |
epss |
| scoring_elements |
0.28821 |
| published_at |
2026-04-07T12:55:00Z |
|
| 3 |
| value |
0.00107 |
| scoring_system |
epss |
| scoring_elements |
0.2893 |
| published_at |
2026-04-09T12:55:00Z |
|
| 4 |
| value |
0.00107 |
| scoring_system |
epss |
| scoring_elements |
0.28889 |
| published_at |
2026-04-08T12:55:00Z |
|
| 5 |
| value |
0.00107 |
| scoring_system |
epss |
| scoring_elements |
0.28934 |
| published_at |
2026-04-11T12:55:00Z |
|
| 6 |
| value |
0.0011 |
| scoring_system |
epss |
| scoring_elements |
0.29474 |
| published_at |
2026-04-04T12:55:00Z |
|
| 7 |
| value |
0.0011 |
| scoring_system |
epss |
| scoring_elements |
0.29358 |
| published_at |
2026-04-01T12:55:00Z |
|
| 8 |
| value |
0.0011 |
| scoring_system |
epss |
| scoring_elements |
0.29427 |
| published_at |
2026-04-02T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2021-3517 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
| reference_url |
https://security.gentoo.org/glsa/202107-05 |
| reference_id |
GLSA-202107-05 |
| reference_type |
|
| scores |
| 0 |
| value |
8.6 |
| scoring_system |
cvssv3.1 |
| scoring_elements |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
|
| 1 |
| value |
HIGH |
| scoring_system |
generic_textual |
| scoring_elements |
|
|
| 2 |
| value |
Track |
| scoring_system |
ssvc |
| scoring_elements |
SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-12-02T21:32:30Z/ |
|
|
| url |
https://security.gentoo.org/glsa/202107-05 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
|
| fixed_packages |
| 0 |
| url |
pkg:gem/nokogiri@1.11.4 |
| purl |
pkg:gem/nokogiri@1.11.4 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-365e-j8ta-h7cn |
|
| 1 |
| vulnerability |
VCID-43qu-922g-myca |
|
| 2 |
| vulnerability |
VCID-6r5w-pgkx-v3cb |
|
| 3 |
| vulnerability |
VCID-8geh-vfns-pfgs |
|
| 4 |
| vulnerability |
VCID-9wgc-swf9-z7hq |
|
| 5 |
| vulnerability |
VCID-c6hb-sbhx-zqac |
|
| 6 |
| vulnerability |
VCID-cbm2-cez4-bqgh |
|
| 7 |
| vulnerability |
VCID-eb6k-ppfd-m7a3 |
|
| 8 |
| vulnerability |
VCID-ghbk-uumc-dug3 |
|
| 9 |
| vulnerability |
VCID-gsar-pymk-43hs |
|
| 10 |
| vulnerability |
VCID-hzjv-gf8n-jka2 |
|
| 11 |
| vulnerability |
VCID-jfh3-1sgm-7ug2 |
|
| 12 |
| vulnerability |
VCID-jqdg-ebz9-t3e9 |
|
| 13 |
| vulnerability |
VCID-m7km-hbm9-23h4 |
|
| 14 |
| vulnerability |
VCID-nq12-ryyt-c7g9 |
|
| 15 |
| vulnerability |
VCID-q732-nexj-1ue6 |
|
| 16 |
| vulnerability |
VCID-snr1-kaug-43aa |
|
| 17 |
| vulnerability |
VCID-u8gx-xbj9-97c7 |
|
| 18 |
| vulnerability |
VCID-udew-3gre-13hy |
|
| 19 |
| vulnerability |
VCID-uf9q-1ds5-wbev |
|
| 20 |
| vulnerability |
VCID-w8jf-tsmr-g7cd |
|
| 21 |
| vulnerability |
VCID-xd6j-x83x-r3gn |
|
| 22 |
| vulnerability |
VCID-y5vb-sn4p-eqd9 |
|
| 23 |
| vulnerability |
VCID-yeku-1zjh-kbea |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.11.4 |
|
|
| aliases |
CVE-2021-3517, GHSA-jw9f-hh49-cvp9
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-ek5d-m9pn-3fec |
|
| 11 |
| url |
VCID-ghbk-uumc-dug3 |
| vulnerability_id |
VCID-ghbk-uumc-dug3 |
| summary |
Nokogiri updates packaged libxml2 to v2.12.7 to resolve CVE-2024-34459
## Summary
Nokogiri v1.16.5 upgrades its dependency libxml2 to [2.12.7](https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.12.7) from 2.12.6.
libxml2 v2.12.7 addresses CVE-2024-34459:
- described at https://gitlab.gnome.org/GNOME/libxml2/-/issues/720
- patched by https://gitlab.gnome.org/GNOME/libxml2/-/commit/2876ac53
## Impact
There is no impact to Nokogiri users because the issue is present only in libxml2's `xmllint` tool which Nokogiri does not provide or expose.
## Timeline
- 2024-05-13 05:57 EDT, libxml2 2.12.7 release is announced
- 2024-05-13 08:30 EDT, nokogiri maintainers begin triage
- 2024-05-13 10:05 EDT, nokogiri [v1.16.5 is released](https://github.com/sparklemotion/nokogiri/releases/tag/v1.16.5) and this GHSA made public |
| references |
|
| fixed_packages |
|
| aliases |
GHSA-r95h-9x8f-r3f7
|
| risk_score |
1.4 |
| exploitability |
0.5 |
| weighted_severity |
2.7 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-ghbk-uumc-dug3 |
|
| 12 |
| url |
VCID-gsar-pymk-43hs |
| vulnerability_id |
VCID-gsar-pymk-43hs |
| summary |
Out-of-bounds Write in zlib affects Nokogiri
## Summary
Nokogiri v1.13.4 updates the vendored zlib from 1.2.11 to 1.2.12, which addresses [CVE-2018-25032](https://nvd.nist.gov/vuln/detail/CVE-2018-25032). That CVE is scored as CVSS 7.4 "High" on the NVD record as of 2022-04-05.
Please note that this advisory only applies to the CRuby implementation of Nokogiri `< 1.13.4`, and only if the packaged version of `zlib` is being used. Please see [this document](https://nokogiri.org/LICENSE-DEPENDENCIES.html#default-platform-release-ruby) for a complete description of which platform gems vendor `zlib`. If you've overridden defaults at installation time to use system libraries instead of packaged libraries, you should instead pay attention to your distro's `zlib` release announcements.
## Mitigation
Upgrade to Nokogiri `>= v1.13.4`.
## Impact
### [CVE-2018-25032](https://nvd.nist.gov/vuln/detail/CVE-2018-25032) in zlib
- **Severity**: High
- **Type**: [CWE-787](https://cwe.mitre.org/data/definitions/787.html) Out of bounds write
- **Description**: zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches. |
| references |
|
| fixed_packages |
| 0 |
| url |
pkg:gem/nokogiri@1.13.4 |
| purl |
pkg:gem/nokogiri@1.13.4 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-365e-j8ta-h7cn |
|
| 1 |
| vulnerability |
VCID-43qu-922g-myca |
|
| 2 |
| vulnerability |
VCID-6r5w-pgkx-v3cb |
|
| 3 |
| vulnerability |
VCID-c6hb-sbhx-zqac |
|
| 4 |
| vulnerability |
VCID-eb6k-ppfd-m7a3 |
|
| 5 |
| vulnerability |
VCID-ghbk-uumc-dug3 |
|
| 6 |
| vulnerability |
VCID-hzjv-gf8n-jka2 |
|
| 7 |
| vulnerability |
VCID-jfh3-1sgm-7ug2 |
|
| 8 |
| vulnerability |
VCID-m7km-hbm9-23h4 |
|
| 9 |
| vulnerability |
VCID-q732-nexj-1ue6 |
|
| 10 |
| vulnerability |
VCID-snr1-kaug-43aa |
|
| 11 |
| vulnerability |
VCID-udew-3gre-13hy |
|
| 12 |
| vulnerability |
VCID-uf9q-1ds5-wbev |
|
| 13 |
| vulnerability |
VCID-w8jf-tsmr-g7cd |
|
| 14 |
| vulnerability |
VCID-y5vb-sn4p-eqd9 |
|
| 15 |
| vulnerability |
VCID-yeku-1zjh-kbea |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.13.4 |
|
|
| aliases |
GHSA-v6gp-9mmm-c6p5, GMS-2022-787
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-gsar-pymk-43hs |
|
| 13 |
| url |
VCID-hzjv-gf8n-jka2 |
| vulnerability_id |
VCID-hzjv-gf8n-jka2 |
| summary |
Duplicate Advisory: Use-after-free in libxml2 via Nokogiri::XML::Reader
# Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-xc9x-jj77-9p9j. This link is maintained to preserve external references.
# Original Description
### Summary
Nokogiri upgrades its dependency libxml2 as follows:
- v1.15.6 upgrades libxml2 to 2.11.7 from 2.11.6
- v1.16.2 upgrades libxml2 to 2.12.5 from 2.12.4
libxml2 v2.11.7 and v2.12.5 address the following vulnerability:
CVE-2024-25062 / https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-25062
- described at https://gitlab.gnome.org/GNOME/libxml2/-/issues/604
- patched by https://gitlab.gnome.org/GNOME/libxml2/-/commit/92721970
Please note that this advisory only applies to the CRuby implementation of Nokogiri, and only if
the packaged libraries are being used. If you've overridden defaults at installation time to use
system libraries instead of packaged libraries, you should instead pay attention to your distro's
libxml2 release announcements.
JRuby users are not affected.
### Severity
The Nokogiri maintainers have evaluated this as **Moderate**.
### Impact
From the CVE description, this issue applies to the `xmlTextReader` module (which underlies
`Nokogiri::XML::Reader`):
> When using the XML Reader interface with DTD validation and XInclude expansion enabled,
> processing crafted XML documents can lead to an xmlValidatePopElement use-after-free.
### Mitigation
Upgrade to Nokogiri `~> 1.15.6` or `>= 1.16.2`.
Users who are unable to upgrade Nokogiri may also choose a more complicated mitigation: compile
and link Nokogiri against patched external libxml2 libraries which will also address these same
issues. |
| references |
|
| fixed_packages |
|
| aliases |
GHSA-vcc3-rw6f-jv97
|
| risk_score |
3.1 |
| exploitability |
0.5 |
| weighted_severity |
6.2 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-hzjv-gf8n-jka2 |
|
| 14 |
| url |
VCID-jfh3-1sgm-7ug2 |
| vulnerability_id |
VCID-jfh3-1sgm-7ug2 |
| summary |
Nokogiri does not check the return value from xmlC14NExecute
## Summary
Nokogiri's CRuby extension fails to check the return value from `xmlC14NExecute` in the method `Nokogiri::XML::Document#canonicalize` and `Nokogiri::XML::Node#canonicalize`. When canonicalization fails, an empty string is returned instead of raising an exception. This incorrect return value may allow downstream libraries to accept invalid or incomplete canonicalized XML, which has been demonstrated to enable signature validation bypass in SAML libraries.
JRuby is not affected, as the Java implementation correctly raises `RuntimeError` on canonicalization failure.
## Mitigation
Upgrade to Nokogiri `>= 1.19.1`.
## Severity
The maintainers have assessed this as **Medium** severity. Nokogiri itself is a parsing library without a clear security boundary related to canonicalization, so the direct impact is that a method returns incorrect data on invalid input. However, this behavior was exploited in practice to bypass SAML signature validation in downstream libraries (see References).
## Credit
This vulnerability was responsibly reported by HackerOne researcher `d4d`. |
| references |
|
| fixed_packages |
|
| aliases |
GHSA-wx95-c6cv-8532
|
| risk_score |
3.1 |
| exploitability |
0.5 |
| weighted_severity |
6.2 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-jfh3-1sgm-7ug2 |
|
| 15 |
| url |
VCID-jqdg-ebz9-t3e9 |
| vulnerability_id |
VCID-jqdg-ebz9-t3e9 |
| summary |
XML Injection in Xerces Java affects Nokogiri
## Summary
Nokogiri v1.13.4 updates the vendored `xerces:xercesImpl` from 2.12.0 to 2.12.2, which addresses [CVE-2022-23437](https://nvd.nist.gov/vuln/detail/CVE-2022-23437). That CVE is scored as CVSS 6.5 "Medium" on the NVD record.
Please note that this advisory only applies to the **JRuby** implementation of Nokogiri `< 1.13.4`.
## Mitigation
Upgrade to Nokogiri `>= v1.13.4`.
## Impact
### [CVE-2022-23437](https://nvd.nist.gov/vuln/detail/CVE-2022-23437) in xerces-J
- **Severity**: Medium
- **Type**: [CWE-91](https://cwe.mitre.org/data/definitions/91.html) XML Injection (aka Blind XPath Injection)
- **Description**: There's a vulnerability within the Apache Xerces Java (XercesJ) XML parser when handling specially crafted XML document payloads. This causes, the XercesJ XML parser to wait in an infinite loop, which may sometimes consume system resources for prolonged duration. This vulnerability is present within XercesJ version 2.12.1 and the previous versions.
- **See also**: https://github.com/advisories/GHSA-h65f-jvqw-m9fj |
| references |
|
| fixed_packages |
| 0 |
| url |
pkg:gem/nokogiri@1.13.4 |
| purl |
pkg:gem/nokogiri@1.13.4 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-365e-j8ta-h7cn |
|
| 1 |
| vulnerability |
VCID-43qu-922g-myca |
|
| 2 |
| vulnerability |
VCID-6r5w-pgkx-v3cb |
|
| 3 |
| vulnerability |
VCID-c6hb-sbhx-zqac |
|
| 4 |
| vulnerability |
VCID-eb6k-ppfd-m7a3 |
|
| 5 |
| vulnerability |
VCID-ghbk-uumc-dug3 |
|
| 6 |
| vulnerability |
VCID-hzjv-gf8n-jka2 |
|
| 7 |
| vulnerability |
VCID-jfh3-1sgm-7ug2 |
|
| 8 |
| vulnerability |
VCID-m7km-hbm9-23h4 |
|
| 9 |
| vulnerability |
VCID-q732-nexj-1ue6 |
|
| 10 |
| vulnerability |
VCID-snr1-kaug-43aa |
|
| 11 |
| vulnerability |
VCID-udew-3gre-13hy |
|
| 12 |
| vulnerability |
VCID-uf9q-1ds5-wbev |
|
| 13 |
| vulnerability |
VCID-w8jf-tsmr-g7cd |
|
| 14 |
| vulnerability |
VCID-y5vb-sn4p-eqd9 |
|
| 15 |
| vulnerability |
VCID-yeku-1zjh-kbea |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.13.4 |
|
|
| aliases |
GHSA-xxx9-3xcr-gjj3, GMS-2022-788
|
| risk_score |
3.1 |
| exploitability |
0.5 |
| weighted_severity |
6.2 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-jqdg-ebz9-t3e9 |
|
| 16 |
| url |
VCID-m7km-hbm9-23h4 |
| vulnerability_id |
VCID-m7km-hbm9-23h4 |
| summary |
Integer Overflow or Wraparound in libxml2 affects Nokogiri
### Summary
Nokogiri v1.13.5 upgrades the packaged version of its dependency libxml2 from v2.9.13 to [v2.9.14](https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.9.14).
libxml2 v2.9.14 addresses [CVE-2022-29824](https://nvd.nist.gov/vuln/detail/CVE-2022-29824). This version also includes several security-related bug fixes for which CVEs were not created, including a potential double-free, potential memory leaks, and integer-overflow.
Please note that this advisory only applies to the CRuby implementation of Nokogiri `< 1.13.5`, and only if the _packaged_ libraries are being used. If you've overridden defaults at installation time to use _system_ libraries instead of packaged libraries, you should instead pay attention to your distro's `libxml2` and `libxslt` release announcements.
### Mitigation
Upgrade to Nokogiri `>= 1.13.5`.
Users who are unable to upgrade Nokogiri may also choose a more complicated mitigation: compile and link Nokogiri against external libraries libxml2 `>= 2.9.14` which will also address these same issues.
### Impact
#### libxml2 [CVE-2022-29824](https://nvd.nist.gov/vuln/detail/CVE-2022-29824)
- **CVSS3 score**:
- Unspecified upstream
- Nokogiri maintainers evaluate at 8.6 (High) ([CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H](https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H)). Note that this is different from the CVSS assessed by NVD.
- **Type**: Denial of service, information disclosure
- **Description**: In libxml2 before 2.9.14, several buffer handling functions in buf.c (xmlBuf*) and tree.c (xmlBuffer*) don't check for integer overflows. This can result in out-of-bounds memory writes. Exploitation requires a victim to open a crafted, multi-gigabyte XML file. Other software using libxml2's buffer functions, for example libxslt through 1.1.35, is affected as well.
- **Fixed**: https://gitlab.gnome.org/GNOME/libxml2/-/commit/2554a24
All versions of libml2 prior to v2.9.14 are affected.
Applications parsing or serializing multi-gigabyte documents (in excess of INT_MAX bytes) may be vulnerable to an integer overflow bug in buffer handling that could lead to exposure of confidential data, modification of unrelated data, or a segmentation fault resulting in a denial-of-service.
### References
- [libxml2 v2.9.14 release notes](https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.9.14)
- [CVE-2022-29824](https://nvd.nist.gov/vuln/detail/CVE-2022-29824)
- [CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer](https://cwe.mitre.org/data/definitions/119.html) |
| references |
|
| fixed_packages |
| 0 |
| url |
pkg:gem/nokogiri@1.13.5 |
| purl |
pkg:gem/nokogiri@1.13.5 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-365e-j8ta-h7cn |
|
| 1 |
| vulnerability |
VCID-43qu-922g-myca |
|
| 2 |
| vulnerability |
VCID-6r5w-pgkx-v3cb |
|
| 3 |
| vulnerability |
VCID-c6hb-sbhx-zqac |
|
| 4 |
| vulnerability |
VCID-eb6k-ppfd-m7a3 |
|
| 5 |
| vulnerability |
VCID-ghbk-uumc-dug3 |
|
| 6 |
| vulnerability |
VCID-hzjv-gf8n-jka2 |
|
| 7 |
| vulnerability |
VCID-jfh3-1sgm-7ug2 |
|
| 8 |
| vulnerability |
VCID-q732-nexj-1ue6 |
|
| 9 |
| vulnerability |
VCID-snr1-kaug-43aa |
|
| 10 |
| vulnerability |
VCID-udew-3gre-13hy |
|
| 11 |
| vulnerability |
VCID-uf9q-1ds5-wbev |
|
| 12 |
| vulnerability |
VCID-w8jf-tsmr-g7cd |
|
| 13 |
| vulnerability |
VCID-y5vb-sn4p-eqd9 |
|
| 14 |
| vulnerability |
VCID-yeku-1zjh-kbea |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.13.5 |
|
|
| aliases |
GHSA-cgx6-hpwq-fhv5, GMS-2022-1438
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-m7km-hbm9-23h4 |
|
| 17 |
| url |
VCID-n6za-rwad-tbaq |
| vulnerability_id |
VCID-n6za-rwad-tbaq |
| summary |
Nokogiri updates packaged dependency on libxml2 from 2.9.10 to 2.9.12
### Summary
Nokogiri v1.11.4 updates the vendored libxml2 from v2.9.10 to v2.9.12 which addresses:
- [CVE-2019-20388](https://security.archlinux.org/CVE-2019-20388) (Medium severity)
- [CVE-2020-24977](https://security.archlinux.org/CVE-2020-24977) (Medium severity)
- [CVE-2021-3517](https://security.archlinux.org/CVE-2021-3517) (Medium severity)
- [CVE-2021-3518](https://security.archlinux.org/CVE-2021-3518) (Medium severity)
- [CVE-2021-3537](https://security.archlinux.org/CVE-2021-3537) (Low severity)
- [CVE-2021-3541](https://security.archlinux.org/CVE-2021-3541) (Low severity)
Note that two additional CVEs were addressed upstream but are not relevant to this release. [CVE-2021-3516](https://security.archlinux.org/CVE-2021-3516) via `xmllint` is not present in Nokogiri, and [CVE-2020-7595](https://security.archlinux.org/CVE-2020-7595) has been patched in Nokogiri since v1.10.8 (see #1992).
Please note that this advisory only applies to the CRuby implementation of Nokogiri `< 1.11.4`, and only if the packaged version of libxml2 is being used. If you've overridden defaults at installation time to use system libraries instead of packaged libraries, you should instead pay attention to your distro's `libxml2` release announcements.
### Mitigation
Upgrade to Nokogiri `>= 1.11.4`.
### Impact
I've done a brief analysis of the published CVEs that are addressed in this upstream release. The libxml2 maintainers have not released a canonical set of CVEs, and so this list is pieced together from secondary sources and may be incomplete.
All information below is sourced from [security.archlinux.org](https://security.archlinux.org), which appears to have the most up-to-date information as of this analysis.
#### [CVE-2019-20388](https://security.archlinux.org/CVE-2019-20388)
- **Severity**: Medium
- **Type**: Denial of service
- **Description**: A memory leak was found in the xmlSchemaValidateStream function of libxml2. Applications that use this library may be vulnerable to memory not being freed leading to a denial of service.
- **Fixed**: https://gitlab.gnome.org/GNOME/libxml2/commit/7ffcd44d7e6c46704f8af0321d9314cd26e0e18a
Verified that the fix commit first appears in v2.9.11. It seems possible that this issue would be present in programs using Nokogiri < v1.11.4.
#### [CVE-2020-7595](https://security.archlinux.org/CVE-2020-7595)
- **Severity**: Medium
- **Type**: Denial of service
- **Description**: xmlStringLenDecodeEntities in parser.c in libxml2 2.9.10 has an infinite loop in a certain end-of-file situation.
- **Fixed**: https://gitlab.gnome.org/GNOME/libxml2/commit/0e1a49c8907645d2e155f0d89d4d9895ac5112b5
This has been patched in Nokogiri since v1.10.8 (see #1992).
#### [CVE-2020-24977](https://security.archlinux.org/CVE-2020-24977)
- **Severity**: Medium
- **Type**: Information disclosure
- **Description**: GNOME project libxml2 <= 2.9.10 has a global buffer over-read vulnerability in xmlEncodeEntitiesInternal at libxml2/entities.c.
- **Fixed**: https://gitlab.gnome.org/GNOME/libxml2/commit/50f06b3efb638efb0abd95dc62dca05ae67882c2
Verified that the fix commit first appears in v2.9.11. It seems possible that this issue would be present in programs using Nokogiri < v1.11.4.
#### [CVE-2021-3516](https://security.archlinux.org/CVE-2021-3516)
- **Severity**: Medium
- **Type**: Arbitrary code execution (no remote vector)
- **Description**: A use-after-free security issue was found libxml2 before version 2.9.11 when "xmllint --html --push" is used to process crafted files.
- **Issue**: https://gitlab.gnome.org/GNOME/libxml2/-/issues/230
- **Fixed**: https://gitlab.gnome.org/GNOME/libxml2/-/commit/1358d157d0bd83be1dfe356a69213df9fac0b539
Verified that the fix commit first appears in v2.9.11. This vector does not exist within Nokogiri, which does not ship `xmllint`.
#### [CVE-2021-3517](https://security.archlinux.org/CVE-2021-3517)
- **Severity**: Medium
- **Type**: Arbitrary code execution
- **Description**: A heap-based buffer overflow was found in libxml2 before version 2.9.11 when processing truncated UTF-8 input.
- **Issue**: https://gitlab.gnome.org/GNOME/libxml2/-/issues/235
- **Fixed**: https://gitlab.gnome.org/GNOME/libxml2/-/commit/bf22713507fe1fc3a2c4b525cf0a88c2dc87a3a2
Verified that the fix commit first appears in v2.9.11. It seems possible that this issue would be present in programs using Nokogiri < v1.11.4.
#### [CVE-2021-3518](https://security.archlinux.org/CVE-2021-3518)
- **Severity**: Medium
- **Type**: Arbitrary code execution
- **Description**: A use-after-free security issue was found in libxml2 before version 2.9.11 in xmlXIncludeDoProcess() in xinclude.c when processing crafted files.
- **Issue**: https://gitlab.gnome.org/GNOME/libxml2/-/issues/237
- **Fixed**: https://gitlab.gnome.org/GNOME/libxml2/-/commit/1098c30a040e72a4654968547f415be4e4c40fe7
Verified that the fix commit first appears in v2.9.11. It seems possible that this issue would be present in programs using Nokogiri < v1.11.4.
#### [CVE-2021-3537](https://security.archlinux.org/CVE-2021-3537)
- **Severity**: Low
- **Type**: Denial of service
- **Description**: It was found that libxml2 before version 2.9.11 did not propagate errors while parsing XML mixed content, causing a NULL dereference. If an untrusted XML document was parsed in recovery mode and post-validated, the flaw could be used to crash the application.
- **Issue**: https://gitlab.gnome.org/GNOME/libxml2/-/issues/243
- **Fixed**: https://gitlab.gnome.org/GNOME/libxml2/-/commit/babe75030c7f64a37826bb3342317134568bef61
Verified that the fix commit first appears in v2.9.11. It seems possible that this issue would be present in programs using Nokogiri < v1.11.4.
#### [CVE-2021-3541](https://security.archlinux.org/CVE-2021-3541)
- **Severity**: Low
- **Type**: Denial of service
- **Description**: A security issue was found in libxml2 before version 2.9.11. Exponential entity expansion attack its possible bypassing all existing protection mechanisms and leading to denial of service.
- **Fixed**: https://gitlab.gnome.org/GNOME/libxml2/-/commit/8598060bacada41a0eb09d95c97744ff4e428f8e
Verified that the fix commit first appears in v2.9.11. It seems possible that this issue would be present in programs using Nokogiri < v1.11.4, however Nokogiri's default parse options prevent the attack from succeeding (it is necessary to opt into `DTDLOAD` which is off by default).
For more details supporting this analysis of this CVE, please visit #2233. |
| references |
|
| fixed_packages |
| 0 |
| url |
pkg:gem/nokogiri@1.11.4 |
| purl |
pkg:gem/nokogiri@1.11.4 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-365e-j8ta-h7cn |
|
| 1 |
| vulnerability |
VCID-43qu-922g-myca |
|
| 2 |
| vulnerability |
VCID-6r5w-pgkx-v3cb |
|
| 3 |
| vulnerability |
VCID-8geh-vfns-pfgs |
|
| 4 |
| vulnerability |
VCID-9wgc-swf9-z7hq |
|
| 5 |
| vulnerability |
VCID-c6hb-sbhx-zqac |
|
| 6 |
| vulnerability |
VCID-cbm2-cez4-bqgh |
|
| 7 |
| vulnerability |
VCID-eb6k-ppfd-m7a3 |
|
| 8 |
| vulnerability |
VCID-ghbk-uumc-dug3 |
|
| 9 |
| vulnerability |
VCID-gsar-pymk-43hs |
|
| 10 |
| vulnerability |
VCID-hzjv-gf8n-jka2 |
|
| 11 |
| vulnerability |
VCID-jfh3-1sgm-7ug2 |
|
| 12 |
| vulnerability |
VCID-jqdg-ebz9-t3e9 |
|
| 13 |
| vulnerability |
VCID-m7km-hbm9-23h4 |
|
| 14 |
| vulnerability |
VCID-nq12-ryyt-c7g9 |
|
| 15 |
| vulnerability |
VCID-q732-nexj-1ue6 |
|
| 16 |
| vulnerability |
VCID-snr1-kaug-43aa |
|
| 17 |
| vulnerability |
VCID-u8gx-xbj9-97c7 |
|
| 18 |
| vulnerability |
VCID-udew-3gre-13hy |
|
| 19 |
| vulnerability |
VCID-uf9q-1ds5-wbev |
|
| 20 |
| vulnerability |
VCID-w8jf-tsmr-g7cd |
|
| 21 |
| vulnerability |
VCID-xd6j-x83x-r3gn |
|
| 22 |
| vulnerability |
VCID-y5vb-sn4p-eqd9 |
|
| 23 |
| vulnerability |
VCID-yeku-1zjh-kbea |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.11.4 |
|
|
| aliases |
GHSA-7rrm-v45f-jp64, GMS-2021-171
|
| risk_score |
3.4 |
| exploitability |
0.5 |
| weighted_severity |
6.8 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-n6za-rwad-tbaq |
|
| 18 |
| url |
VCID-nq12-ryyt-c7g9 |
| vulnerability_id |
VCID-nq12-ryyt-c7g9 |
| summary |
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in nokogiri. |
| references |
|
| fixed_packages |
| 0 |
| url |
pkg:gem/nokogiri@1.13.2 |
| purl |
pkg:gem/nokogiri@1.13.2 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-365e-j8ta-h7cn |
|
| 1 |
| vulnerability |
VCID-43qu-922g-myca |
|
| 2 |
| vulnerability |
VCID-6r5w-pgkx-v3cb |
|
| 3 |
| vulnerability |
VCID-9wgc-swf9-z7hq |
|
| 4 |
| vulnerability |
VCID-c6hb-sbhx-zqac |
|
| 5 |
| vulnerability |
VCID-eb6k-ppfd-m7a3 |
|
| 6 |
| vulnerability |
VCID-ghbk-uumc-dug3 |
|
| 7 |
| vulnerability |
VCID-gsar-pymk-43hs |
|
| 8 |
| vulnerability |
VCID-hzjv-gf8n-jka2 |
|
| 9 |
| vulnerability |
VCID-jfh3-1sgm-7ug2 |
|
| 10 |
| vulnerability |
VCID-jqdg-ebz9-t3e9 |
|
| 11 |
| vulnerability |
VCID-m7km-hbm9-23h4 |
|
| 12 |
| vulnerability |
VCID-q732-nexj-1ue6 |
|
| 13 |
| vulnerability |
VCID-snr1-kaug-43aa |
|
| 14 |
| vulnerability |
VCID-u8gx-xbj9-97c7 |
|
| 15 |
| vulnerability |
VCID-udew-3gre-13hy |
|
| 16 |
| vulnerability |
VCID-uf9q-1ds5-wbev |
|
| 17 |
| vulnerability |
VCID-w8jf-tsmr-g7cd |
|
| 18 |
| vulnerability |
VCID-xd6j-x83x-r3gn |
|
| 19 |
| vulnerability |
VCID-y5vb-sn4p-eqd9 |
|
| 20 |
| vulnerability |
VCID-yeku-1zjh-kbea |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.13.2 |
|
|
| aliases |
GHSA-fq42-c5rg-92c2, GMS-2022-163
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-nq12-ryyt-c7g9 |
|
| 19 |
| url |
VCID-q732-nexj-1ue6 |
| vulnerability_id |
VCID-q732-nexj-1ue6 |
| summary |
Duplicate Advisory: Nokogiri updates packaged libxml2 to 2.13.6 to resolve CVE-2025-24928 and CVE-2024-56171
# Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-vvfq-8hwr-qm4m. This link is maintained to preserve external references.
# Original Description
## Summary
Nokogiri v1.18.3 upgrades its dependency libxml2 to
[v2.13.6](https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.13.6).
libxml2 v2.13.6 addresses:
- CVE-2025-24928
- described at https://gitlab.gnome.org/GNOME/libxml2/-/issues/847
- CVE-2024-56171
- described at https://gitlab.gnome.org/GNOME/libxml2/-/issues/828
## Impact
### CVE-2025-24928
Stack-buffer overflow is possible when reporting DTD validation
errors if the input contains a long (~3kb) QName prefix.
### CVE-2024-56171
Use-after-free is possible during validation against untrusted
XML Schemas (.xsd) and, potentially, validation of untrusted documents
against trusted Schemas if they make use of `xsd:keyref` in combination
with recursively defined types that have additional identity constraints. |
| references |
|
| fixed_packages |
|
| aliases |
GHSA-5mwf-688x-mr7x
|
| risk_score |
1.4 |
| exploitability |
0.5 |
| weighted_severity |
2.7 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-q732-nexj-1ue6 |
|
| 20 |
| url |
VCID-qv3r-ppuc-zycz |
| vulnerability_id |
VCID-qv3r-ppuc-zycz |
| summary |
libxml as used in Nokogiri has an infinite loop in a certain end-of-file situation
xmlStringLenDecodeEntities in parser.c in libxml2 2.9.10 has an infinite loop in a certain end-of-file situation.
The Nokogiri RubyGem has patched its vendored copy of libxml2 in order to prevent this issue from affecting nokogiri. |
| references |
| 0 |
|
| 1 |
|
| 2 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2020-7595 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.00473 |
| scoring_system |
epss |
| scoring_elements |
0.64712 |
| published_at |
2026-04-13T12:55:00Z |
|
| 1 |
| value |
0.00473 |
| scoring_system |
epss |
| scoring_elements |
0.6472 |
| published_at |
2026-04-08T12:55:00Z |
|
| 2 |
| value |
0.00473 |
| scoring_system |
epss |
| scoring_elements |
0.64672 |
| published_at |
2026-04-07T12:55:00Z |
|
| 3 |
| value |
0.00473 |
| scoring_system |
epss |
| scoring_elements |
0.64751 |
| published_at |
2026-04-11T12:55:00Z |
|
| 4 |
| value |
0.00473 |
| scoring_system |
epss |
| scoring_elements |
0.6474 |
| published_at |
2026-04-12T12:55:00Z |
|
| 5 |
| value |
0.00473 |
| scoring_system |
epss |
| scoring_elements |
0.64734 |
| published_at |
2026-04-09T12:55:00Z |
|
| 6 |
| value |
0.00487 |
| scoring_system |
epss |
| scoring_elements |
0.65326 |
| published_at |
2026-04-01T12:55:00Z |
|
| 7 |
| value |
0.00487 |
| scoring_system |
epss |
| scoring_elements |
0.65375 |
| published_at |
2026-04-02T12:55:00Z |
|
| 8 |
| value |
0.00487 |
| scoring_system |
epss |
| scoring_elements |
0.65401 |
| published_at |
2026-04-04T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2020-7595 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
| reference_url |
https://usn.ubuntu.com/4274-1/ |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
7.5 |
| scoring_system |
cvssv3.1 |
| scoring_elements |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
|
| 1 |
| value |
Track* |
| scoring_system |
ssvc |
| scoring_elements |
SSVCv2/E:P/A:Y/T:T/P:M/B:A/M:M/D:R/2025-12-03T15:33:37Z/ |
|
|
| url |
https://usn.ubuntu.com/4274-1/ |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
|
| fixed_packages |
| 0 |
| url |
pkg:gem/nokogiri@1.10.8 |
| purl |
pkg:gem/nokogiri@1.10.8 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-365e-j8ta-h7cn |
|
| 1 |
| vulnerability |
VCID-43qu-922g-myca |
|
| 2 |
| vulnerability |
VCID-6r5w-pgkx-v3cb |
|
| 3 |
| vulnerability |
VCID-7bpp-2hvk-2udv |
|
| 4 |
| vulnerability |
VCID-8geh-vfns-pfgs |
|
| 5 |
| vulnerability |
VCID-9hqf-12yh-bkc8 |
|
| 6 |
| vulnerability |
VCID-9wgc-swf9-z7hq |
|
| 7 |
| vulnerability |
VCID-c6hb-sbhx-zqac |
|
| 8 |
| vulnerability |
VCID-cbm2-cez4-bqgh |
|
| 9 |
| vulnerability |
VCID-eb6k-ppfd-m7a3 |
|
| 10 |
| vulnerability |
VCID-ek5d-m9pn-3fec |
|
| 11 |
| vulnerability |
VCID-ghbk-uumc-dug3 |
|
| 12 |
| vulnerability |
VCID-gsar-pymk-43hs |
|
| 13 |
| vulnerability |
VCID-hzjv-gf8n-jka2 |
|
| 14 |
| vulnerability |
VCID-jfh3-1sgm-7ug2 |
|
| 15 |
| vulnerability |
VCID-jqdg-ebz9-t3e9 |
|
| 16 |
| vulnerability |
VCID-m7km-hbm9-23h4 |
|
| 17 |
| vulnerability |
VCID-n6za-rwad-tbaq |
|
| 18 |
| vulnerability |
VCID-nq12-ryyt-c7g9 |
|
| 19 |
| vulnerability |
VCID-q732-nexj-1ue6 |
|
| 20 |
| vulnerability |
VCID-rsvx-3f49-v3an |
|
| 21 |
| vulnerability |
VCID-snr1-kaug-43aa |
|
| 22 |
| vulnerability |
VCID-u8gx-xbj9-97c7 |
|
| 23 |
| vulnerability |
VCID-udew-3gre-13hy |
|
| 24 |
| vulnerability |
VCID-uf9q-1ds5-wbev |
|
| 25 |
| vulnerability |
VCID-vf7b-s3y3-sfhw |
|
| 26 |
| vulnerability |
VCID-vhyk-9tbb-quc3 |
|
| 27 |
| vulnerability |
VCID-w8jf-tsmr-g7cd |
|
| 28 |
| vulnerability |
VCID-xd6j-x83x-r3gn |
|
| 29 |
| vulnerability |
VCID-y5vb-sn4p-eqd9 |
|
| 30 |
| vulnerability |
VCID-yeku-1zjh-kbea |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.10.8 |
|
|
| aliases |
CVE-2020-7595, GHSA-7553-jr98-vx47
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-qv3r-ppuc-zycz |
|
| 21 |
| url |
VCID-rsvx-3f49-v3an |
| vulnerability_id |
VCID-rsvx-3f49-v3an |
| summary |
Improper Restriction of Recursive Entity References in DTDs (XML Entity Expansion)
A flaw was found in libxml2. By exploiting an exponential entity expansion attack its possible bypassing all existing protection mechanisms and lead to a denial of service. |
| references |
| 0 |
|
| 1 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2021-3541 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.0006 |
| scoring_system |
epss |
| scoring_elements |
0.18918 |
| published_at |
2026-04-01T12:55:00Z |
|
| 1 |
| value |
0.0006 |
| scoring_system |
epss |
| scoring_elements |
0.1887 |
| published_at |
2026-04-13T12:55:00Z |
|
| 2 |
| value |
0.0006 |
| scoring_system |
epss |
| scoring_elements |
0.18968 |
| published_at |
2026-04-11T12:55:00Z |
|
| 3 |
| value |
0.0006 |
| scoring_system |
epss |
| scoring_elements |
0.18921 |
| published_at |
2026-04-12T12:55:00Z |
|
| 4 |
| value |
0.0006 |
| scoring_system |
epss |
| scoring_elements |
0.19054 |
| published_at |
2026-04-02T12:55:00Z |
|
| 5 |
| value |
0.0006 |
| scoring_system |
epss |
| scoring_elements |
0.19106 |
| published_at |
2026-04-04T12:55:00Z |
|
| 6 |
| value |
0.0006 |
| scoring_system |
epss |
| scoring_elements |
0.18828 |
| published_at |
2026-04-07T12:55:00Z |
|
| 7 |
| value |
0.0006 |
| scoring_system |
epss |
| scoring_elements |
0.18907 |
| published_at |
2026-04-08T12:55:00Z |
|
| 8 |
| value |
0.0006 |
| scoring_system |
epss |
| scoring_elements |
0.18962 |
| published_at |
2026-04-09T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2021-3541 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
|
| fixed_packages |
| 0 |
| url |
pkg:gem/nokogiri@1.11.4 |
| purl |
pkg:gem/nokogiri@1.11.4 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-365e-j8ta-h7cn |
|
| 1 |
| vulnerability |
VCID-43qu-922g-myca |
|
| 2 |
| vulnerability |
VCID-6r5w-pgkx-v3cb |
|
| 3 |
| vulnerability |
VCID-8geh-vfns-pfgs |
|
| 4 |
| vulnerability |
VCID-9wgc-swf9-z7hq |
|
| 5 |
| vulnerability |
VCID-c6hb-sbhx-zqac |
|
| 6 |
| vulnerability |
VCID-cbm2-cez4-bqgh |
|
| 7 |
| vulnerability |
VCID-eb6k-ppfd-m7a3 |
|
| 8 |
| vulnerability |
VCID-ghbk-uumc-dug3 |
|
| 9 |
| vulnerability |
VCID-gsar-pymk-43hs |
|
| 10 |
| vulnerability |
VCID-hzjv-gf8n-jka2 |
|
| 11 |
| vulnerability |
VCID-jfh3-1sgm-7ug2 |
|
| 12 |
| vulnerability |
VCID-jqdg-ebz9-t3e9 |
|
| 13 |
| vulnerability |
VCID-m7km-hbm9-23h4 |
|
| 14 |
| vulnerability |
VCID-nq12-ryyt-c7g9 |
|
| 15 |
| vulnerability |
VCID-q732-nexj-1ue6 |
|
| 16 |
| vulnerability |
VCID-snr1-kaug-43aa |
|
| 17 |
| vulnerability |
VCID-u8gx-xbj9-97c7 |
|
| 18 |
| vulnerability |
VCID-udew-3gre-13hy |
|
| 19 |
| vulnerability |
VCID-uf9q-1ds5-wbev |
|
| 20 |
| vulnerability |
VCID-w8jf-tsmr-g7cd |
|
| 21 |
| vulnerability |
VCID-xd6j-x83x-r3gn |
|
| 22 |
| vulnerability |
VCID-y5vb-sn4p-eqd9 |
|
| 23 |
| vulnerability |
VCID-yeku-1zjh-kbea |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.11.4 |
|
|
| aliases |
CVE-2021-3541
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-rsvx-3f49-v3an |
|
| 22 |
| url |
VCID-snr1-kaug-43aa |
| vulnerability_id |
VCID-snr1-kaug-43aa |
| summary |
Multiple vulnerabilities have been discovered in Nokogiri, the worst of which could result in denial of service. |
| references |
| 0 |
|
| 1 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2022-29181 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.04183 |
| scoring_system |
epss |
| scoring_elements |
0.88682 |
| published_at |
2026-04-07T12:55:00Z |
|
| 1 |
| value |
0.04183 |
| scoring_system |
epss |
| scoring_elements |
0.8871 |
| published_at |
2026-04-13T12:55:00Z |
|
| 2 |
| value |
0.04183 |
| scoring_system |
epss |
| scoring_elements |
0.88717 |
| published_at |
2026-04-11T12:55:00Z |
|
| 3 |
| value |
0.04183 |
| scoring_system |
epss |
| scoring_elements |
0.88705 |
| published_at |
2026-04-09T12:55:00Z |
|
| 4 |
| value |
0.04183 |
| scoring_system |
epss |
| scoring_elements |
0.88699 |
| published_at |
2026-04-08T12:55:00Z |
|
| 5 |
| value |
0.04293 |
| scoring_system |
epss |
| scoring_elements |
0.88835 |
| published_at |
2026-04-04T12:55:00Z |
|
| 6 |
| value |
0.04293 |
| scoring_system |
epss |
| scoring_elements |
0.88819 |
| published_at |
2026-04-02T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2022-29181 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
|
| fixed_packages |
| 0 |
| url |
pkg:gem/nokogiri@1.13.6 |
| purl |
pkg:gem/nokogiri@1.13.6 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-365e-j8ta-h7cn |
|
| 1 |
| vulnerability |
VCID-43qu-922g-myca |
|
| 2 |
| vulnerability |
VCID-6r5w-pgkx-v3cb |
|
| 3 |
| vulnerability |
VCID-c6hb-sbhx-zqac |
|
| 4 |
| vulnerability |
VCID-eb6k-ppfd-m7a3 |
|
| 5 |
| vulnerability |
VCID-ghbk-uumc-dug3 |
|
| 6 |
| vulnerability |
VCID-hzjv-gf8n-jka2 |
|
| 7 |
| vulnerability |
VCID-jfh3-1sgm-7ug2 |
|
| 8 |
| vulnerability |
VCID-q732-nexj-1ue6 |
|
| 9 |
| vulnerability |
VCID-udew-3gre-13hy |
|
| 10 |
| vulnerability |
VCID-uf9q-1ds5-wbev |
|
| 11 |
| vulnerability |
VCID-w8jf-tsmr-g7cd |
|
| 12 |
| vulnerability |
VCID-y5vb-sn4p-eqd9 |
|
| 13 |
| vulnerability |
VCID-yeku-1zjh-kbea |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.13.6 |
|
|
| aliases |
CVE-2022-29181, GHSA-xh29-r2w5-wx8m
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-snr1-kaug-43aa |
|
| 23 |
| url |
VCID-sxp3-vtcq-pugw |
| vulnerability_id |
VCID-sxp3-vtcq-pugw |
| summary |
Nokogiri affected by libxslt Use of Uninitialized Resource/Use After Free vulnerability
In xsltCopyText in transform.c in libxslt 1.1.33, a pointer variable isn't reset under certain circumstances. If the relevant memory area happened to be freed and reused in a certain way, a bounds check could fail and memory outside a buffer could be written to, or uninitialized data could be disclosed.
Nokogiri prior to version 1.10.5 contains a vulnerable version of libxslt. Nokogiri version 1.10.5 upgrades the dependency to libxslt 1.1.34, which contains a patch for this issue. |
| references |
| 0 |
|
| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2019-18197 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.04534 |
| scoring_system |
epss |
| scoring_elements |
0.89173 |
| published_at |
2026-04-12T12:55:00Z |
|
| 1 |
| value |
0.04534 |
| scoring_system |
epss |
| scoring_elements |
0.89177 |
| published_at |
2026-04-11T12:55:00Z |
|
| 2 |
| value |
0.04534 |
| scoring_system |
epss |
| scoring_elements |
0.89167 |
| published_at |
2026-04-09T12:55:00Z |
|
| 3 |
| value |
0.04534 |
| scoring_system |
epss |
| scoring_elements |
0.89161 |
| published_at |
2026-04-08T12:55:00Z |
|
| 4 |
| value |
0.04534 |
| scoring_system |
epss |
| scoring_elements |
0.89143 |
| published_at |
2026-04-07T12:55:00Z |
|
| 5 |
| value |
0.04534 |
| scoring_system |
epss |
| scoring_elements |
0.89141 |
| published_at |
2026-04-04T12:55:00Z |
|
| 6 |
| value |
0.04534 |
| scoring_system |
epss |
| scoring_elements |
0.89126 |
| published_at |
2026-04-02T12:55:00Z |
|
| 7 |
| value |
0.04534 |
| scoring_system |
epss |
| scoring_elements |
0.89118 |
| published_at |
2026-04-01T12:55:00Z |
|
| 8 |
| value |
0.04534 |
| scoring_system |
epss |
| scoring_elements |
0.89171 |
| published_at |
2026-04-13T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2019-18197 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
|
| fixed_packages |
| 0 |
| url |
pkg:gem/nokogiri@1.10.5 |
| purl |
pkg:gem/nokogiri@1.10.5 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-365e-j8ta-h7cn |
|
| 1 |
| vulnerability |
VCID-43qu-922g-myca |
|
| 2 |
| vulnerability |
VCID-6r5w-pgkx-v3cb |
|
| 3 |
| vulnerability |
VCID-7bpp-2hvk-2udv |
|
| 4 |
| vulnerability |
VCID-8geh-vfns-pfgs |
|
| 5 |
| vulnerability |
VCID-9hqf-12yh-bkc8 |
|
| 6 |
| vulnerability |
VCID-9wgc-swf9-z7hq |
|
| 7 |
| vulnerability |
VCID-c6hb-sbhx-zqac |
|
| 8 |
| vulnerability |
VCID-cbm2-cez4-bqgh |
|
| 9 |
| vulnerability |
VCID-eb6k-ppfd-m7a3 |
|
| 10 |
| vulnerability |
VCID-ek5d-m9pn-3fec |
|
| 11 |
| vulnerability |
VCID-ghbk-uumc-dug3 |
|
| 12 |
| vulnerability |
VCID-gsar-pymk-43hs |
|
| 13 |
| vulnerability |
VCID-hzjv-gf8n-jka2 |
|
| 14 |
| vulnerability |
VCID-jfh3-1sgm-7ug2 |
|
| 15 |
| vulnerability |
VCID-jqdg-ebz9-t3e9 |
|
| 16 |
| vulnerability |
VCID-m7km-hbm9-23h4 |
|
| 17 |
| vulnerability |
VCID-n6za-rwad-tbaq |
|
| 18 |
| vulnerability |
VCID-nq12-ryyt-c7g9 |
|
| 19 |
| vulnerability |
VCID-q732-nexj-1ue6 |
|
| 20 |
| vulnerability |
VCID-qv3r-ppuc-zycz |
|
| 21 |
| vulnerability |
VCID-rsvx-3f49-v3an |
|
| 22 |
| vulnerability |
VCID-snr1-kaug-43aa |
|
| 23 |
| vulnerability |
VCID-u8gx-xbj9-97c7 |
|
| 24 |
| vulnerability |
VCID-udew-3gre-13hy |
|
| 25 |
| vulnerability |
VCID-uf9q-1ds5-wbev |
|
| 26 |
| vulnerability |
VCID-vf7b-s3y3-sfhw |
|
| 27 |
| vulnerability |
VCID-vhyk-9tbb-quc3 |
|
| 28 |
| vulnerability |
VCID-w8jf-tsmr-g7cd |
|
| 29 |
| vulnerability |
VCID-xd6j-x83x-r3gn |
|
| 30 |
| vulnerability |
VCID-y5vb-sn4p-eqd9 |
|
| 31 |
| vulnerability |
VCID-yeku-1zjh-kbea |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.10.5 |
|
|
| aliases |
CVE-2019-18197, GHSA-242x-7cm6-4w8j
|
| risk_score |
4.5 |
| exploitability |
0.5 |
| weighted_severity |
9.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-sxp3-vtcq-pugw |
|
| 24 |
| url |
VCID-txm2-sdc1-7uch |
| vulnerability_id |
VCID-txm2-sdc1-7uch |
| summary |
Improper Input Validation
In `numbers.c` in libxslt, which is used by nokogiri, an `xsl:number` with certain format strings could lead to an uninitialized read in `xsltNumberFormatInsertNumbers`. This could allow an attacker to discern whether a byte on the stack contains the characters `[AaIi0]`, or any other character. |
| references |
| 0 |
|
| 1 |
|
| 2 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2019-13117 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.04457 |
| scoring_system |
epss |
| scoring_elements |
0.89074 |
| published_at |
2026-04-12T12:55:00Z |
|
| 1 |
| value |
0.04457 |
| scoring_system |
epss |
| scoring_elements |
0.89078 |
| published_at |
2026-04-11T12:55:00Z |
|
| 2 |
| value |
0.04457 |
| scoring_system |
epss |
| scoring_elements |
0.89066 |
| published_at |
2026-04-09T12:55:00Z |
|
| 3 |
| value |
0.04457 |
| scoring_system |
epss |
| scoring_elements |
0.89062 |
| published_at |
2026-04-08T12:55:00Z |
|
| 4 |
| value |
0.04457 |
| scoring_system |
epss |
| scoring_elements |
0.89044 |
| published_at |
2026-04-07T12:55:00Z |
|
| 5 |
| value |
0.04457 |
| scoring_system |
epss |
| scoring_elements |
0.89043 |
| published_at |
2026-04-04T12:55:00Z |
|
| 6 |
| value |
0.04457 |
| scoring_system |
epss |
| scoring_elements |
0.89019 |
| published_at |
2026-04-01T12:55:00Z |
|
| 7 |
| value |
0.04457 |
| scoring_system |
epss |
| scoring_elements |
0.89072 |
| published_at |
2026-04-13T12:55:00Z |
|
| 8 |
| value |
0.04457 |
| scoring_system |
epss |
| scoring_elements |
0.89027 |
| published_at |
2026-04-02T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2019-13117 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
|
| fixed_packages |
| 0 |
| url |
pkg:gem/nokogiri@1.10.5 |
| purl |
pkg:gem/nokogiri@1.10.5 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-365e-j8ta-h7cn |
|
| 1 |
| vulnerability |
VCID-43qu-922g-myca |
|
| 2 |
| vulnerability |
VCID-6r5w-pgkx-v3cb |
|
| 3 |
| vulnerability |
VCID-7bpp-2hvk-2udv |
|
| 4 |
| vulnerability |
VCID-8geh-vfns-pfgs |
|
| 5 |
| vulnerability |
VCID-9hqf-12yh-bkc8 |
|
| 6 |
| vulnerability |
VCID-9wgc-swf9-z7hq |
|
| 7 |
| vulnerability |
VCID-c6hb-sbhx-zqac |
|
| 8 |
| vulnerability |
VCID-cbm2-cez4-bqgh |
|
| 9 |
| vulnerability |
VCID-eb6k-ppfd-m7a3 |
|
| 10 |
| vulnerability |
VCID-ek5d-m9pn-3fec |
|
| 11 |
| vulnerability |
VCID-ghbk-uumc-dug3 |
|
| 12 |
| vulnerability |
VCID-gsar-pymk-43hs |
|
| 13 |
| vulnerability |
VCID-hzjv-gf8n-jka2 |
|
| 14 |
| vulnerability |
VCID-jfh3-1sgm-7ug2 |
|
| 15 |
| vulnerability |
VCID-jqdg-ebz9-t3e9 |
|
| 16 |
| vulnerability |
VCID-m7km-hbm9-23h4 |
|
| 17 |
| vulnerability |
VCID-n6za-rwad-tbaq |
|
| 18 |
| vulnerability |
VCID-nq12-ryyt-c7g9 |
|
| 19 |
| vulnerability |
VCID-q732-nexj-1ue6 |
|
| 20 |
| vulnerability |
VCID-qv3r-ppuc-zycz |
|
| 21 |
| vulnerability |
VCID-rsvx-3f49-v3an |
|
| 22 |
| vulnerability |
VCID-snr1-kaug-43aa |
|
| 23 |
| vulnerability |
VCID-u8gx-xbj9-97c7 |
|
| 24 |
| vulnerability |
VCID-udew-3gre-13hy |
|
| 25 |
| vulnerability |
VCID-uf9q-1ds5-wbev |
|
| 26 |
| vulnerability |
VCID-vf7b-s3y3-sfhw |
|
| 27 |
| vulnerability |
VCID-vhyk-9tbb-quc3 |
|
| 28 |
| vulnerability |
VCID-w8jf-tsmr-g7cd |
|
| 29 |
| vulnerability |
VCID-xd6j-x83x-r3gn |
|
| 30 |
| vulnerability |
VCID-y5vb-sn4p-eqd9 |
|
| 31 |
| vulnerability |
VCID-yeku-1zjh-kbea |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.10.5 |
|
|
| aliases |
CVE-2019-13117, GHSA-4hm9-844j-jmxp
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-txm2-sdc1-7uch |
|
| 25 |
| url |
VCID-u8gx-xbj9-97c7 |
| vulnerability_id |
VCID-u8gx-xbj9-97c7 |
| summary |
Denial of Service (DoS) in Nokogiri on JRuby
## Summary
Nokogiri `v1.13.4` updates the vendored `org.cyberneko.html` library to `1.9.22.noko2` which addresses [CVE-2022-24839](https://github.com/sparklemotion/nekohtml/security/advisories/GHSA-9849-p7jc-9rmv). That CVE is rated 7.5 (High Severity).
See [GHSA-9849-p7jc-9rmv](https://github.com/sparklemotion/nekohtml/security/advisories/GHSA-9849-p7jc-9rmv) for more information.
Please note that this advisory only applies to the **JRuby** implementation of Nokogiri `< 1.13.4`.
## Mitigation
Upgrade to Nokogiri `>= 1.13.4`.
## Impact
### [CVE-2022-24839](https://github.com/sparklemotion/nekohtml/security/advisories/GHSA-9849-p7jc-9rmv) in nekohtml
- **Severity**: High 7.5
- **Type**: [CWE-400](https://cwe.mitre.org/data/definitions/400.html) Uncontrolled Resource Consumption
- **Description**: The fork of `org.cyberneko.html` used by Nokogiri (Rubygem) raises a `java.lang.OutOfMemoryError` exception when parsing ill-formed HTML markup.
- **See also**: [GHSA-9849-p7jc-9rmv](https://github.com/sparklemotion/nekohtml/security/advisories/GHSA-9849-p7jc-9rmv) |
| references |
|
| fixed_packages |
| 0 |
| url |
pkg:gem/nokogiri@1.13.4 |
| purl |
pkg:gem/nokogiri@1.13.4 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-365e-j8ta-h7cn |
|
| 1 |
| vulnerability |
VCID-43qu-922g-myca |
|
| 2 |
| vulnerability |
VCID-6r5w-pgkx-v3cb |
|
| 3 |
| vulnerability |
VCID-c6hb-sbhx-zqac |
|
| 4 |
| vulnerability |
VCID-eb6k-ppfd-m7a3 |
|
| 5 |
| vulnerability |
VCID-ghbk-uumc-dug3 |
|
| 6 |
| vulnerability |
VCID-hzjv-gf8n-jka2 |
|
| 7 |
| vulnerability |
VCID-jfh3-1sgm-7ug2 |
|
| 8 |
| vulnerability |
VCID-m7km-hbm9-23h4 |
|
| 9 |
| vulnerability |
VCID-q732-nexj-1ue6 |
|
| 10 |
| vulnerability |
VCID-snr1-kaug-43aa |
|
| 11 |
| vulnerability |
VCID-udew-3gre-13hy |
|
| 12 |
| vulnerability |
VCID-uf9q-1ds5-wbev |
|
| 13 |
| vulnerability |
VCID-w8jf-tsmr-g7cd |
|
| 14 |
| vulnerability |
VCID-y5vb-sn4p-eqd9 |
|
| 15 |
| vulnerability |
VCID-yeku-1zjh-kbea |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.13.4 |
|
|
| aliases |
GHSA-gx8x-g87m-h5q6, GMS-2022-786
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-u8gx-xbj9-97c7 |
|
| 26 |
| url |
VCID-udew-3gre-13hy |
| vulnerability_id |
VCID-udew-3gre-13hy |
| summary |
Multiple vulnerabilities have been found in libxml2, the worst of which could result in arbitrary code execution. |
| references |
| 0 |
|
| 1 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2022-40303 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.00181 |
| scoring_system |
epss |
| scoring_elements |
0.39746 |
| published_at |
2026-04-02T12:55:00Z |
|
| 1 |
| value |
0.00181 |
| scoring_system |
epss |
| scoring_elements |
0.39712 |
| published_at |
2026-04-13T12:55:00Z |
|
| 2 |
| value |
0.00181 |
| scoring_system |
epss |
| scoring_elements |
0.39768 |
| published_at |
2026-04-04T12:55:00Z |
|
| 3 |
| value |
0.00181 |
| scoring_system |
epss |
| scoring_elements |
0.39687 |
| published_at |
2026-04-07T12:55:00Z |
|
| 4 |
| value |
0.00181 |
| scoring_system |
epss |
| scoring_elements |
0.39741 |
| published_at |
2026-04-08T12:55:00Z |
|
| 5 |
| value |
0.00181 |
| scoring_system |
epss |
| scoring_elements |
0.39755 |
| published_at |
2026-04-09T12:55:00Z |
|
| 6 |
| value |
0.00181 |
| scoring_system |
epss |
| scoring_elements |
0.39765 |
| published_at |
2026-04-11T12:55:00Z |
|
| 7 |
| value |
0.00181 |
| scoring_system |
epss |
| scoring_elements |
0.39729 |
| published_at |
2026-04-12T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2022-40303 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
|
| fixed_packages |
| 0 |
| url |
pkg:gem/nokogiri@1.13.9 |
| purl |
pkg:gem/nokogiri@1.13.9 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-365e-j8ta-h7cn |
|
| 1 |
| vulnerability |
VCID-6r5w-pgkx-v3cb |
|
| 2 |
| vulnerability |
VCID-c6hb-sbhx-zqac |
|
| 3 |
| vulnerability |
VCID-eru7-uy2t-d3ef |
|
| 4 |
| vulnerability |
VCID-ghbk-uumc-dug3 |
|
| 5 |
| vulnerability |
VCID-hzjv-gf8n-jka2 |
|
| 6 |
| vulnerability |
VCID-jfh3-1sgm-7ug2 |
|
| 7 |
| vulnerability |
VCID-q732-nexj-1ue6 |
|
| 8 |
| vulnerability |
VCID-uf9q-1ds5-wbev |
|
| 9 |
| vulnerability |
VCID-w8jf-tsmr-g7cd |
|
| 10 |
| vulnerability |
VCID-y5vb-sn4p-eqd9 |
|
| 11 |
| vulnerability |
VCID-yeku-1zjh-kbea |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.13.9 |
|
|
| aliases |
CVE-2022-40303
|
| risk_score |
3.4 |
| exploitability |
0.5 |
| weighted_severity |
6.8 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-udew-3gre-13hy |
|
| 27 |
| url |
VCID-uf9q-1ds5-wbev |
| vulnerability_id |
VCID-uf9q-1ds5-wbev |
| summary |
Nokogiri updates packaged libxslt to v1.1.43 to resolve multiple CVEs
## Summary
Nokogiri v1.18.4 upgrades its dependency libxslt to [v1.1.43](https://gitlab.gnome.org/GNOME/libxslt/-/releases/v1.1.43).
libxslt v1.1.43 resolves:
- CVE-2025-24855: Fix use-after-free of XPath context node
- CVE-2024-55549: Fix UAF related to excluded namespaces
## Impact
### CVE-2025-24855
- "Use-after-free due to xsltEvalXPathStringNs leaking xpathCtxt->node"
- MITRE has rated this 7.8 High CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H
- Upstream report: https://gitlab.gnome.org/GNOME/libxslt/-/issues/128
- NVD entry: https://nvd.nist.gov/vuln/detail/CVE-2025-24855
### CVE-2024-55549
- "Use-after-free related to excluded result prefixes"
- MITRE has rated this 7.8 High CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H
- Upstream report: https://gitlab.gnome.org/GNOME/libxslt/-/issues/127
- NVD entry: https://nvd.nist.gov/vuln/detail/CVE-2024-55549 |
| references |
|
| fixed_packages |
|
| aliases |
GHSA-mrxw-mxhj-p664
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-uf9q-1ds5-wbev |
|
| 28 |
| url |
VCID-vf7b-s3y3-sfhw |
| vulnerability_id |
VCID-vf7b-s3y3-sfhw |
| summary |
Multiple vulnerabilities have been found in libxml2, the worst of
which could result in a Denial of Service condition. |
| references |
| 0 |
|
| 1 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2021-3537 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.00111 |
| scoring_system |
epss |
| scoring_elements |
0.29532 |
| published_at |
2026-04-13T12:55:00Z |
|
| 1 |
| value |
0.00111 |
| scoring_system |
epss |
| scoring_elements |
0.29584 |
| published_at |
2026-04-12T12:55:00Z |
|
| 2 |
| value |
0.0014 |
| scoring_system |
epss |
| scoring_elements |
0.34266 |
| published_at |
2026-04-02T12:55:00Z |
|
| 3 |
| value |
0.0014 |
| scoring_system |
epss |
| scoring_elements |
0.34299 |
| published_at |
2026-04-04T12:55:00Z |
|
| 4 |
| value |
0.0014 |
| scoring_system |
epss |
| scoring_elements |
0.33927 |
| published_at |
2026-04-01T12:55:00Z |
|
| 5 |
| value |
0.00155 |
| scoring_system |
epss |
| scoring_elements |
0.3626 |
| published_at |
2026-04-07T12:55:00Z |
|
| 6 |
| value |
0.00155 |
| scoring_system |
epss |
| scoring_elements |
0.36337 |
| published_at |
2026-04-11T12:55:00Z |
|
| 7 |
| value |
0.00155 |
| scoring_system |
epss |
| scoring_elements |
0.36331 |
| published_at |
2026-04-09T12:55:00Z |
|
| 8 |
| value |
0.00155 |
| scoring_system |
epss |
| scoring_elements |
0.36309 |
| published_at |
2026-04-08T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2021-3537 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
|
| fixed_packages |
| 0 |
| url |
pkg:gem/nokogiri@1.11.4 |
| purl |
pkg:gem/nokogiri@1.11.4 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-365e-j8ta-h7cn |
|
| 1 |
| vulnerability |
VCID-43qu-922g-myca |
|
| 2 |
| vulnerability |
VCID-6r5w-pgkx-v3cb |
|
| 3 |
| vulnerability |
VCID-8geh-vfns-pfgs |
|
| 4 |
| vulnerability |
VCID-9wgc-swf9-z7hq |
|
| 5 |
| vulnerability |
VCID-c6hb-sbhx-zqac |
|
| 6 |
| vulnerability |
VCID-cbm2-cez4-bqgh |
|
| 7 |
| vulnerability |
VCID-eb6k-ppfd-m7a3 |
|
| 8 |
| vulnerability |
VCID-ghbk-uumc-dug3 |
|
| 9 |
| vulnerability |
VCID-gsar-pymk-43hs |
|
| 10 |
| vulnerability |
VCID-hzjv-gf8n-jka2 |
|
| 11 |
| vulnerability |
VCID-jfh3-1sgm-7ug2 |
|
| 12 |
| vulnerability |
VCID-jqdg-ebz9-t3e9 |
|
| 13 |
| vulnerability |
VCID-m7km-hbm9-23h4 |
|
| 14 |
| vulnerability |
VCID-nq12-ryyt-c7g9 |
|
| 15 |
| vulnerability |
VCID-q732-nexj-1ue6 |
|
| 16 |
| vulnerability |
VCID-snr1-kaug-43aa |
|
| 17 |
| vulnerability |
VCID-u8gx-xbj9-97c7 |
|
| 18 |
| vulnerability |
VCID-udew-3gre-13hy |
|
| 19 |
| vulnerability |
VCID-uf9q-1ds5-wbev |
|
| 20 |
| vulnerability |
VCID-w8jf-tsmr-g7cd |
|
| 21 |
| vulnerability |
VCID-xd6j-x83x-r3gn |
|
| 22 |
| vulnerability |
VCID-y5vb-sn4p-eqd9 |
|
| 23 |
| vulnerability |
VCID-yeku-1zjh-kbea |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.11.4 |
|
|
| aliases |
CVE-2021-3537, GHSA-286v-pcf5-25rc
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-vf7b-s3y3-sfhw |
|
| 29 |
| url |
VCID-vhyk-9tbb-quc3 |
| vulnerability_id |
VCID-vhyk-9tbb-quc3 |
| summary |
Nokogiri::XML::Schema trusts input by default, exposing risk of XXE vulnerability
### Severity
Nokogiri maintainers have evaluated this as [__Low Severity__ (CVSS3 2.6)](https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N).
### Description
In Nokogiri versions <= 1.11.0.rc3, XML Schemas parsed by `Nokogiri::XML::Schema` are **trusted** by default, allowing external resources to be accessed over the network, potentially enabling XXE or SSRF attacks.
This behavior is counter to the security policy followed by Nokogiri maintainers, which is to treat all input as **untrusted** by default whenever possible.
Please note that this security fix was pushed into a new minor version, 1.11.x, rather than a patch release to the 1.10.x branch, because it is a breaking change for some schemas and the risk was assessed to be "Low Severity".
### Affected Versions
Nokogiri `<= 1.10.10` as well as prereleases `1.11.0.rc1`, `1.11.0.rc2`, and `1.11.0.rc3`
### Mitigation
There are no known workarounds for affected versions. Upgrade to Nokogiri `1.11.0.rc4` or later.
If, after upgrading to `1.11.0.rc4` or later, you wish to re-enable network access for resolution of external resources (i.e., return to the previous behavior):
1. Ensure the input is trusted. Do not enable this option for untrusted input.
2. When invoking the `Nokogiri::XML::Schema` constructor, pass as the second parameter an instance of `Nokogiri::XML::ParseOptions` with the `NONET` flag turned off.
So if your previous code was:
``` ruby
# in v1.11.0.rc3 and earlier, this call allows resources to be accessed over the network
# but in v1.11.0.rc4 and later, this call will disallow network access for external resources
schema = Nokogiri::XML::Schema.new(schema)
# in v1.11.0.rc4 and later, the following is equivalent to the code above
# (the second parameter is optional, and this demonstrates its default value)
schema = Nokogiri::XML::Schema.new(schema, Nokogiri::XML::ParseOptions::DEFAULT_SCHEMA)
```
Then you can add the second parameter to indicate that the input is trusted by changing it to:
``` ruby
# in v1.11.0.rc3 and earlier, this would raise an ArgumentError
# but in v1.11.0.rc4 and later, this allows resources to be accessed over the network
schema = Nokogiri::XML::Schema.new(trusted_schema, Nokogiri::XML::ParseOptions.new.nononet)
```
### References
- [This issue's public advisory](https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-vr8q-g5c7-m54m)
- [Original Hackerone report (private)](https://hackerone.com/reports/747489)
- [OWASP description of XXE attack](https://www.owasp.org/index.php/XML_External_Entity_(XXE)_Processing)
- [OWASP description of SSRF attack](https://www.owasp.org/index.php/Server_Side_Request_Forgery)
### Credit
This vulnerability was independently reported by @eric-therond and @gucki.
The Nokogiri maintainers would like to thank [HackerOne](https://hackerone.com/nokogiri) for providing a secure, responsible mechanism for reporting, and for providing their fantastic service to us. |
| references |
| 0 |
|
| 1 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2020-26247 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.00717 |
| scoring_system |
epss |
| scoring_elements |
0.72425 |
| published_at |
2026-04-13T12:55:00Z |
|
| 1 |
| value |
0.00717 |
| scoring_system |
epss |
| scoring_elements |
0.72434 |
| published_at |
2026-04-12T12:55:00Z |
|
| 2 |
| value |
0.00717 |
| scoring_system |
epss |
| scoring_elements |
0.72451 |
| published_at |
2026-04-11T12:55:00Z |
|
| 3 |
| value |
0.00717 |
| scoring_system |
epss |
| scoring_elements |
0.72428 |
| published_at |
2026-04-09T12:55:00Z |
|
| 4 |
| value |
0.00717 |
| scoring_system |
epss |
| scoring_elements |
0.72416 |
| published_at |
2026-04-08T12:55:00Z |
|
| 5 |
| value |
0.00717 |
| scoring_system |
epss |
| scoring_elements |
0.72377 |
| published_at |
2026-04-07T12:55:00Z |
|
| 6 |
| value |
0.00717 |
| scoring_system |
epss |
| scoring_elements |
0.72399 |
| published_at |
2026-04-04T12:55:00Z |
|
| 7 |
| value |
0.00717 |
| scoring_system |
epss |
| scoring_elements |
0.72381 |
| published_at |
2026-04-02T12:55:00Z |
|
| 8 |
| value |
0.00717 |
| scoring_system |
epss |
| scoring_elements |
0.72376 |
| published_at |
2026-04-01T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2020-26247 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
|
| fixed_packages |
| 0 |
| url |
pkg:gem/nokogiri@1.11.0 |
| purl |
pkg:gem/nokogiri@1.11.0 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-365e-j8ta-h7cn |
|
| 1 |
| vulnerability |
VCID-43qu-922g-myca |
|
| 2 |
| vulnerability |
VCID-6r5w-pgkx-v3cb |
|
| 3 |
| vulnerability |
VCID-8geh-vfns-pfgs |
|
| 4 |
| vulnerability |
VCID-9hqf-12yh-bkc8 |
|
| 5 |
| vulnerability |
VCID-9wgc-swf9-z7hq |
|
| 6 |
| vulnerability |
VCID-c6hb-sbhx-zqac |
|
| 7 |
| vulnerability |
VCID-cbm2-cez4-bqgh |
|
| 8 |
| vulnerability |
VCID-eb6k-ppfd-m7a3 |
|
| 9 |
| vulnerability |
VCID-ek5d-m9pn-3fec |
|
| 10 |
| vulnerability |
VCID-ghbk-uumc-dug3 |
|
| 11 |
| vulnerability |
VCID-gsar-pymk-43hs |
|
| 12 |
| vulnerability |
VCID-hzjv-gf8n-jka2 |
|
| 13 |
| vulnerability |
VCID-jfh3-1sgm-7ug2 |
|
| 14 |
| vulnerability |
VCID-jqdg-ebz9-t3e9 |
|
| 15 |
| vulnerability |
VCID-m7km-hbm9-23h4 |
|
| 16 |
| vulnerability |
VCID-n6za-rwad-tbaq |
|
| 17 |
| vulnerability |
VCID-nq12-ryyt-c7g9 |
|
| 18 |
| vulnerability |
VCID-q732-nexj-1ue6 |
|
| 19 |
| vulnerability |
VCID-rsvx-3f49-v3an |
|
| 20 |
| vulnerability |
VCID-snr1-kaug-43aa |
|
| 21 |
| vulnerability |
VCID-u8gx-xbj9-97c7 |
|
| 22 |
| vulnerability |
VCID-udew-3gre-13hy |
|
| 23 |
| vulnerability |
VCID-uf9q-1ds5-wbev |
|
| 24 |
| vulnerability |
VCID-vf7b-s3y3-sfhw |
|
| 25 |
| vulnerability |
VCID-w8jf-tsmr-g7cd |
|
| 26 |
| vulnerability |
VCID-xd6j-x83x-r3gn |
|
| 27 |
| vulnerability |
VCID-y5vb-sn4p-eqd9 |
|
| 28 |
| vulnerability |
VCID-yeku-1zjh-kbea |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.11.0 |
|
|
| aliases |
CVE-2020-26247, GHSA-vr8q-g5c7-m54m
|
| risk_score |
3.1 |
| exploitability |
0.5 |
| weighted_severity |
6.2 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-vhyk-9tbb-quc3 |
|
| 30 |
| url |
VCID-w8jf-tsmr-g7cd |
| vulnerability_id |
VCID-w8jf-tsmr-g7cd |
| summary |
Nokogiri updates packaged libxml2 to v2.13.8 to resolve CVE-2025-32414 and CVE-2025-32415
## Summary
Nokogiri v1.18.8 upgrades its dependency libxml2 to [v2.13.8](https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.13.8).
libxml2 v2.13.8 addresses:
- CVE-2025-32414
- described at https://gitlab.gnome.org/GNOME/libxml2/-/issues/889
- CVE-2025-32415
- described at https://gitlab.gnome.org/GNOME/libxml2/-/issues/890
## Impact
### CVE-2025-32414: No impact
In libxml2 before 2.13.8 and 2.14.x before 2.14.2, out-of-bounds memory access can occur in the Python API (Python bindings) because of an incorrect return value. This occurs in xmlPythonFileRead and xmlPythonFileReadRaw because of a difference between bytes and characters.
**There is no impact** from this CVE for Nokogiri users.
### CVE-2025-32415: Low impact
In libxml2 before 2.13.8 and 2.14.x before 2.14.2, xmlSchemaIDCFillNodeTables in xmlschemas.c has a heap-based buffer under-read. To exploit this, a crafted XML document must be validated against an XML schema with certain identity constraints, or a crafted XML schema must be used.
In the upstream issue, further context is provided by the maintainer:
> The bug affects validation against untrusted XML Schemas (.xsd) and validation of untrusted
> documents against trusted Schemas if they make use of xsd:keyref in combination with recursively
> defined types that have additional identity constraints.
MITRE has published a severity score of 2.9 LOW (CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L) for this CVE. |
| references |
|
| fixed_packages |
|
| aliases |
GHSA-5w6v-399v-w3cc
|
| risk_score |
1.4 |
| exploitability |
0.5 |
| weighted_severity |
2.7 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-w8jf-tsmr-g7cd |
|
| 31 |
| url |
VCID-xd6j-x83x-r3gn |
| vulnerability_id |
VCID-xd6j-x83x-r3gn |
| summary |
Out-of-bounds Write
zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches. |
| references |
| 0 |
|
| 1 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2018-25032 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.00081 |
| scoring_system |
epss |
| scoring_elements |
0.24064 |
| published_at |
2026-04-02T12:55:00Z |
|
| 1 |
| value |
0.00081 |
| scoring_system |
epss |
| scoring_elements |
0.24102 |
| published_at |
2026-04-04T12:55:00Z |
|
| 2 |
| value |
0.00081 |
| scoring_system |
epss |
| scoring_elements |
0.23937 |
| published_at |
2026-04-01T12:55:00Z |
|
| 3 |
| value |
0.00089 |
| scoring_system |
epss |
| scoring_elements |
0.25394 |
| published_at |
2026-04-09T12:55:00Z |
|
| 4 |
| value |
0.00089 |
| scoring_system |
epss |
| scoring_elements |
0.2535 |
| published_at |
2026-04-08T12:55:00Z |
|
| 5 |
| value |
0.00089 |
| scoring_system |
epss |
| scoring_elements |
0.25282 |
| published_at |
2026-04-07T12:55:00Z |
|
| 6 |
| value |
0.00089 |
| scoring_system |
epss |
| scoring_elements |
0.25311 |
| published_at |
2026-04-13T12:55:00Z |
|
| 7 |
| value |
0.00089 |
| scoring_system |
epss |
| scoring_elements |
0.25364 |
| published_at |
2026-04-12T12:55:00Z |
|
| 8 |
| value |
0.00089 |
| scoring_system |
epss |
| scoring_elements |
0.25406 |
| published_at |
2026-04-11T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2018-25032 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
| reference_url |
https://support.apple.com/kb/HT213255 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
7.5 |
| scoring_system |
cvssv3.1 |
| scoring_elements |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
|
| 1 |
| value |
HIGH |
| scoring_system |
generic_textual |
| scoring_elements |
|
|
| 2 |
| value |
Track |
| scoring_system |
ssvc |
| scoring_elements |
SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2025-04-23T13:30:25Z/ |
|
|
| url |
https://support.apple.com/kb/HT213255 |
|
| 32 |
| reference_url |
https://support.apple.com/kb/HT213256 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
7.5 |
| scoring_system |
cvssv3.1 |
| scoring_elements |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
|
| 1 |
| value |
HIGH |
| scoring_system |
generic_textual |
| scoring_elements |
|
|
| 2 |
| value |
Track |
| scoring_system |
ssvc |
| scoring_elements |
SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2025-04-23T13:30:25Z/ |
|
|
| url |
https://support.apple.com/kb/HT213256 |
|
| 33 |
| reference_url |
https://support.apple.com/kb/HT213257 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
7.5 |
| scoring_system |
cvssv3.1 |
| scoring_elements |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
|
| 1 |
| value |
HIGH |
| scoring_system |
generic_textual |
| scoring_elements |
|
|
| 2 |
| value |
Track |
| scoring_system |
ssvc |
| scoring_elements |
SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2025-04-23T13:30:25Z/ |
|
|
| url |
https://support.apple.com/kb/HT213257 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
|
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
|
| 63 |
|
| 64 |
|
| 65 |
|
| 66 |
|
| 67 |
|
| 68 |
|
| 69 |
|
| 70 |
|
| 71 |
|
| 72 |
|
| 73 |
|
| 74 |
|
| 75 |
|
| 76 |
|
| 77 |
|
| 78 |
|
| 79 |
|
| 80 |
|
| 81 |
|
| 82 |
|
|
| fixed_packages |
| 0 |
| url |
pkg:gem/nokogiri@1.13.4 |
| purl |
pkg:gem/nokogiri@1.13.4 |
| is_vulnerable |
true |
| affected_by_vulnerabilities |
| 0 |
| vulnerability |
VCID-365e-j8ta-h7cn |
|
| 1 |
| vulnerability |
VCID-43qu-922g-myca |
|
| 2 |
| vulnerability |
VCID-6r5w-pgkx-v3cb |
|
| 3 |
| vulnerability |
VCID-c6hb-sbhx-zqac |
|
| 4 |
| vulnerability |
VCID-eb6k-ppfd-m7a3 |
|
| 5 |
| vulnerability |
VCID-ghbk-uumc-dug3 |
|
| 6 |
| vulnerability |
VCID-hzjv-gf8n-jka2 |
|
| 7 |
| vulnerability |
VCID-jfh3-1sgm-7ug2 |
|
| 8 |
| vulnerability |
VCID-m7km-hbm9-23h4 |
|
| 9 |
| vulnerability |
VCID-q732-nexj-1ue6 |
|
| 10 |
| vulnerability |
VCID-snr1-kaug-43aa |
|
| 11 |
| vulnerability |
VCID-udew-3gre-13hy |
|
| 12 |
| vulnerability |
VCID-uf9q-1ds5-wbev |
|
| 13 |
| vulnerability |
VCID-w8jf-tsmr-g7cd |
|
| 14 |
| vulnerability |
VCID-y5vb-sn4p-eqd9 |
|
| 15 |
| vulnerability |
VCID-yeku-1zjh-kbea |
|
|
| resource_url |
http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.13.4 |
|
|
| aliases |
CVE-2018-25032, GHSA-jc36-42cf-vqwj
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-xd6j-x83x-r3gn |
|
| 32 |
| url |
VCID-y5vb-sn4p-eqd9 |
| vulnerability_id |
VCID-y5vb-sn4p-eqd9 |
| summary |
Nokogiri updates packaged libxml2 to v2.10.4 to resolve multiple CVEs
### Summary
Nokogiri v1.14.3 upgrades the packaged version of its dependency libxml2 to [v2.10.4](https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.10.4) from v2.10.3.
libxml2 v2.10.4 addresses the following known vulnerabilities:
- [CVE-2023-29469](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-29469): Hashing of empty dict strings isn't deterministic
- [CVE-2023-28484](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-28484): Fix null deref in xmlSchemaFixupComplexType
- Schemas: Fix null-pointer-deref in xmlSchemaCheckCOSSTDerivedOK
Please note that this advisory only applies to the CRuby implementation of Nokogiri `< 1.14.3`, and only if the _packaged_ libraries are being used. If you've overridden defaults at installation time to use _system_ libraries instead of packaged libraries, you should instead pay attention to your distro's `libxml2` release announcements.
### Mitigation
Upgrade to Nokogiri `>= 1.14.3`.
Users who are unable to upgrade Nokogiri may also choose a more complicated mitigation: compile and link Nokogiri against external libraries libxml2 `>= 2.10.4` which will also address these same issues.
### Impact
No public information has yet been published about the security-related issues other than the upstream commits. Examination of those changesets indicate that the more serious issues relate to libxml2 dereferencing NULL pointers and potentially segfaulting while parsing untrusted inputs.
The commits can be examined at:
- [[CVE-2023-29469] Hashing of empty dict strings isn't deterministic (09a2dd45) · Commits · GNOME / libxml2 · GitLab](https://gitlab.gnome.org/GNOME/libxml2/-/commit/09a2dd453007f9c7205274623acdd73747c22d64)
- [[CVE-2023-28484] Fix null deref in xmlSchemaFixupComplexType (647e072e) · Commits · GNOME / libxml2 · GitLab](https://gitlab.gnome.org/GNOME/libxml2/-/commit/647e072ea0a2f12687fa05c172f4c4713fdb0c4f)
- [schemas: Fix null-pointer-deref in xmlSchemaCheckCOSSTDerivedOK (4c6922f7) · Commits · GNOME / libxml2 · GitLab](https://gitlab.gnome.org/GNOME/libxml2/-/commit/4c6922f763ad958c48ff66f82823ae21f2e92ee6) |
| references |
|
| fixed_packages |
|
| aliases |
GHSA-pxvg-2qj5-37jq, GMS-2023-1115
|
| risk_score |
3.1 |
| exploitability |
0.5 |
| weighted_severity |
6.2 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-y5vb-sn4p-eqd9 |
|
| 33 |
| url |
VCID-yeku-1zjh-kbea |
| vulnerability_id |
VCID-yeku-1zjh-kbea |
| summary |
Nokogiri updates packaged libxml2 to 2.13.6 to resolve CVE-2025-24928 and CVE-2024-56171
## Summary
Nokogiri v1.18.3 upgrades its dependency libxml2 to [v2.13.6](https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.13.6).
libxml2 v2.13.6 addresses:
- CVE-2025-24928
- described at https://gitlab.gnome.org/GNOME/libxml2/-/issues/847
- CVE-2024-56171
- described at https://gitlab.gnome.org/GNOME/libxml2/-/issues/828
## Impact
### CVE-2025-24928
Stack-buffer overflow is possible when reporting DTD validation errors if the input contains a long (~3kb) QName prefix.
### CVE-2024-56171
Use-after-free is possible during validation against untrusted XML Schemas (.xsd) and, potentially, validation of untrusted documents against trusted Schemas if they make use of `xsd:keyref` in combination with recursively defined types that have additional identity constraints. |
| references |
|
| fixed_packages |
|
| aliases |
GHSA-vvfq-8hwr-qm4m
|
| risk_score |
1.4 |
| exploitability |
0.5 |
| weighted_severity |
2.7 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-yeku-1zjh-kbea |
|