Heap-based Buffer Overflow Affecting nokogiri package, versions <1.16.5
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.04% (12th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RUBY-NOKOGIRI-7164639
- published 30 May 2024
- disclosed 13 May 2024
- credit Zhineng Zhong
Introduced: 13 May 2024
CVE-2024-34459 Open this link in a new tabHow to fix?
Upgrade nokogiri
to version 1.16.5 or higher.
Overview
nokogiri is a gem for parsing HTML, XML, SAX, and Reader.
Affected versions of this package are vulnerable to Heap-based Buffer Overflow through the xmlHTMLPrintFileContext
function in xmllint.c
. An attacker can read memory contents that may contain sensitive data by triggering a buffer over-read condition.
CVSS Scores
version 3.1