VDB
Sign up
HIGH8.8

GHSA-r58r-74gx-6wx3

Nokogiri gem, via libxml, is affected by DoS vulnerabilities

Quick fix

GHSA-r58r-74gx-6wx3 — nokogiri: upgrade to the fixed version with the command below.

bundle update nokogiri

Details

Use after free in libxml2 before 2.9.5, as used in Google Chrome prior to 63.0.3239.84 and other products, allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/nokogiri
Introduced in: 0Fixed in: 1.8.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"]}'