CVE-2016-10012
The shared memory manager (associated with pre-authentication compression) in sshd in OpenSSH before 7.4 does not ensure that a bounds…
Check your servers for CVE-2016-10012
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2016-10012 affects a package, with the command that installs the fix. The free plan covers one server and does not need a credit card.
Description
The shared memory manager (associated with pre-authentication compression) in sshd in OpenSSH before 7.4 does not ensure that a bounds check is enforced by all compilers, which might allows local users to gain privileges by leveraging access to a sandboxed privilege-separation process, related to the m_zback and m_zlib data structures.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 1.28%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 70.1% of all scored CVEs. Scores of 27 Nov 2026.
The assessment of CISA (SSVC, 30 Jan 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2016-10012 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2016-10012RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2016-10012Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2016-10012
trivy image --scanners vuln IMAGE | grep CVE-2016-10012
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
Advisories
- RHSA-2017:2029 access.redhat.com · vendor advisory
Other references
- https://security.netapp.com/advisory/ntap-20171130-0002/ security.netapp.com
- [oss-security] 20161219 Announce: OpenSSH 7.4 released openwall.com · mailing list
- 1037490 securitytracker.com · vdb entry
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03818en_us support.hpe.com
- http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.647637 slackware.com
- [debian-lts-announce] 20180910 [SECURITY] [DLA 1500-1] openssh security update lists.debian.org · mailing list
- https://www.openssh.com/txt/release-7.4 openssh.com
- 94975 securityfocus.com · vdb entry
- https://github.com/openbsd/src/commit/3095060f479b86288e31c79ecbc5131a66bcd2f9 github.com
- https://support.f5.com/csp/article/K62201745?utm_source=f5support&%3Butm_medium=RSS support.f5.com
- https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf cert-portal.siemens.com
Source: the record CVE-2016-10012 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse