Mbed-TLS.mbedtls is vulnerable to Observable Timing Discrepancy
40
Medium Risk
Mbed TLS removes PKCS#7 padding after block cipher decryption by first checking that the final byte is within a valid range and returning early when it is not. This early exit creates a timing side channel that behaves as a padding oracle. An attacker with a decryption oracle and timing measurements can recover the last byte of each block, and often the full plaintext when part of it is under their control. The fix makes the padding check run in constant time.
You are affected if you are using a version that falls within the vulnerable range and your application decrypts untrusted ciphertext using the PKCS#7 padding mode.
Mbed-TLS.mbedtls is vulnerable to Observable Timing Discrepancy in versions 3.6.1 - 3.6.3.
Upgrade the Mbed-TLS.mbedtls 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