Mbed-TLS.mbedtls is vulnerable to Observable Timing Discrepancy
40
CVE Score
Medium
Observable Timing Discrepancy
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.
Upgrade the Mbed-TLS.mbedtls library to the patch version.
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.
3.6.1 - 3.6.3
Fixed in 3.6.4Mbed-TLS.mbedtls is vulnerable to Observable Timing Discrepancy in versions 3.6.1 - 3.6.3.
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.