Advisory

DEBIAN-CVE-2020-36477

Also known as: CVE-2020-36477

Summary

The record has no summary.

Details

An issue was discovered in Mbed TLS before 2.24.0. The verification of X.509 certificates when matching the expected common name (the cn argument of mbedtls_x509_crt_verify) with the actual certificate name is mishandled: when the subjecAltName extension is present, the expected name is compared to any name in that extension regardless of its type. This means that an attacker could impersonate a 4-byte or 16-byte domain by getting a certificate for the corresponding IPv4 or IPv6 address (this would require the attacker to control that IP address, though).

Severity

Medium Basis: CVSS v3 score 5.9, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Dates

Published
2021-08-23 02:15 UTC
Modified
2026-10-26 12:02 UTC

Affected packages and fixes

mbedtls

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 2.28.0-0.3 (ecosystem)

Fixed versions

2.28.0-0.3

Fix

  • Fixed version 2.28.0-0.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

mbedtls

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 2.28.0-0.3 (ecosystem)

Fixed versions

2.28.0-0.3

Fix

  • Fixed version 2.28.0-0.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

mbedtls

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 2.28.0-0.3 (ecosystem)

Fixed versions

2.28.0-0.3

Fix

  • Fixed version 2.28.0-0.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences