GitHub Advisoryadvisory · RubyGems
GHSA-r95h-9x8f-r3f7 Nokogiri updates packaged libxml2 to v2.12.7 to resolve CVE-2024-34459
LOW
Official page ↗
- Ecosystem
- RubyGems
- Packages
- nokogiri
- Severity
- Low
- Weaknesses
- CWE-120
- Reviewed
- 2024-05-13
Affected packages
• RubyGems nokogiri: < 1.16.5 → fixed in 1.16.5
Description
Summary
Nokogiri v1.16.5 upgrades its dependency libxml2 to 2.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 and this GHSA made public
Related
Weakness · CWE (1)
- CWE-120 Buffer Copy without Checking Size of Input weakness
References
- https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-r95h-9x8f-r3f7 web
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/GHSA-r95h-9x8f-r3f7.yml web
- https://github.com/sparklemotion/nokogiri package
- https://github.com/sparklemotion/nokogiri/releases/tag/v1.16.5 web
- https://gitlab.gnome.org/GNOME/libxml2/-/commit/2876ac53 web
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/720 web