The following list tries to enumerate all security issues on a best-effort basis.
If you detect any new security issues, please file a bug report or send a private email to smueller@chronox.de.
X.509 pathlen enforcer: A pathlen of 0 was treated as no pathlen restriction at all
-
With this, when a CA certificate contains a pathlen of 0, an attacker could mount a certificate chain extension attack that would not be restricted by the set pathlen. However, achieving a certificate chain extension attack in the first place and finding a pathlen of 0 is already a feat in itself. Further, the pathlen enforcer handled the pathlen > 0 too restrictive (counting the leaf and CA certificate with it) - yet, that would only considered a regular "bug".
-
Affected version <= 1.8.0
-
Credits: Conner Webber
X.509 Subject parser: Overflow in size parser of a subject name component
-
With this, an attacker can craft a certificate where only a sub-part of a name component is matched instead of the full component string. Therefore an impersonation with a wrongly crafted certificate that has a valid signature is possible.
-
Affected version <= 1.7.0
-
Credits: Sunwoo Lee and Seunghyun Yoon (Korea Institute of Energy Technology, KENTECH).
Integrate https://github.com/pq-crystals/kyber patch 0264efacf18dd665d2066f21df3a3290b52ba240
- Fixed secret-dependent branch in poly_frommsg introduced by recent versions of clang with some flags (Thanks to Antoon Purnal for pointing this out!)
Integrate PQClean patch 3b43bc6fe46fe47be38f87af5019a7f1462ae6dd
- Kyber used division operations that might leak side-channel information.
PR #534 addressed this for the
cleanandavx2implementations.