Advisory

GO-2025-3749

Also known as: BIT-golang-2025-22874, CVE-2025-22874

Summary

Usage of ExtKeyUsageAny disables policy validation in crypto/x509

Details

Calling Verify with a VerifyOptions.KeyUsages that contains ExtKeyUsageAny unintentionally disabledpolicy validation. This only affected certificate chains which contain policy graphs, which are rather uncommon.

Severity

Not rated by the source.

Dates

Published
2025-06-11 16:23 UTC
Modified
2026-11-14 13:12 UTC

Affected packages and fixes

stdlib

Go · All systems

Affected

  • introduced 1.24.0-0, fixed 1.24.4 (semver)

Fixed versions

1.24.4

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