Skip to content

Commit

Permalink
Add ChangeLog entry for X.509 CN-type vulnerability
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Pégourié-Gonnard <[email protected]>
  • Loading branch information
mpg committed Aug 11, 2020
1 parent 22227f0 commit ceb246f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ChangeLog.d/x509-verify-non-dns-san.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Security
* Fix a vulnerability in 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: when the
subjecAltName extension is present, the expected name was compared to any
name in that extension regardless of its type. This means that an
attacker could for example impersonate a 4-bytes or 16-byte domain by
getting a certificate for the corresponding IPv4 or IPv6 (this would
require the attacker to control that IP address, though). Similar attacks
using other subjectAltName name types might be possible. Found and
reported by kFYatek in #3498.

0 comments on commit ceb246f

Please sign in to comment.