VDB
Sign up
MEDIUM

GHSA-jxjr-5h69-qw3w

Heap-based buffer overflow in nokogiri

Quick fix

GHSA-jxjr-5h69-qw3w — nokogiri: upgrade to the fixed version with the command below.

bundle update nokogiri

Details

Heap-based buffer overflow in the xmlGROW function in parser.c in libxml2 before 2.9.3. A remote attacker could provide a specially crafted XML or HTML file that, when processed by an application using libxml2, would cause that application to use an excessive amount of CPU, leak potentially sensitive information, or crash the application.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/nokogiri
Introduced in: 1.6.0Fixed in: 1.6.7.2
Fixbundle update nokogiri

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:gem/nokogiri"]}'