CVE-2024-24783
MEDIUM5.9EPSS 0.60%Verify panics on certificates with an unknown public key algorithm in crypto/x509
Published: 3/5/2024Modified: 4/28/2026
Description
Verifying a certificate chain which contains a certificate with an unknown public key algorithm will cause Certificate.Verify to panic. This affects all crypto/tls clients, and servers that set Config.ClientAuth to VerifyClientCertIfGiven or RequireAndVerifyClientCert. The default behavior is for TLS servers to not verify client certificates.
Affected packages (4)
- Bitnami/golangfrom 0, < 1.21.8, >= 1.22.0-0, < 1.22.1
- Debian/golang-1.15from 0
- Debian/golang-1.19from 0
- Go/stdlibfrom 0, < 1.21.8, >= 1.22.0-0, < 1.22.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
References (8)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-24783
- PATCHhttps://go.dev/cl/569339
- REPORThttps://go.dev/issue/65390
- WEBhttps://groups.google.com/g/golang-announce/c/5pwGVUPoMbg
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2024-24783
- WEBhttps://pkg.go.dev/vuln/GO-2024-2598
- WEBhttps://security.netapp.com/advisory/ntap-20240329-0005/
- WEBhttp://www.openwall.com/lists/oss-security/2024/03/08/4