openwrt/package/libs/openssl/patches
Eneas U de Queiroz c3cb2d48da
openssl: fix CVE-2023-464 and CVE-2023-465
Apply two patches fixing low-severity vulnerabilities related to
certificate policies validation:

- Excessive Resource Usage Verifying X.509 Policy Constraints
  (CVE-2023-0464)
  Severity: Low
  A security vulnerability has been identified in all supported versions
  of OpenSSL related to the verification of X.509 certificate chains
  that include policy constraints.  Attackers may be able to exploit
  this vulnerability by creating a malicious certificate chain that
  triggers exponential use of computational resources, leading to a
  denial-of-service (DoS) attack on affected systems.
  Policy processing is disabled by default but can be enabled by passing
  the `-policy' argument to the command line utilities or by calling the
  `X509_VERIFY_PARAM_set1_policies()' function.

- Invalid certificate policies in leaf certificates are silently ignored
  (CVE-2023-0465)
  Severity: Low
  Applications that use a non-default option when verifying certificates
  may be vulnerable to an attack from a malicious CA to circumvent
  certain checks.
  Invalid certificate policies in leaf certificates are silently ignored
  by OpenSSL and other certificate policy checks are skipped for that
  certificate.  A malicious CA could use this to deliberately assert
  invalid certificate policies in order to circumvent policy checking on
  the certificate altogether.
  Policy processing is disabled by default but can be enabled by passing
  the `-policy' argument to the command line utilities or by calling the
  `X509_VERIFY_PARAM_set1_policies()' function.

Note: OpenSSL also released a fix for low-severity security advisory
CVE-2023-466.  It is not included here because the fix only changes the
documentation, which is not built nor included in any OpenWrt package.

Due to the low-severity of these issues, there will be not be an
immediate new release of OpenSSL.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2023-04-07 11:26:26 +02:00
..
100-Configure-afalg-support.patch openssl: bump to 3.0.8 2023-02-20 11:24:17 +01:00
110-openwrt_targets.patch openssl: fix powerpc & arc libatomic dependencies 2023-02-22 11:05:06 -03:00
120-strip-cflags-from-binary.patch openssl: bump to 3.0.8 2023-02-20 11:24:17 +01:00
130-dont-build-fuzz-docs.patch openssl: bump to 3.0.8 2023-02-20 11:24:17 +01:00
140-allow-prefer-chacha20.patch openssl: bump to 3.0.8 2023-02-20 11:24:17 +01:00
150-openssl.cnf-add-engines-conf.patch openssl: add legacy provider 2023-04-05 08:24:49 -03:00
200-x509-excessive-resource-use-verifying-policy-constra.patch openssl: fix CVE-2023-464 and CVE-2023-465 2023-04-07 11:26:26 +02:00
210-Ensure-that-EXFLAG_INVALID_POLICY-is-checked-even-in.patch openssl: fix CVE-2023-464 and CVE-2023-465 2023-04-07 11:26:26 +02:00
500-e_devcrypto-default-to-not-use-digests-in-engine.patch openssl: fix sysupgrade failure with devcrypto 2023-03-06 18:09:13 -03:00
510-e_devcrypto-ignore-error-when-closing-session.patch openssl: fix sysupgrade failure with devcrypto 2023-03-06 18:09:13 -03:00