CVE-2010-3316
The run_coprocess function in pam_xauth.c in the pam_xauth module in Linux-PAM (aka pam) before 1.1.2 does not check the return values…
Check your servers for CVE-2010-3316
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2010-3316 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
The run_coprocess function in pam_xauth.c in the pam_xauth module in Linux-PAM (aka pam) before 1.1.2 does not check the return values of the setuid, setgid, and setgroups system calls, which might allow local users to read arbitrary files by executing a program that relies on the pam_xauth PAM check.
Exploitation
EPSS 0.38%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 23.6% of all scored CVEs. Scores of 29 Nov 2026.
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-2010-3316 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2010-3316RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2010-3316Alpine
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-2010-3316
trivy image --scanners vuln IMAGE | grep CVE-2010-3316
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 and one domain or read how to install the collector.
References
Advisories
- GLSA-201206-31 security.gentoo.org · vendor advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=637898 bugzilla.redhat.com
- MDVSA-2010:220 mandriva.com · vendor advisory
- 49711 secunia.com · third party advisory
- http://git.altlinux.org/people/ldv/packages/?p=pam.git%3Ba=commit%3Bh=06f882f30092a39a1db867c9744b2ca8d60e4ad6 git.altlinux.org
- RHSA-2010:0891 redhat.com · vendor advisory
- RHSA-2010:0819 redhat.com · vendor advisory
- http://www.vmware.com/security/advisories/VMSA-2011-0004.html vmware.com
Other references
- [oss-security] 20100927 Re: Minor security flaw with pam_xauth openwall.com · mailing list
- [oss-security] 20100921 Re: Minor security flaw with pam_xauth openwall.com · mailing list
- [security-announce] 20110307 VMSA-2011-0004 VMware ESX/ESXi SLPD denial of service vulnerability and ESX third party… lists.vmware.com · mailing list
- ADV-2011-0606 vupen.com · vdb entry
- 20110308 VMSA-2011-0004 VMware ESX/ESXi SLPD denial of service vulnerability and ESX third party updates for Service… securityfocus.com · mailing list
- https://sourceforge.net/tracker/?func=detail&aid=3028213&group_id=6663&atid=106663 sourceforge.net
- [oss-security] 20100924 Re: Minor security flaw with pam_xauth openwall.com · mailing list
- [oss-security] 20100816 Minor security flaw with pam_xauth openwall.com · mailing list
- [oss-security] 20100921 Re: Minor security flaw with pam_xauth openwall.com · mailing list
- [oss-security] 20100928 Re: Minor security flaw with pam_xauth openwall.com · mailing list
- [oss-security] 20100927 Re: Minor security flaw with pam_xauth openwall.com · mailing list
- [oss-security] 20100928 Re: Minor security flaw with pam_xauth openwall.com · mailing list
- [oss-security] 20101025 Re: Minor security flaw with pam_xauth openwall.com · mailing list
Source: the record CVE-2010-3316 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse