HomeDefault status
unaffected
Any version before 1.25.9
affected
1.26.0-0 (semver) before 1.26.2
affected
Description
During chain building, the amount of work that is done is not correctly limited when a large number of intermediate certificates are passed in VerifyOptions.Intermediates, which can lead to a denial of service. This affects both direct users of crypto/x509 and users of crypto/tls.
Problem types
CWE-770: Allocation of Resources Without Limits or Throttling
Product status
Any version before 1.25.9
1.26.0-0 (semver) before 1.26.2
Credits
Jakub Ciolek - https://ciolek.dev
References
groups.google.com/g/golang-announce/c/0uYbvbPZRWU