NetSight
medium5.3No CVE yet

GHSA-xqqh-3w52-q8p7

Duplicate Advisory: Nokogiri does not check the return value from xmlC14NExecute

Impact

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-wx95-c6cv-8532. This link is maintained to preserve external references. ## Original Description Nokogiri versions before 1.19.1 fail to check the return value from xmlC14NExecute in the canonicalize method, returning an empty string on failure instead of raising an exception. Attackers can exploit this to bypass signature validation in downstream SAML libraries by providing invalid canonicalized XML that is incorrectly accepted as valid.

An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: low risk of data or systems being changed.

Affected packages

EcosystemPackageAffectedFixed in
rubygemsnokogiri>= 1.5.1, < 1.19.1none recorded

Weakness classification

References