CVE-2025-22874
Usage of ExtKeyUsageAny disables policy validation in crypto/x509
7.5
HIGH
CVSS 3.1
EPSS 0.08%
Description
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.
How to fix CVE-2025-22874
To remediate CVE-2025-22874, upgrade the affected package to a fixed version below.
- Bitnami/golang—upgrade to 1.24.4 or later
- —upgrade to 1.24.4-1 or later
- —upgrade to 1.24.4 or later
Is CVE-2025-22874 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- >= 1.24.0-0, < 1.24.4
- from 0, < 1.24.4-1
- >= 1.24.0-0, < 1.24.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |