Feed
5.9MEDIUM
CVE-2019-11840golang.org/x/crypto/salsa20/salsa uses insufficiently random values
A medium-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 3.5% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 3.5%
- percentile 90%
- Fix
- Named by a source
- CVE published 9 May 2019
Reference
None of the "Needs attention" rules apply right now.
EPSS 3.5% (+3) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- golang.org/x/crypto (Go): upgrade to 0.0.0-20190320223903-b7391e95e576 or later on your release line.
- Patch: https://go.dev/cl/168406
- Patch: https://go.googlesource.com/crypto/+/b7391e95e576cacdcdd422573063bc057239113d
Who should check
golang.org/x/crypto (Go) pkg:golang/golang.org/x/crypto
- Affected< 0.0.0-20190320223903-b7391e95e576Fixed in0.0.0-20190320223903-b7391e95e576OSV (GO-2022-0209)
Confirmed facts
- CVSS
- 5.9 MEDIUM (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-r5c5-pr8j-pfp7)
- Attack vector
- network
- Attack complexity
- high
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-330
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)An issue was discovered in supplementary Go cryptography libraries, aka golang-googlecode-go-crypto, before 2019-03-20. A flaw was found in the amd64 implementation of golang.org/x/crypto/salsa20 and golang.org/x/crypto/salsa20/salsa. If more than 256 GiB of keystream is generated, or if the counter otherwise grows greater than 32 bits, the amd64 implementation will first generate incorrect output, and then cycle back to previously generated keystream. Repeated keystream bytes can lead to loss of confidentiality in encryption applications, or to predictability in CSPRNG applications. ### Specific Go Packages Affected golang.org/x/crypto/salsa20/salsa
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2019-11840
- otherhttps://github.com/golang/go/issues/30965
- otherhttps://bugzilla.redhat.com/show_bug.cgi?id=1691529
- otherhttps://github.com/golang/go
- patchhttps://go.dev/cl/168406
- otherhttps://go.dev/issue/30965
- patchhttps://go.googlesource.com/crypto/+/b7391e95e576cacdcdd422573063bc057239113d
- otherhttps://groups.google.com/forum/#!msg/golang-announce/tjyNcJxb2vQ/n0NRBziSCAAJ
- otherhttps://groups.google.com/g/golang-announce/c/tjyNcJxb2vQ/m/n0NRBziSCAAJ
- otherhttps://lists.debian.org/debian-lts-announce/2019/06/msg00029.html
- otherhttps://lists.debian.org/debian-lts-announce/2020/10/msg00014.html
- otherhttps://lists.debian.org/debian-lts-announce/2020/11/msg00016.html
- otherhttps://lists.debian.org/debian-lts-announce/2020/11/msg00030.html
- otherhttps://lists.debian.org/debian-lts-announce/2021/01/msg00015.html
- otherhttps://lists.debian.org/debian-lts-announce/2023/06/msg00017.html
- otherhttps://pkg.go.dev/vuln/GO-2022-0209
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-r5c5-pr8j-pfp7 (GitHub Advisory Database), CC BY 4.0.
- GO-2022-0209 (Go Vulnerability Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 39 min ago · osv 39 min ago · nvd 8 min ago · epss 39 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-r5c5-pr8j-pfp7, GO-2022-0209