ghsa-r5c5-pr8j-pfp7
Vulnerability from github
Published
2022-05-24 16:45
Modified
2023-09-29 15:47
Severity ?
Summary
golang.org/x/crypto/salsa20/salsa uses insufficiently random values
Details
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
{ "affected": [ { "package": { "ecosystem": "Go", "name": "golang.org/x/crypto" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "0.0.0-20190320223903-b7391e95e576" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2019-11840" ], "database_specific": { "cwe_ids": [ "CWE-330" ], "github_reviewed": true, "github_reviewed_at": "2023-02-08T00:33:46Z", "nvd_published_at": "2019-05-09T16:29:00Z", "severity": "MODERATE" }, "details": "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.\n\n### Specific Go Packages Affected\ngolang.org/x/crypto/salsa20/salsa", "id": "GHSA-r5c5-pr8j-pfp7", "modified": "2023-09-29T15:47:38Z", "published": "2022-05-24T16:45:25Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-11840" }, { "type": "WEB", "url": "https://github.com/golang/go/issues/30965" }, { "type": "WEB", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1691529" }, { "type": "PACKAGE", "url": "https://github.com/golang/go" }, { "type": "WEB", "url": "https://go.dev/cl/168406" }, { "type": "WEB", "url": "https://go.dev/issue/30965" }, { "type": "WEB", "url": "https://go.googlesource.com/crypto/+/b7391e95e576cacdcdd422573063bc057239113d" }, { "type": "WEB", "url": "https://groups.google.com/forum/#!msg/golang-announce/tjyNcJxb2vQ/n0NRBziSCAAJ" }, { "type": "WEB", "url": "https://groups.google.com/g/golang-announce/c/tjyNcJxb2vQ/m/n0NRBziSCAAJ" }, { "type": "WEB", "url": "https://lists.debian.org/debian-lts-announce/2019/06/msg00029.html" }, { "type": "WEB", "url": "https://lists.debian.org/debian-lts-announce/2020/10/msg00014.html" }, { "type": "WEB", "url": "https://lists.debian.org/debian-lts-announce/2020/11/msg00016.html" }, { "type": "WEB", "url": "https://lists.debian.org/debian-lts-announce/2020/11/msg00030.html" }, { "type": "WEB", "url": "https://lists.debian.org/debian-lts-announce/2021/01/msg00015.html" }, { "type": "WEB", "url": "https://lists.debian.org/debian-lts-announce/2023/06/msg00017.html" }, { "type": "WEB", "url": "https://pkg.go.dev/vuln/GO-2022-0209" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N", "type": "CVSS_V3" } ], "summary": "golang.org/x/crypto/salsa20/salsa uses insufficiently random values" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.