ubuntu-cve-2019-11840
Vulnerability from osv_ubuntu
Published
2019-05-09 16:29
Modified
2026-07-20 13:48
Summary
Details
An issue was discovered in the supplementary Go cryptography library, golang.org/x/crypto, before v0.0.0-20190320223903-b7391e95e576. A flaw was found in the amd64 implementation of the golang.org/x/crypto/salsa20 and golang.org/x/crypto/salsa20/salsa packages. 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.
Severity
5.9 (Medium)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-go.crypto-dev",
"binary_version": "1:0.0~git20151201.0.7b85b09-2ubuntu0.1~esm3"
},
{
"binary_name": "golang-golang-x-crypto-dev",
"binary_version": "1:0.0~git20151201.0.7b85b09-2ubuntu0.1~esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "golang-go.crypto",
"purl": "pkg:deb/ubuntu/golang-go.crypto@1:0.0~git20151201.0.7b85b09-2ubuntu0.1~esm3?arch=source\u0026distro=esm-infra-legacy/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:0.0~git20150608-1",
"1:0.0~git20151201.0.7b85b09-2",
"1:0.0~git20151201.0.7b85b09-2ubuntu0.1~esm1",
"1:0.0~git20151201.0.7b85b09-2ubuntu0.1~esm2",
"1:0.0~git20151201.0.7b85b09-2ubuntu0.1~esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-snapcore-snapd-dev",
"binary_version": "2.61.4ubuntu0.16.04.1+esm2"
},
{
"binary_name": "golang-github-ubuntu-core-snappy-dev",
"binary_version": "2.61.4ubuntu0.16.04.1+esm2"
},
{
"binary_name": "snap-confine",
"binary_version": "2.61.4ubuntu0.16.04.1+esm2"
},
{
"binary_name": "snapd",
"binary_version": "2.61.4ubuntu0.16.04.1+esm2"
},
{
"binary_name": "snapd-xdg-open",
"binary_version": "2.61.4ubuntu0.16.04.1+esm2"
},
{
"binary_name": "ubuntu-core-launcher",
"binary_version": "2.61.4ubuntu0.16.04.1+esm2"
},
{
"binary_name": "ubuntu-core-snapd-units",
"binary_version": "2.61.4ubuntu0.16.04.1+esm2"
},
{
"binary_name": "ubuntu-snappy",
"binary_version": "2.61.4ubuntu0.16.04.1+esm2"
},
{
"binary_name": "ubuntu-snappy-cli",
"binary_version": "2.61.4ubuntu0.16.04.1+esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "snapd",
"purl": "pkg:deb/ubuntu/snapd@2.61.4ubuntu0.16.04.1+esm2?arch=source\u0026distro=esm-infra/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.9",
"1.9.1.1",
"1.9.2",
"2.0",
"2.0.1",
"2.0.2",
"2.0.3",
"2.0.5",
"2.0.8",
"2.0.9",
"2.0.10",
"2.11+0.16.04",
"2.12+0.16.04",
"2.13",
"2.14.2~16.04",
"2.15.2ubuntu1",
"2.16ubuntu3",
"2.17.1ubuntu1",
"2.20.1ubuntu1",
"2.21",
"2.22.2",
"2.22.3",
"2.22.6",
"2.23.1",
"2.24.1",
"2.25",
"2.26.10",
"2.27.5",
"2.28.5",
"2.29.4.2",
"2.32.3.2",
"2.32.9",
"2.33.1ubuntu2",
"2.34.2",
"2.34.2ubuntu0.1",
"2.37.4",
"2.37.4ubuntu0.1",
"2.38",
"2.39.2",
"2.39.2ubuntu0.2",
"2.40",
"2.42.1",
"2.45.1",
"2.45.1ubuntu0.2",
"2.46.1",
"2.47.1",
"2.48",
"2.48.3",
"2.54.3+16.04~esm2",
"2.54.3+16.04.0ubuntu0.1~esm3",
"2.54.3+16.04.0ubuntu0.1~esm4",
"2.54.3+16.04.0ubuntu0.1~esm5",
"2.54.3+16.04.0ubuntu0.1~esm6",
"2.61.4ubuntu0.16.04.1+esm1",
"2.61.4ubuntu0.16.04.1+esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-snapcore-snapd-dev",
"binary_version": "2.61.4ubuntu0.18.04.1+esm2"
},
{
"binary_name": "golang-github-ubuntu-core-snappy-dev",
"binary_version": "2.61.4ubuntu0.18.04.1+esm2"
},
{
"binary_name": "snap-confine",
"binary_version": "2.61.4ubuntu0.18.04.1+esm2"
},
{
"binary_name": "snapd",
"binary_version": "2.61.4ubuntu0.18.04.1+esm2"
},
{
"binary_name": "snapd-xdg-open",
"binary_version": "2.61.4ubuntu0.18.04.1+esm2"
},
{
"binary_name": "ubuntu-core-launcher",
"binary_version": "2.61.4ubuntu0.18.04.1+esm2"
},
{
"binary_name": "ubuntu-core-snapd-units",
"binary_version": "2.61.4ubuntu0.18.04.1+esm2"
},
{
"binary_name": "ubuntu-snappy",
"binary_version": "2.61.4ubuntu0.18.04.1+esm2"
},
{
"binary_name": "ubuntu-snappy-cli",
"binary_version": "2.61.4ubuntu0.18.04.1+esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "snapd",
"purl": "pkg:deb/ubuntu/snapd@2.61.4ubuntu0.18.04.1+esm2?arch=source\u0026distro=esm-infra/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.28.5+17.10",
"2.29.4.1+18.04",
"2.29.4.2+18.04",
"2.31.1+18.04",
"2.32+18.04~pre5",
"2.32+18.04~pre6",
"2.32+18.04",
"2.32.3.2+18.04",
"2.32.5+18.04",
"2.32.8+18.04",
"2.32.9+18.04",
"2.33.1+18.04ubuntu2",
"2.34.2+18.04",
"2.34.2+18.04.1",
"2.37.1+18.04",
"2.37.1.1+18.04",
"2.37.4+18.04",
"2.37.4+18.04.1",
"2.38+18.04",
"2.39.2+18.04",
"2.40+18.04",
"2.42.1+18.04",
"2.45.1+18.04",
"2.45.1+18.04.2",
"2.46.1+18.04",
"2.47.1+18.04",
"2.48+18.04",
"2.48.3+18.04",
"2.49.2+18.04",
"2.51.1+18.04",
"2.54.2+18.04ubuntu1",
"2.54.3+18.04",
"2.54.3+18.04.2ubuntu0.1",
"2.54.3+18.04.2ubuntu0.2",
"2.55.5+18.04",
"2.57.5+18.04",
"2.57.5+18.04ubuntu0.1",
"2.58+18.04",
"2.58+18.04.1",
"2.61.4ubuntu0.18.04.1+esm1",
"2.61.4ubuntu0.18.04.1+esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-go.crypto-dev",
"binary_version": "1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm3"
},
{
"binary_name": "golang-golang-x-crypto-dev",
"binary_version": "1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-go.crypto",
"purl": "pkg:deb/ubuntu/golang-go.crypto@1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm3?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:0.0~git20170629.0.5ef0053-1ubuntu1",
"1:0.0~git20170629.0.5ef0053-1ubuntu2",
"1:0.0~git20170629.0.5ef0053-2",
"1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm1",
"1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm2",
"1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-snapcore-snapd-dev",
"binary_version": "2.67.1+20.04ubuntu1~esm1"
},
{
"binary_name": "golang-github-ubuntu-core-snappy-dev",
"binary_version": "2.67.1+20.04ubuntu1~esm1"
},
{
"binary_name": "snap-confine",
"binary_version": "2.67.1+20.04ubuntu1~esm1"
},
{
"binary_name": "snapd",
"binary_version": "2.67.1+20.04ubuntu1~esm1"
},
{
"binary_name": "snapd-xdg-open",
"binary_version": "2.67.1+20.04ubuntu1~esm1"
},
{
"binary_name": "ubuntu-core-launcher",
"binary_version": "2.67.1+20.04ubuntu1~esm1"
},
{
"binary_name": "ubuntu-core-snapd-units",
"binary_version": "2.67.1+20.04ubuntu1~esm1"
},
{
"binary_name": "ubuntu-snappy",
"binary_version": "2.67.1+20.04ubuntu1~esm1"
},
{
"binary_name": "ubuntu-snappy-cli",
"binary_version": "2.67.1+20.04ubuntu1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "snapd",
"purl": "pkg:deb/ubuntu/snapd@2.67.1+20.04ubuntu1~esm1?arch=source\u0026distro=esm-infra/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.41+19.10.1",
"2.42.1+20.04",
"2.43.3+git1.8109f8",
"2.44~pre1+20.04",
"2.44+20.04",
"2.44.2+20.04",
"2.44.3+20.04",
"2.45.1+20.04",
"2.45.1+20.04.2",
"2.46.1+20.04",
"2.47.1+20.04",
"2.48+20.04",
"2.48.3+20.04",
"2.49.2+20.04",
"2.51.1+20.04ubuntu2",
"2.54.2+20.04ubuntu2",
"2.54.3+20.04",
"2.54.3+20.04.1",
"2.54.3+20.04.1ubuntu0.1",
"2.54.3+20.04.1ubuntu0.2",
"2.54.3+20.04.1ubuntu0.3",
"2.55.5+20.04",
"2.57.5+20.04",
"2.57.5+20.04ubuntu0.1",
"2.58+20.04",
"2.58+20.04.1",
"2.61.3+20.04",
"2.62+20.04",
"2.63+20.04",
"2.63+20.04ubuntu0.1",
"2.65.3+20.04",
"2.66.1+20.04",
"2.67.1+20.04",
"2.67.1+20.04ubuntu1~esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-snapcore-snapd-dev",
"binary_version": "2.75.2+ubuntu22.04"
},
{
"binary_name": "golang-github-ubuntu-core-snappy-dev",
"binary_version": "2.75.2+ubuntu22.04"
},
{
"binary_name": "snap-confine",
"binary_version": "2.75.2+ubuntu22.04"
},
{
"binary_name": "snapd",
"binary_version": "2.75.2+ubuntu22.04"
},
{
"binary_name": "snapd-xdg-open",
"binary_version": "2.75.2+ubuntu22.04"
},
{
"binary_name": "ubuntu-core-launcher",
"binary_version": "2.75.2+ubuntu22.04"
},
{
"binary_name": "ubuntu-core-snapd-units",
"binary_version": "2.75.2+ubuntu22.04"
},
{
"binary_name": "ubuntu-snappy",
"binary_version": "2.75.2+ubuntu22.04"
},
{
"binary_name": "ubuntu-snappy-cli",
"binary_version": "2.75.2+ubuntu22.04"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "snapd",
"purl": "pkg:deb/ubuntu/snapd@2.75.2+ubuntu22.04?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.53+21.10ubuntu1",
"2.54.2+22.04ubuntu1",
"2.54.2+22.04ubuntu2",
"2.54.2+22.04ubuntu3",
"2.54.3+git19.g868fc21+22.04",
"2.54.3+git26.g360067e+22.04",
"2.55.2+22.04",
"2.55.2+22.04.1",
"2.55.3+22.04",
"2.55.3+22.04ubuntu1",
"2.55.5+22.04",
"2.56.2+22.04ubuntu1",
"2.57.4+22.04",
"2.57.5+22.04",
"2.57.5+22.04ubuntu0.1",
"2.58+22.04",
"2.58+22.04.1",
"2.61.3+22.04",
"2.62+22.04",
"2.63+22.04",
"2.63+22.04ubuntu0.1",
"2.65.3+22.04",
"2.66.1+22.04",
"2.67.1+22.04",
"2.68.5+ubuntu22.04.1",
"2.71+ubuntu22.04",
"2.72+ubuntu22.04",
"2.73+ubuntu22.04",
"2.73+ubuntu22.04.1",
"2.74.1+ubuntu22.04.4",
"2.75.2+ubuntu22.04"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-snapcore-snapd-dev",
"binary_version": "2.76+ubuntu24.04"
},
{
"binary_name": "golang-github-ubuntu-core-snappy-dev",
"binary_version": "2.76+ubuntu24.04"
},
{
"binary_name": "snap-confine",
"binary_version": "2.76+ubuntu24.04"
},
{
"binary_name": "snapd",
"binary_version": "2.76+ubuntu24.04"
},
{
"binary_name": "snapd-xdg-open",
"binary_version": "2.76+ubuntu24.04"
},
{
"binary_name": "ubuntu-core-launcher",
"binary_version": "2.76+ubuntu24.04"
},
{
"binary_name": "ubuntu-core-snapd-units",
"binary_version": "2.76+ubuntu24.04"
},
{
"binary_name": "ubuntu-snappy",
"binary_version": "2.76+ubuntu24.04"
},
{
"binary_name": "ubuntu-snappy-cli",
"binary_version": "2.76+ubuntu24.04"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "snapd",
"purl": "pkg:deb/ubuntu/snapd@2.76+ubuntu24.04?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.60.4+23.10",
"2.61.3+24.04",
"2.62+24.04build1",
"2.63+24.04",
"2.63+24.04ubuntu0.1",
"2.63.1+24.04",
"2.65.3+24.04",
"2.66.1+24.04",
"2.67.1+24.04",
"2.68.5+ubuntu24.04.1",
"2.71+ubuntu24.04",
"2.72+ubuntu24.04",
"2.73+ubuntu24.04",
"2.73+ubuntu24.04.1",
"2.73+ubuntu24.04.2",
"2.74.1+ubuntu24.04.4",
"2.75.2+ubuntu24.04",
"2.76+ubuntu24.04"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-snapcore-snapd-dev",
"binary_version": "2.75.2+ubuntu25.10"
},
{
"binary_name": "golang-github-ubuntu-core-snappy-dev",
"binary_version": "2.75.2+ubuntu25.10"
},
{
"binary_name": "snap-confine",
"binary_version": "2.75.2+ubuntu25.10"
},
{
"binary_name": "snapd",
"binary_version": "2.75.2+ubuntu25.10"
},
{
"binary_name": "snapd-xdg-open",
"binary_version": "2.75.2+ubuntu25.10"
},
{
"binary_name": "ubuntu-core-launcher",
"binary_version": "2.75.2+ubuntu25.10"
},
{
"binary_name": "ubuntu-core-snapd-units",
"binary_version": "2.75.2+ubuntu25.10"
},
{
"binary_name": "ubuntu-snappy",
"binary_version": "2.75.2+ubuntu25.10"
},
{
"binary_name": "ubuntu-snappy-cli",
"binary_version": "2.75.2+ubuntu25.10"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "snapd",
"purl": "pkg:deb/ubuntu/snapd@2.75.2+ubuntu25.10?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.67.1+25.04",
"2.68.5+ubuntu25.10.2",
"2.71+ubuntu25.10",
"2.71.1+ubuntu25.10.1",
"2.72+ubuntu25.10.2",
"2.73+ubuntu25.10",
"2.73+ubuntu25.10.1",
"2.74.1+ubuntu25.10.4",
"2.75.2+ubuntu25.10"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-snapcore-snapd-dev",
"binary_version": "2.76+ubuntu26.04.2"
},
{
"binary_name": "snapd",
"binary_version": "2.76+ubuntu26.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "snapd",
"purl": "pkg:deb/ubuntu/snapd@2.76+ubuntu26.04.2?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.71.1+ubuntu25.10.1",
"2.72+ubuntu26.04.1",
"2.73+ubuntu26.04.1",
"2.74+ubuntu26.04",
"2.74.1+ubuntu26.04",
"2.74.1+ubuntu26.04.3",
"2.74.1+ubuntu26.04.4",
"2.75.2+ubuntu26.04.2",
"2.76+ubuntu26.04.2"
]
}
],
"aliases": [],
"details": "An issue was discovered in the supplementary Go cryptography library, golang.org/x/crypto, before v0.0.0-20190320223903-b7391e95e576. A flaw was found in the amd64 implementation of the golang.org/x/crypto/salsa20 and golang.org/x/crypto/salsa20/salsa packages. 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.",
"id": "UBUNTU-CVE-2019-11840",
"modified": "2026-07-20T13:48:59Z",
"published": "2019-05-09T16:29:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2019-11840"
},
{
"type": "REPORT",
"url": "https://go.googlesource.com/crypto/+/b7391e95e576cacdcdd422573063bc057239113d"
},
{
"type": "REPORT",
"url": "https://groups.google.com/forum/#!msg/golang-announce/tjyNcJxb2vQ/n0NRBziSCAAJ"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2019-11840"
}
],
"related": [],
"schema_version": "1.7.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"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2019-11840"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…