robrichards/xmlseclibs is vulnerable to Improper Verification of Cryptographic Signature
74
CVE Score
High
Improper Verification of Cryptographic Signature
The low-level locateKey() verification flow can create an HMAC key from trusted asymmetric key material when that material is supplied as DER or another representation that the prior PEM-only check does not recognize. A crafted XML signature can then be accepted without the corresponding private key, affecting the confidentiality and integrity of the verified message. The fix recognizes asymmetric key material across supported encodings and rejects it for HMAC signing and verification while continuing to accept ordinary HMAC secrets.
Upgrade the robrichards/xmlseclibs library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and verify untrusted XML through the low-level XMLSecurityDSig::locateKey() flow while loading trusted public-key or certificate material in a representation that is not PEM-armored.
4.0.0 - 4.0.0
Fixed in 4.0.1robrichards/xmlseclibs is vulnerable to Improper Verification of Cryptographic Signature in versions 4.0.0 - 4.0.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.