Mbed-TLS.mbedtls is vulnerable to Observable Timing Discrepancy
53
Medium Risk
When decrypting with block cipher modes that use padding, Mbed TLS translates internal cipher error codes into PSA error codes in a way that is not constant time. A local attacker who can request decryptions and observe timing through shared resources such as caches or the branch predictor learns whether padding was valid, forming a padding oracle. This allows partial or full recovery of plaintext encrypted with CBC-PKCS7. The fix removes the timing difference and adds a padding-aware finish function for safer error handling.
You are affected if you are using a version that falls within the vulnerable range and your application decrypts untrusted ciphertext with a padded CBC or ECB mode through the PSA API.
Mbed-TLS.mbedtls is vulnerable to Observable Timing Discrepancy in versions 1.0.0 - 3.6.4.
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