VDB
Sign up
MEDIUM

GHSA-q7wx-62r7-j2x7

Nokogiri vulnerable to libxml XML Entity Expansion

Quick fix

GHSA-q7wx-62r7-j2x7 — nokogiri: upgrade to the fixed version with the command below.

bundle update nokogiri

Details

The xmlreader in libxml allows remote attackers to cause a denial of service (memory consumption) via crafted XML data, related to an XML Entity Expansion (XEE) attack.

Are you affected?

Enter the version of the package you're using.

Affected packages

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