Description
The crypton-x509-validation Haskell library fails to enforce X.509 NameConstraints, allowing TLS clients to accept certificates whose Subject Alternative Names fall outside the issuing CA’s permitted subtrees. This oversight enables an attacker who compromises a name-constrained sub-CA to impersonate domains beyond its intended scope.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Haskell Programming Language crypton-certificate
0 to < 1.9.1affected
References
- https://github.com/kazu-yamamoto/crypton-certificate/pull/30 ↗
- https://github.com/kazu-yamamoto/crypton-certificate/pull/30/changes/f4b77edf6ead77f4a886da40e41eab20f0180e39 ↗
- https://hackage.haskell.org/package/crypton-x509-validation-1.9.1/revisions/ ↗
- https://github.com/haskell/security-advisories/pull/332 ↗
- https://www.kb.cert.org/vuls/id/862559 ↗