CVE-2012-3418
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2012-3418 NameCVE-2012-3418 Descriptionlibpcp 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)โฆ
CVE-2012-3418
| Name | CVE-2012-3418 |
| Description | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-2533-1 |
| Debian Bugs | 685476 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| pcp (PTS) | bullseye | 5.2.6-1 | fixed |
| bookworm | 6.0.3-1.1 | fixed | |
| trixie | 6.3.8-1 | fixed | |
| forky, sid | 7.1.5-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| pcp | source | squeeze | 3.3.3-squeeze2 | DSA-2533-1 | ||
| pcp | source | (unstable) | 3.6.5 | 685476 |
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 3.6.5 |
| debian | bullseye | fixed | 3.6.5 |
| debian | forky | fixed | 3.6.5 |
| debian | sid | fixed | 3.6.5 |
| debian | trixie | fixed | 3.6.5 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| sgi | performance_co-pilot | {"endIncluding":"3.6.4"} | |
| sgi | performance_co-pilot | 2.1.1 | |
| sgi | performance_co-pilot | 2.1.2 | |
| sgi | performance_co-pilot | 2.1.3 | |
| sgi | performance_co-pilot | 2.1.4 | |
| sgi | performance_co-pilot | 2.1.5 | |
| sgi | performance_co-pilot | 2.1.6 | |
| sgi | performance_co-pilot | 2.1.7 | |
| sgi | performance_co-pilot | 2.1.8 | |
| sgi | performance_co-pilot | 2.1.9 | |
| sgi | performance_co-pilot | 2.1.10 | |
| sgi | performance_co-pilot | 2.1.11 | |
| sgi | performance_co-pilot | 2.2 | |
References
- http://lists.fedoraproject.org/pipermail/package-announce/2012-August/085324.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-August/085333.html
- http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00024.html
- http://oss.sgi.com/cgi-bin/gitweb.cgi?p=pcp/pcp.git%3Ba=blob%3Bf=CHANGELOG%3Bh=16c9cbb2f61d909487ea1c3171f4ab33e5648ac5%3Bhb=fe51067ae869a4d59f350ac319b09edcb77ac8e6
- http://oss.sgi.com/cgi-bin/gitweb.cgi?p=pcp/pcp.git%3Ba=commit%3Bh=b441980d53be1835b25f0cd6bcc0062da82032dd
- http://oss.sgi.com/cgi-bin/gitweb.cgi?p=pcp/pcp.git%3Ba=commit%3Bh=babd6c5c527f87ec838c13a1b4eba612af6ea27c
- 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=f190942b552aa80d59bbe718866aa00b8e3fd5cc
- 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=commitdiff%3Bh=7eb479b91ef12bf89a15b078af2107c8c4746a4a
- http://oss.sgi.com/cgi-bin/gitweb.cgi?p=pcp/pcp.git%3Ba=commitdiff%3Bh=9f4e392c97ce42744ec73f82268ce6c815fdca0e
- http://oss.sgi.com/cgi-bin/gitweb.cgi?p=pcp/pcp.git%3Ba=commitdiff%3Bh=bfb3ab8c6b3d75b1a6580feee76a7d0925a3633c
- http://oss.sgi.com/cgi-bin/gitweb.cgi?p=pcp/pcp.git%3Ba=commitdiff%3Bh=cced6012b4b93bfb640a9678589ced5416743910
- http://oss.sgi.com/cgi-bin/gitweb.cgi?p=pcp/pcp.git%3Ba=commitdiff%3Bh=f0eaefe046b1061797f45b0c20bb2ac371b504a5
- http://www.debian.org/security/2012/dsa-2533
- http://www.openwall.com/lists/oss-security/2012/08/16/1
- https://bugzilla.redhat.com/show_bug.cgi?id=840822
- https://bugzilla.redhat.com/show_bug.cgi?id=840920
- https://bugzilla.redhat.com/show_bug.cgi?id=841112
- https://bugzilla.redhat.com/show_bug.cgi?id=841126
- https://bugzilla.redhat.com/show_bug.cgi?id=841159
- https://bugzilla.redhat.com/show_bug.cgi?id=841180
- https://bugzilla.redhat.com/show_bug.cgi?id=841183
- https://bugzilla.redhat.com/show_bug.cgi?id=841240
- https://bugzilla.redhat.com/show_bug.cgi?id=841249
CWEs
CWE-189
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.