Lack of data validation In ruby-nokogiri
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.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
rubygems | 1.19.1 | ||
debian 12 | - | ||
debian 13 | - | ||
debian 14 | 1.19.1+dfsg-1 |
Aliases
1. 2. 3. 4. 5. 6. 7.
References
1. 2.