Skip to content
OpenAdvisories
Unscored CVE-2022-35409 EUVD-2022-38299GHSA-m52q-qpp4-f753

An issue was discovered in Mbed TLS before 2.28.1 and 3.x before 3.2.0. In some configurations, an unauthenticated attacker can send an inv…

Published Jul 15, 2022 · Updated Aug 3, 2024 · Assigned by mitre

Description

An issue was discovered in Mbed TLS before 2.28.1 and 3.x before 3.2.0. In some configurations, an unauthenticated attacker can send an invalid ClientHello message to a DTLS server that causes a heap-based buffer over-read of up to 255 bytes. This can cause a server crash or possibly information disclosure based on error responses. Affected configurations have MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE enabled and MBEDTLS_SSL_IN_CONTENT_LEN less than a threshold that depends on the configuration: 258 bytes if using mbedtls_ssl_cookie_check, and possibly up to 571 bytes with a custom cookie check function.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 mbedtls 2.28.1-1 —
Debian 13 mbedtls 2.28.1-1 —
Debian 12 mbedtls 2.28.1-1 —
Debian 10 mbedtls 2.16.9-0~deb10u1 DLA-3249-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS mbedtls No fix yet —
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP3 mbedtls 2.16.9-bp153.2.8.1 openSUSE-SU-2022:10247-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed mbedtls-2 2.28.1-1.1 openSUSE-SU-2024:12478-1
openSUSE Tumbleweed mbedtls-3 3.6.6-1.1 openSUSE-SU-2026:11119-1
openSUSE Leap 15.3 mbedtls 2.16.9-bp153.2.8.1 openSUSE-SU-2022:10247-1
ReleasePackageFixed inAdvisory
Alpine v3.24 mbedtls +2 2.28.1-r0 —
Alpine v3.23 mbedtls +1 2.28.1-r0 —
Alpine v3.22 mbedtls +1 2.28.1-r0 —
Alpine v3.21 mbedtls +1 2.28.1-r0 —
Alpine v3.20 mbedtls +1 2.28.1-r0 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 mbedtls 2.28.1-r0 —
Alpine v3.18 mbedtls 2.28.1-r0 —
Alpine v3.17 mbedtls 2.28.1-r0 —
Alpine v3.16 mbedtls 2.28.1-r0 —

Advisories 4

References