VDB
Sign up
HIGH7.5

GHSA-7hp2-xwpj-95jq

Denial of service or RCE from libxml2 and libxslt

Quick fix

GHSA-7hp2-xwpj-95jq — nokogiri: upgrade to the fixed version with the command below.

bundle update nokogiri

Details

Nokogiri is affected by series of vulnerabilities in libxml2 and libxslt, which are libraries Nokogiri depends on. It was discovered that libxml2 and libxslt incorrectly handled certain malformed documents, which can allow malicious users to cause issues ranging from denial of service to remote code execution attacks.

Are you affected?

Enter the version of the package you're using.

Affected packages

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