Name | CVE-2022-46393 |
Description | An issue was discovered in Mbed TLS before 2.28.2 and 3.x before 3.3.0. There is a potential heap-based buffer overflow and heap-based buffer over-read in DTLS if MBEDTLS_SSL_DTLS_CONNECTION_ID is enabled and MBEDTLS_SSL_CID_IN_LEN_MAX > 2 * MBEDTLS_SSL_CID_OUT_LEN_MAX. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
mbedtls (PTS) | stretch (security), stretch (lts), stretch | 2.4.2-1+deb9u4 | vulnerable |
| buster (security), buster, buster (lts) | 2.16.9-0~deb10u1 | fixed |
| bullseye | 2.16.9-0.1 | fixed |
| bookworm | 2.28.3-1 | fixed |
| trixie | 2.28.8-1 | fixed |
| sid | 3.6.2-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
mbedtls | source | stretch | (unfixed) | end-of-life | | |
mbedtls | source | buster | (not affected) | | | |
mbedtls | source | bullseye | (not affected) | | | |
mbedtls | source | (unstable) | 2.28.2-1 | | | |
Notes
[bullseye] - mbedtls <not-affected> (The vulnerable code was introduced later)
[buster] - mbedtls <not-affected> (The vulnerable code was introduced later)
https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.2
Fixed by https://github.com/Mbed-TLS/mbedtls/commit/f385fcebee017973cf4137333628a78248f1f443