GHSA-r95h-9x8f-r3f7 json
Nokogiri updates packaged libxml2 to v2.12.7 to resolve CVE-2024-34459
published 2y ago modified 2mo ago also CVE-2024-58377
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
## 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
Patch / fix
- rubygems nokogiri 1.16.5
Is GHSA-r95h-9x8f-r3f7 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerAffected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | nokogiri | <1.16.5 |
1.16.5 |
Classification
- Weakness
-
- CWE-120 Buffer Copy without Checking Size of Input
References
-
gitlab.gnome.org
/GNOME/libxml2/-/commit/2876ac53
web
-
github.com
/sparklemotion/nokogiri/security/advisories/GHSA-r95h-9x8f-r3f7
web
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/GHSA-r95h-9x8f-r3f7.yml
web
-
github.com
/sparklemotion/nokogiri
package
-
github.com
/sparklemotion/nokogiri/releases/tag/v1.16.5
web
-
gitlab.gnome.org
/GNOME/libxml2/-/issues/720
web
Sources
- GitHub Advisory GHSA-r95h-9x8f-r3f7
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.