CVE-2022-30629: Non-random values for ticket_age_add in session tickets in crypto/tls before Go 1.17.11 and Go 1.18.3 allow an attacker that can observe TLS handshakes to correlate successive connections by...
Low CVSS 3.1
- CVE id
- CVE-2022-30629
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Go Runtimes and servers |
< 1.17.11 >= 1.18.0, < 1.18.3 |
1.17.11, 1.18.3 |
How to fix it
Upgrade Go to the fixed release of the line you run: 1.17.11, 1.18.3.
go version
- Build with the patched Go release (set "toolchain" in go.mod, or the golang image tag) and redeploy: Go programs include the standard library, so they must be rebuilt.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
Non-random values for ticketageadd in session tickets in crypto/tls before Go 1.17.11 and Go 1.18.3 allow an attacker that can observe TLS handshakes to correlate successive connections by comparing ticket ages during session resumption.
References
- CVE-2022-30629 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2022-30629
- Web: https://go.dev/cl/405994
- Web: https://go.dev/issue/52814
- Web: https://go.googlesource.com/go/+/fe4de36198794c447fbd9d7cc2d7199a506c76a5
- Web: https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ
- Web: https://pkg.go.dev/vuln/GO-2022-0531
- Web: https://go.dev/cl/405994
- Web: https://go.dev/issue/52814
- Web: https://go.googlesource.com/go/+/fe4de36198794c447fbd9d7cc2d7199a506c76a5
- Web: https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ
- Web: https://pkg.go.dev/vuln/GO-2022-0531
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.