CVE-2024-28960
High · 8.2CVSS
8.2
EPSS
0.8%
Published
Mar 29, 2024
CISA due date
—
Cloudanix analysis
A cryptography library bug could let attackers see secret keys or data that should stay hidden, weakening the protection of encrypted connections and stored information.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Library
- Class
- Information Disclosure
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The PSA Crypto API in affected Mbed TLS versions fails to properly isolate shared memory regions, enabling unauthorized reads of sensitive cryptographic material such as keys or intermediate values.
Why it matters to the business
Systems relying on the library for secure operations face exposure of cryptographic secrets that could undermine encrypted communications, authentication, and data protection controls across embedded and server deployments.
How an attack unfolds
An attacker sends crafted requests that exercise the PSA Crypto API over the network, triggering the shared-memory mishandling to read protected data that should remain inaccessible.
How to fix it
Upgrade armmbed/mbedtls to the commit 2ca6c285a0dd3f33982dd57299012dacab1ff206 (equivalent to 2.28.8 or 3.6.0) and update tomcat (Bitnami) to 8.5.76 or later.
How to confirm the fix worked
Confirm the running Mbed TLS version meets or exceeds the fixed releases, then exercise PSA Crypto operations while verifying that shared-memory regions no longer leak protected data.
Typical attack path
- Locate services exposing the vulnerable Mbed TLS PSA Crypto API
- Issue API calls that interact with shared memory buffers
- Observe or exfiltrate cryptographic material leaked through the mishandled memory
How to detect it
Review application and library logs for PSA Crypto API invocations that coincide with unexpected memory access or data leakage patterns; examine process memory dumps for anomalous shared-buffer contents.
What your security team should do
- Apply the listed fixed versions to all instances of the library
- Audit applications that invoke the PSA Crypto API for shared-memory usage patterns
- Re-test cryptographic flows after patching to confirm isolation
The record
An issue was discovered in Mbed TLS 2.18.0 through 2.28.x before 2.28.8 and 3.x before 3.6.0, and Mbed Crypto. The PSA Crypto API mishandles shared memory.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Alpine:v3.16 | mbedtls | 0 | 2.28.8-r0 |
| Alpine:v3.17 | mbedtls | 0 | 2.28.8-r0 |
| Alpine:v3.18 | mbedtls | 0 | 2.28.8-r0 |
| Alpine:v3.19 | mbedtls | 0 | 2.28.8-r0 |
| Alpine:v3.20 | mbedtls | 0 | 2.28.8-r0 |
| Alpine:v3.21 | mbedtls | 0 | 2.28.8-r0 |
| Alpine:v3.22 | mbedtls | 0 | 2.28.8-r0 |
| Debian:11 | mbedtls | 0 | No fix |
| Debian:12 | mbedtls | 0 | No fix |
| Debian:13 | mbedtls | 0 | 2.28.8-1 |
| Debian:14 | mbedtls | 0 | 2.28.8-1 |
| Mageia:9 | mbedtls | 0 | 2.28.8-1.mga9 |
| Ubuntu:20.04:LTS | mbedtls | 0 | No fix |
| Ubuntu:22.04:LTS | mbedtls | 0 | No fix |
| Ubuntu:24.04:LTS | mbedtls | 0 | No fix |
| Ubuntu:24.10 | mbedtls | 0 | 2.28.8-1 |
| Ubuntu:Pro:16.04:LTS | mbedtls | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | mbedtls | 0 | No fix |
| openSUSE:Tumbleweed | mbedtls-2 | 0 | 2.28.8-1.1 |
Related vulnerabilities
- CVE-2024-23775 Integer Overflow vulnerability in Mbed TLS 2.x before 2.28.7 and 3.x before 3.5.2, allows… Also affects mbedtls
- CVE-2024-23170 An issue was discovered in Mbed TLS 2.x before 2.28.7 and 3.x before 3.5.2. Also affects mbedtls
- CVE-2023-43615 Mbed TLS 2.x before 2.28.5 and 3.x before 3.5.0 has a Buffer Overflow. Also affects mbedtls
- CVE-2022-35409 An issue was discovered in Mbed TLS before 2.28.1 and 3.x before 3.2.0. Also affects mbedtls
- CVE-2021-44732 Mbed TLS before 3.0.1 has a double free in certain out-of-memory conditions, as… Also affects mbedtls
- CVE-2024-45157 An issue was discovered in Mbed TLS before 2.28.9 and 3.x before 3.6.1, in which the… Also affects mbedtls
- JLSEC-2025-187 Mbed TLS before 2.28.10 and 3.x before 3.6.3, in some cases of failed memory allocation… Also affects mbedtls
- CVE-2024-49195 Mbed TLS 3.5.x through 3.6.x before 3.6.2 has a buffer underrun in pkwrite when writing… Also affects mbedtls