HSEC-2023-0006
JSON

Not scored

x509-validation does not enforce pathLenConstraint

Severity
Not scored
Published
Last changed

Description

x509-validation does not enforce pathLenConstraint

x509-validation prior to version 1.4.8 did not enforce the pathLenConstraint value. Constrained CAs could accidentally (or deliberately) issue CAs below the maximum depth and x509-validation would accept certificates issued by the unauthorised intermediate CAs.

Affected

Product or packageVersionsReported by
x509-validation (Hackage)from 1.4.0 before 1.4.8Haskell Security Advisories

References

Sources

SourceRecordLicence
Haskell Security AdvisoriesHSEC-2023-0006 changed 2025-11-14CC0-1.0