VDB
Sign up
HIGH7.5

GHSA-x2fm-93ww-ggvx

Nokogiri gem, via libxml, is affected by DoS vulnerabilities

Quick fix

GHSA-x2fm-93ww-ggvx — nokogiri: upgrade to the fixed version with the command below.

bundle update nokogiri

Details

parser.c in libxml2 before 2.9.5 does not prevent infinite recursion in parameter entities.

Are you affected?

Enter the version of the package you're using.

Affected packages

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