Vulnerabilities / CVE-2022-35409

critical

CVE-2022-35409

An issue was discovered in Mbed TLS before 2.28.1 and 3.x before 3.2.0 ...

Published Modified CWE 125
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Julia9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Julia. Rated lower by Ubuntu (medium).

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.

Affected packages and fixed versions

SourcePackageFixed in
julia::Julia Ecosystem Security AdvisoriesMbedTLS_jll2.28.2+0
alpine 3.16mbedtls2.28.1-r0
alpine 3.17mbedtls2.28.1-r0
alpine 3.18mbedtls2.28.1-r0
alpine 3.19mbedtls2.28.1-r0
alpine 3.20mbedtls, mbedtls22.28.1-r0
alpine 3.21mbedtls, mbedtls22.28.1-r0
alpine 3.22mbedtls, mbedtls22.28.1-r0
alpine 3.23mbedtls, mbedtls22.28.1-r0
alpine 3.24mbedtls, mbedtls2, mbedtls32.28.1-r0
alpine edgembedtls, mbedtls2, mbedtls32.28.1-r0
debian 10mbedtls2.16.9-0~deb10u1
Show all 27 entries from 19 sources
SourcePackageFixed in
julia::Julia Ecosystem Security AdvisoriesMbedTLS_jll2.28.2+0
alpine 3.16mbedtls2.28.1-r0
alpine 3.17mbedtls2.28.1-r0
alpine 3.18mbedtls2.28.1-r0
alpine 3.19mbedtls2.28.1-r0
alpine 3.20mbedtls2.28.1-r0
alpine 3.20mbedtls22.28.1-r0
alpine 3.21mbedtls2.28.1-r0
alpine 3.21mbedtls22.28.1-r0
alpine 3.22mbedtls2.28.1-r0
alpine 3.22mbedtls22.28.1-r0
alpine 3.23mbedtls2.28.1-r0
alpine 3.23mbedtls22.28.1-r0
alpine 3.24mbedtls2.28.1-r0
alpine 3.24mbedtls22.28.1-r0
alpine 3.24mbedtls32.28.1-r0
alpine edgembedtls2.28.1-r0
alpine edgembedtls22.28.1-r0
alpine edgembedtls32.28.1-r0
debian 10mbedtls2.16.9-0~deb10u1
debian 11mbedtlsno fix listed
debian 12mbedtls2.28.1-1
debian 13mbedtls2.28.1-1
debian 14mbedtls2.28.1-1
echombedtls2.28.1-1
root.io debian 12rootio-mbedtls2.28.1-1
ubuntu 22.04mbedtlsno fix listed

References

All 14 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.