CVE-2012-0814
The auth_parse_options function in auth-options.c in sshd in OpenSSH before 5.7 provides debug messages containing authorized_keys…
Check your servers for CVE-2012-0814
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-2012-0814 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 auth_parse_options function in auth-options.c in sshd in OpenSSH before 5.7 provides debug messages containing authorized_keys command options, which allows remote authenticated users to obtain potentially sensitive information by reading these messages, as demonstrated by the shared user account required by Gitolite. NOTE: this can cross privilege boundaries because a user account may intentionally have no shell or filesystem access, and therefore may have no supported way to read an authorized_keys file in its own home directory.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- 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 none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 3.58%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 90.1% of all scored CVEs. Scores of 27 Nov 2026.
The assessment of CISA (SSVC, 22 May 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-532 Insertion of Sensitive Information into Log File
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-2012-0814 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2012-0814RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2012-0814Alpine
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-2012-0814
trivy image --scanners vuln IMAGE | grep CVE-2012-0814
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
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10673 kb.juniper.net
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657445 bugs.debian.org
- http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/auth-options.c openbsd.org
- http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/auth-options.c.diff?r1=1.53%3Br2=1.54 openbsd.org
Other references
- 51702 securityfocus.com · vdb entry
- [oss-security] 20120127 Re: CVE Request: Debian (others?) openssh-server: Forced Command handling leaks private… openwall.com · mailing list
- [oss-security] 20120126 CVE Request: Debian (others?) openssh-server: Forced Command handling leaks private… openwall.com · mailing list
- 78706 osvdb.org · vdb entry
- opensshserver-commands-info-disc(72756) exchange.xforce.ibmcloud.com · vdb entry
- [oss-security] 20120126 Re: CVE Request: Debian (others?) openssh-server: Forced Command handling leaks private… openwall.com · mailing list
- [oss-security] 20120126 Re: CVE Request: Debian (others?) openssh-server: Forced Command handling leaks private… openwall.com · mailing list
Source: the record CVE-2012-0814 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