CVE-2012-3418
libpcp in Performance Co-Pilot (PCP) before 3.6.5 allows remote attackers to cause a denial of service and possibly execute arbitrary code via (1) a PDU with the numcreds field value greater than the number of actual elements to the __pmDecodeCreds function in p_creds.c; (2) the string byte number value to the __pmDecodeNameList function in p_pmns.c; (3) the numids value to the __pmDecodeIDList function in p_pmns.c; (4) unspecified vectors to the __pmDecodeProfile function in p_profile.c; the (5) status number value or (6) string number value to the __pmDecodeNameList function in p_pmns.c; (7) certain input to the __pmDecodeResult function in p_result.c; (8) the name length field (namelen) to the DecodeNameReq function in p_pmns.c; (9) a crafted PDU_FETCH request to the __pmDecodeFetch function in p_fetch.c; (10) the namelen field in the __pmDecodeInstanceReq function in p_instance.c; (11) the buflen field to the __pmDecodeText function in p_text.c; (12) PDU_INSTANCE packets to the __pmDecodeInstance in p_instance.c; or the (13) c_numpmid or (14) v_numval fields to the __pmDecodeLogControl function in p_lcontrol.c, which triggers integer overflows, heap-based buffer overflows, and/or buffer over-reads.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | pcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | pcp | Not affected vulnerable_code_not_present | ||
| Debian 14 | pcp | Fixed | 3.6.5 | DEBIAN-CVE-2012-3418 |
| Debian 13 | pcp | Fixed | 3.6.5 | DEBIAN-CVE-2012-3418 |
| Debian 12 | pcp | Fixed | 3.6.5 | DEBIAN-CVE-2012-3418 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://hermes.opensuse.org/messages/15540133 (vendor-advisory)
- https://hermes.opensuse.org/messages/15540172 (vendor-advisory)
- http://lists.fedoraproject.org/pipermail/package-announce/2012-August/085333.html (vendor-advisory)
- https://hermes.opensuse.org/messages/15471040 (vendor-advisory)
- http://lists.fedoraproject.org/pipermail/package-announce/2012-August/085324.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00024.html (vendor-advisory)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=841249
- http://oss.sgi.com/cgi-bin/gitweb.cgi?p=pcp/pcp.git%3Ba=commitdiff%3Bh=49c679c44425915a8d6aa4af5f90b35384843c12
- http://oss.sgi.com/cgi-bin/gitweb.cgi?p=pcp/pcp.git%3Ba=blob%3Bf=CHANGELOG%3Bh=16c9cbb2f61d909487ea1c3171f4ab33e5648ac5%3Bhb=fe51067ae869a4d59f350ac319b09edcb77ac8e6
- https://bugzilla.redhat.com/show_bug.cgi?id=841183
- https://bugzilla.redhat.com/show_bug.cgi?id=840822
- https://hermes.opensuse.org/messages/15540133
- https://bugzilla.redhat.com/show_bug.cgi?id=841698
- https://bugzilla.redhat.com/show_bug.cgi?id=841284
- https://hermes.opensuse.org/messages/15540172
- http://oss.sgi.com/cgi-bin/gitweb.cgi?p=pcp/pcp.git%3Ba=commit%3Bh=e4faa1f0ba29151340920d975fc7639adf8371d5
- http://oss.sgi.com/cgi-bin/gitweb.cgi?p=pcp/pcp.git%3Ba=commit%3Bh=b441980d53be1835b25f0cd6bcc0062da82032dd
- https://bugzilla.redhat.com/show_bug.cgi?id=840920
- http://www.openwall.com/lists/oss-security/2012/08/16/1
- http://oss.sgi.com/cgi-bin/gitweb.cgi?p=pcp/pcp.git%3Ba=commit%3Bh=babd6c5c527f87ec838c13a1b4eba612af6ea27c
- http://lists.fedoraproject.org/pipermail/package-announce/2012-August/085333.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.