# golang.org/x/crypto/salsa20/salsa uses insufficiently random values

Advisory record · `GHSA-r5c5-pr8j-pfp7`

- **Identifiers:** `GHSA-r5c5-pr8j-pfp7` · `CVE-2019-11840` · `GO-2022-0209`
- **State:** Confirmed
- **Severity:** CVSS 5.9 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-330](https://cwe.mitre.org/data/definitions/330.html)
- **Tags:** [Weak cryptography or TLS](https://agentprime.io/advisories/tag/weak-crypto.md)
- **Published:** 24 May 2022
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 24 May 2022, 16:45 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `golang.org/x/crypto` (Go): affected `<0.0.0-20190320223903-b7391e95e576`; fixed in `0.0.0-20190320223903-b7391e95e576`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.9 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.035, the 89th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:43 UTC: First seen by agentprime
- 31 Oct 2026, 14:43 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-r5c5-pr8j-pfp7)

## Sources

- [GitHub Advisory Database: GHSA-r5c5-pr8j-pfp7](https://github.com/advisories/GHSA-r5c5-pr8j-pfp7)
- [OSV: GHSA-r5c5-pr8j-pfp7](https://osv.dev/vulnerability/GHSA-r5c5-pr8j-pfp7)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-11840>
- <https://github.com/golang/go/issues/30965>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1691529>
- <https://github.com/golang/go>
- <https://go.dev/cl/168406>
- <https://go.dev/issue/30965>
- <https://go.googlesource.com/crypto/+/b7391e95e576cacdcdd422573063bc057239113d>
- <https://groups.google.com/forum/#!msg/golang-announce/tjyNcJxb2vQ/n0NRBziSCAAJ>
- <https://groups.google.com/g/golang-announce/c/tjyNcJxb2vQ/m/n0NRBziSCAAJ>
- <https://lists.debian.org/debian-lts-announce/2019/06/msg00029.html>
- <https://lists.debian.org/debian-lts-announce/2020/10/msg00014.html>
- <https://lists.debian.org/debian-lts-announce/2020/11/msg00016.html>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-r5c5-pr8j-pfp7>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-r5c5-pr8j-pfp7/>. Everything for agents: <https://agentprime.io/llms.txt>.
