VDB
Sign up
MEDIUM6.5

GHSA-jmhh-w7xp-wg39

Nokogiri vulnerable to DoS while parsing XML entities

Quick fix

GHSA-jmhh-w7xp-wg39 — nokogiri: upgrade to the fixed version with the command below.

bundle update nokogiri

Details

Nokogiri gem 1.5.x and 1.6.x has DoS while parsing XML entities by failing to apply limits

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/nokogiri
Introduced in: 1.5.0Fixed in: 1.5.11
Fixbundle update nokogiri
RubyGems/nokogiri
Introduced in: 1.6.0Fixed in: 1.6.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"]}'