{"id":"CVE-2024-58377","aliases":["GHSA-r95h-9x8f-r3f7"],"url":"https://o3.security/vulnerability/CVE-2024-58377","summary":"Nokogiri before 1.16.5 libxml2 Dependency Update","details":"## Summary\n\nNokogiri 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.\n\nlibxml2 v2.12.7 addresses CVE-2024-34459:\n\n- described at https://gitlab.gnome.org/GNOME/libxml2/-/issues/720\n- patched by https://gitlab.gnome.org/GNOME/libxml2/-/commit/2876ac53\n\n\n## Impact\n\nThere is no impact to Nokogiri users because the issue is present only in libxml2's `xmllint` tool which Nokogiri does not provide or expose.\n\n\n## Timeline\n\n- 2024-05-13 05:57 EDT, libxml2 2.12.7 release is announced\n- 2024-05-13 08:30 EDT, nokogiri maintainers begin triage\n- 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","published":"2026-08-25T15:15:56.569Z","modified":"2026-08-30T03:45:31.109278319Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"RubyGems","name":"nokogiri","fixedVersion":"1.16.5"}],"fix":{"url":"https://github.com/GNOME/libxml2/commit/2876ac53","label":"GNOME/libxml2@2876ac5"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58377.json"},{"type":"ADVISORY","url":"https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-r95h-9x8f-r3f7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58377"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/nokogiri-before-libxml2-dependency-update"},{"type":"FIX","url":"https://github.com/GNOME/libxml2/commit/2876ac53"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/GHSA-r95h-9x8f-r3f7.yml"},{"type":"PACKAGE","url":"https://github.com/sparklemotion/nokogiri"},{"type":"WEB","url":"https://github.com/sparklemotion/nokogiri/releases/tag/v1.16.5"},{"type":"WEB","url":"https://gitlab.gnome.org/GNOME/libxml2/-/commit/2876ac53"},{"type":"WEB","url":"https://gitlab.gnome.org/GNOME/libxml2/-/issues/720"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-30T03:45:31.109278319Z"}}