robrichards/xmlseclibs is vulnerable to Observable Discrepancy
59
Medium Risk
XMLSecEnc decrypts AES-CBC content using ISO 10126 unpadding without validating the pad length against the cipher block size, and decryption failures surface distinguishable errors. Together these give a padding oracle that can be used to recover the plaintext of encrypted XML without the key. An operator of the decryption endpoint can observe different responses for padding failures versus other failures and iterate to decrypt content. The fix validates the pad length and returns a single uniform decryption error for all failure modes.
You are affected if you are using a version that falls within the vulnerable range and you decrypt CBC-mode encrypted XML from untrusted sources.
robrichards/xmlseclibs is vulnerable to Observable Discrepancy in versions 0.0.1 - 3.1.5.
Upgrade the robrichards/xmlseclibs library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

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.