mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-03-20 19:21:09 +01:00
Clarify CRL security guarantees
Signed-off-by: Janos Follath <janos.follath@arm.com>
This commit is contained in:
23
SECURITY.md
23
SECURITY.md
@@ -110,19 +110,20 @@ considered a vulnerability.
|
|||||||
|
|
||||||
#### Formatting of X.509 certificates and certificate signing requests
|
#### Formatting of X.509 certificates and certificate signing requests
|
||||||
|
|
||||||
When parsing X.509 certificates and certificate signing requests (CSRs),
|
When parsing X.509 certificates, certificate signing requests (CSRs) or
|
||||||
Mbed TLS does not check that they are strictly compliant with X.509 and other
|
certificate revocation lists (CRLs) Mbed TLS does not check that they are
|
||||||
relevant standards. In the case of signed certificates, the signing party is
|
strictly compliant with X.509 and other relevant standards. In the case of
|
||||||
assumed to have performed this validation (and the certificate is trusted to
|
signed certificates and signed CRLs, the signing party is assumed to have
|
||||||
be correctly formatted as long as the signature is correct).
|
performed this validation (and the certificate or CRL is trusted to be correctly
|
||||||
Similarly, CSRs are implicitly trusted by Mbed TLS to be standards-compliant.
|
formatted as long as the signature is correct). Similarly, CSRs are implicitly
|
||||||
|
trusted by Mbed TLS to be standards-compliant.
|
||||||
|
|
||||||
**Warning!** Mbed TLS must not be used to sign untrusted CSRs unless extra
|
**Warning!** Mbed TLS must not be used to sign untrusted CSRs or CRLs unless
|
||||||
validation is performed separately to ensure that they are compliant to the
|
extra validation is performed separately to ensure that they are compliant to
|
||||||
relevant specifications. This makes Mbed TLS on its own unsuitable for use in
|
the relevant specifications. This makes Mbed TLS on its own unsuitable for use
|
||||||
a Certificate Authority (CA).
|
in a Certificate Authority (CA).
|
||||||
|
|
||||||
However, Mbed TLS aims to protect against memory corruption and other
|
However, Mbed TLS aims to protect against memory corruption and other
|
||||||
undefined behavior when parsing certificates and CSRs. If a CSR or signed
|
undefined behavior when parsing certificates, CSRs and CRLs. If a CSR or signed
|
||||||
certificate causes undefined behavior when it is parsed by Mbed TLS, that
|
certificate causes undefined behavior when it is parsed by Mbed TLS, that
|
||||||
is considered a security vulnerability.
|
is considered a security vulnerability.
|
||||||
|
|||||||
Reference in New Issue
Block a user