Advisory

GO-2022-0191

Also known as: CVE-2018-16875

Summary

Denial of service in chain verification in crypto/x509

Details

The crypto/x509 package does not limit the amount of work performed for each chain verification, which might allow attackers to craft pathological inputs leading to a CPU denial of service. Go TLS servers accepting client certificates and TLS clients verifying certificates are affected.

Severity

Not rated by the source.

Dates

Published
2022-07-15 23:03 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

stdlib

Go · All systems

Affected

  • introduced 0, fixed 1.10.6, introduced 1.11.0-0, fixed 1.11.3 (semver)

Fixed versions

1.10.6, 1.11.3

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences