CVE-2002-0391
Integer overflow in xdr_array function in RPC servers for operating systems that use libc, glibc, or other code based on SunRPC…
Check your servers for CVE-2002-0391
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-2002-0391 affects a package, with the command that installs the fix. The free plan covers one server and does not need a credit card.
Description
Integer overflow in xdr_array function in RPC servers for operating systems that use libc, glibc, or other code based on SunRPC including dietlibc, allows remote attackers to execute arbitrary code by passing a large number of arguments to xdr_array through RPC services such as rpc.cmsd and dmispd.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- 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
- none: the attacker does not need an 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 58.1%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.3% of all scored CVEs. Scores of 26 Nov 2026.
The assessment of CISA (SSVC, 8 Feb 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-190 Integer Overflow or Wraparound
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-2002-0391 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2002-0391RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2002-0391Alpine
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-2002-0391
trivy image --scanners vuln IMAGE | grep CVE-2002-0391
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
34 of 38 references. The list leaves out addresses that are not web links and those after the first 300; all of them are in the record on cve.org.
Advisories
- CA-2002-25 cert.org · third party advisory
- HPSBTL0208-061 online.securityfocus.com · vendor advisory
- DSA-146 debian.org · vendor advisory
- RHSA-2002:166 rhn.redhat.com · vendor advisory
- HPSBUX0209-215 archives.neohapsis.com · vendor advisory
- DSA-143 debian.org · vendor advisory
- 20020731 Remote Buffer Overflow Vulnerability in Sun RPC bvlive01.iss.net · third party advisory
- CLA-2002:515 distro.conectiva.com.br · vendor advisory
- CLA-2002:535 distro.conectiva.com.br · vendor advisory
- RHSA-2003:212 redhat.com · vendor advisory
- MS02-057 docs.microsoft.com · vendor advisory
- DSA-142 debian.org · vendor advisory
11 more
- IY34194 archives.neohapsis.com · vendor advisory
- RHSA-2002:167 redhat.com · vendor advisory
- FreeBSD-SA-02:34.rpc marc.info · vendor advisory
- RHSA-2002:173 redhat.com · vendor advisory
- VU#192995 kb.cert.org · third party advisory
- RHSA-2002:172 rhn.redhat.com · vendor advisory
- ESA-20021003-021 linuxsecurity.com · vendor advisory
- MDKSA-2002:057 mandrakesoft.com · vendor advisory
- DSA-149 debian.org · vendor advisory
- DSA-333 debian.org · vendor advisory
- RHSA-2003:168 redhat.com · vendor advisory
Other references
- sunrpc-xdr-array-bo(9170) iss.net · vdb entry
- 20020909 GLSA: glibc marc.info · mailing list
- 20020803 OpenAFS Security Advisory 2002-001: Remote root vulnerability in OpenAFS servers archives.neohapsis.com · mailing list
- 5356 securityfocus.com · vdb entry
- 20020802 kerberos rpc xdr_array online.securityfocus.com · mailing list
- 20020731 Remote Buffer Overflow Vulnerability in Sun RPC marc.info · mailing list
- 20020801 RPC analysis marc.info · mailing list
- oval:org.mitre.oval:def:4728 oval.cisecurity.org · vdb entry, signature
- oval:org.mitre.oval:def:42 oval.cisecurity.org · vdb entry, signature
- oval:org.mitre.oval:def:9 oval.cisecurity.org · vdb entry, signature
- 20020802 MITKRB5-SA-2002-001: Remote root vulnerability in MIT krb5 admin marc.info · mailing list
Source: the record CVE-2002-0391 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