ubuntu-cve-2020-12062
Vulnerability from osv_ubuntu
Published
2020-06-01 16:15
Modified
2026-07-21 15:07
Summary
Details
The scp client in OpenSSH 8.2 incorrectly sends duplicate responses to the server upon a utimes system call failure, which allows a malicious unprivileged user on the remote server to overwrite arbitrary files in the client's download directory by creating a crafted subdirectory anywhere on the remote server. The victim must use the command scp -rp to download a file hierarchy containing, anywhere inside, this crafted subdirectory. NOTE: the vendor points out that "this attack can achieve no more than a hostile peer is already able to achieve within the scp protocol" and "utimes does not fail under normal circumstances.
Severity
7.5 (High)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "openssh-client",
"binary_version": "1:6.6p1-2ubuntu2.13+esm2"
},
{
"binary_name": "openssh-server",
"binary_version": "1:6.6p1-2ubuntu2.13+esm2"
},
{
"binary_name": "openssh-sftp-server",
"binary_version": "1:6.6p1-2ubuntu2.13+esm2"
},
{
"binary_name": "ssh",
"binary_version": "1:6.6p1-2ubuntu2.13+esm2"
},
{
"binary_name": "ssh-askpass-gnome",
"binary_version": "1:6.6p1-2ubuntu2.13+esm2"
},
{
"binary_name": "ssh-krb5",
"binary_version": "1:6.6p1-2ubuntu2.13+esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "openssh",
"purl": "pkg:deb/ubuntu/openssh@1:6.6p1-2ubuntu2.13+esm2?arch=source\u0026distro=esm-infra-legacy/trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:6.2p2-6",
"1:6.2p2-6ubuntu1",
"1:6.4p1-1",
"1:6.4p1-2",
"1:6.5p1-1",
"1:6.5p1-2",
"1:6.5p1-3",
"1:6.5p1-4",
"1:6.5p1-6",
"1:6.6p1-1",
"1:6.6p1-2",
"1:6.6p1-2ubuntu1",
"1:6.6p1-2ubuntu2",
"1:6.6p1-2ubuntu2.2",
"1:6.6p1-2ubuntu2.3",
"1:6.6p1-2ubuntu2.4",
"1:6.6p1-2ubuntu2.6",
"1:6.6p1-2ubuntu2.7",
"1:6.6p1-2ubuntu2.8",
"1:6.6p1-2ubuntu2.10",
"1:6.6p1-2ubuntu2.11",
"1:6.6p1-2ubuntu2.12",
"1:6.6p1-2ubuntu2.13",
"1:6.6p1-2ubuntu2.13+esm1",
"1:6.6p1-2ubuntu2.13+esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "openssh-client",
"binary_version": "1:7.2p2-4ubuntu2.10+esm9"
},
{
"binary_name": "openssh-client-ssh1",
"binary_version": "1:7.2p2-4ubuntu2.10+esm9"
},
{
"binary_name": "openssh-server",
"binary_version": "1:7.2p2-4ubuntu2.10+esm9"
},
{
"binary_name": "openssh-sftp-server",
"binary_version": "1:7.2p2-4ubuntu2.10+esm9"
},
{
"binary_name": "ssh",
"binary_version": "1:7.2p2-4ubuntu2.10+esm9"
},
{
"binary_name": "ssh-askpass-gnome",
"binary_version": "1:7.2p2-4ubuntu2.10+esm9"
},
{
"binary_name": "ssh-krb5",
"binary_version": "1:7.2p2-4ubuntu2.10+esm9"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "openssh",
"purl": "pkg:deb/ubuntu/openssh@1:7.2p2-4ubuntu2.10+esm9?arch=source\u0026distro=esm-infra-legacy/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:6.9p1-2",
"1:6.9p1-3",
"1:7.1p1-1",
"1:7.1p1-3",
"1:7.1p1-4",
"1:7.1p1-6",
"1:7.1p2-1",
"1:7.1p2-2",
"1:7.2p1-1",
"1:7.2p2-1",
"1:7.2p2-2",
"1:7.2p2-3",
"1:7.2p2-4",
"1:7.2p2-4ubuntu1",
"1:7.2p2-4ubuntu2.1",
"1:7.2p2-4ubuntu2.2",
"1:7.2p2-4ubuntu2.4",
"1:7.2p2-4ubuntu2.5",
"1:7.2p2-4ubuntu2.6",
"1:7.2p2-4ubuntu2.7",
"1:7.2p2-4ubuntu2.8",
"1:7.2p2-4ubuntu2.10",
"1:7.2p2-4ubuntu2.10+esm1",
"1:7.2p2-4ubuntu2.10+esm2",
"1:7.2p2-4ubuntu2.10+esm3",
"1:7.2p2-4ubuntu2.10+esm4",
"1:7.2p2-4ubuntu2.10+esm5",
"1:7.2p2-4ubuntu2.10+esm6",
"1:7.2p2-4ubuntu2.10+esm7",
"1:7.2p2-4ubuntu2.10+esm8",
"1:7.2p2-4ubuntu2.10+esm9"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "openssh-client",
"binary_version": "1:7.6p1-4ubuntu0.7+esm4"
},
{
"binary_name": "openssh-server",
"binary_version": "1:7.6p1-4ubuntu0.7+esm4"
},
{
"binary_name": "openssh-sftp-server",
"binary_version": "1:7.6p1-4ubuntu0.7+esm4"
},
{
"binary_name": "ssh",
"binary_version": "1:7.6p1-4ubuntu0.7+esm4"
},
{
"binary_name": "ssh-askpass-gnome",
"binary_version": "1:7.6p1-4ubuntu0.7+esm4"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "openssh",
"purl": "pkg:deb/ubuntu/openssh@1:7.6p1-4ubuntu0.7+esm4?arch=source\u0026distro=esm-infra/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:7.5p1-10",
"1:7.6p1-4",
"1:7.6p1-4ubuntu0.1",
"1:7.6p1-4ubuntu0.2",
"1:7.6p1-4ubuntu0.3",
"1:7.6p1-4ubuntu0.5",
"1:7.6p1-4ubuntu0.6",
"1:7.6p1-4ubuntu0.7",
"1:7.6p1-4ubuntu0.7+esm1",
"1:7.6p1-4ubuntu0.7+esm2",
"1:7.6p1-4ubuntu0.7+esm3",
"1:7.6p1-4ubuntu0.7+esm4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "openssh-client-ssh1",
"binary_version": "1:7.5p1-10"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "openssh-ssh1",
"purl": "pkg:deb/ubuntu/openssh-ssh1@1:7.5p1-10?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:7.5p1-8",
"1:7.5p1-9",
"1:7.5p1-9build1",
"1:7.5p1-10"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "openssh-client",
"binary_version": "1:8.2p1-4ubuntu0.13+esm1"
},
{
"binary_name": "openssh-server",
"binary_version": "1:8.2p1-4ubuntu0.13+esm1"
},
{
"binary_name": "openssh-sftp-server",
"binary_version": "1:8.2p1-4ubuntu0.13+esm1"
},
{
"binary_name": "openssh-tests",
"binary_version": "1:8.2p1-4ubuntu0.13+esm1"
},
{
"binary_name": "ssh",
"binary_version": "1:8.2p1-4ubuntu0.13+esm1"
},
{
"binary_name": "ssh-askpass-gnome",
"binary_version": "1:8.2p1-4ubuntu0.13+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "openssh",
"purl": "pkg:deb/ubuntu/openssh@1:8.2p1-4ubuntu0.13+esm1?arch=source\u0026distro=esm-infra/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:8.0p1-6build1",
"1:8.1p1-1",
"1:8.1p1-5",
"1:8.2p1-4",
"1:8.2p1-4ubuntu0.1",
"1:8.2p1-4ubuntu0.2",
"1:8.2p1-4ubuntu0.3",
"1:8.2p1-4ubuntu0.4",
"1:8.2p1-4ubuntu0.5",
"1:8.2p1-4ubuntu0.7",
"1:8.2p1-4ubuntu0.8",
"1:8.2p1-4ubuntu0.9",
"1:8.2p1-4ubuntu0.10",
"1:8.2p1-4ubuntu0.11",
"1:8.2p1-4ubuntu0.12",
"1:8.2p1-4ubuntu0.13",
"1:8.2p1-4ubuntu0.13+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "openssh-client-ssh1",
"binary_version": "1:7.5p1-11build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "openssh-ssh1",
"purl": "pkg:deb/ubuntu/openssh-ssh1@1:7.5p1-11build1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:7.5p1-11build1"
]
}
],
"aliases": [],
"details": "The scp client in OpenSSH 8.2 incorrectly sends duplicate responses to the server upon a utimes system call failure, which allows a malicious unprivileged user on the remote server to overwrite arbitrary files in the client\u0027s download directory by creating a crafted subdirectory anywhere on the remote server. The victim must use the command scp -rp to download a file hierarchy containing, anywhere inside, this crafted subdirectory. NOTE: the vendor points out that \"this attack can achieve no more than a hostile peer is already able to achieve within the scp protocol\" and \"utimes does not fail under normal circumstances.",
"id": "UBUNTU-CVE-2020-12062",
"modified": "2026-07-21T15:07:38Z",
"published": "2020-06-01T16:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2020-12062"
},
{
"type": "REPORT",
"url": "https://www.openssh.com/txt/release-8.3"
},
{
"type": "REPORT",
"url": "https://www.openwall.com/lists/oss-security/2020/05/27/1"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2020-12062"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"type": "CVSS_V3"
},
{
"score": "negligible",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2020-12062"
]
}
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…