pcp: Local privilege escalation from user pcp to root through migrate_tempdirs
A Improper Limitation of a Pathname to a Restricted Directory vulnerability in the packaging of pcp of SUSE Linux Enterprise High Performance Computing 15-ESPOS, SUSE Linux Enterprise High Performance Computing 15-LTSS, SUSE Linux Enterprise Module for Development Tools 15, SUSE Linux Enterprise Module for Development Tools 15-SP1, SUSE Linux Enterprise Module for Open Buildservice Development Tools 15, SUSE Linux Enterprise Server 15-LTSS, SUSE Linux Enterprise Server for SAP 15, SUSE Linux Enterprise Software Development Kit 12-SP4, SUSE Linux Enterprise Software Development Kit 12-SP5; openSUSE Leap 15.1 allows local user pcp to overwrite arbitrary files with arbitrary content. This issue affects: SUSE Linux Enterprise High Performance Computing 15-ESPOS pcp versions prior to 3.11.9-5.8.1. SUSE Linux Enterprise High Performance Computing 15-LTSS pcp versions prior to 3.11.9-5.8.1. SUSE Linux Enterprise Module for Development Tools 15 pcp versions prior to 3.11.9-5.8.1. SUSE Linux Enterprise Module for Development Tools 15-SP1 pcp versions prior to 4.3.1-3.5.3. SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 pcp versions prior to 3.11.9-5.8.1. SUSE Linux Enterprise Server 15-LTSS pcp versions prior to 3.11.9-5.8.1. SUSE Linux Enterprise Server for SAP 15 pcp versions prior to 3.11.9-5.8.1. SUSE Linux Enterprise Software Development Kit 12-SP4 pcp versions prior to 3.11.9-6.14.1. SUSE Linux Enterprise Software Development Kit 12-SP5 pcp versions prior to 3.11.9-6.14.1. openSUSE Leap 15.1 pcp versions prior to 4.3.1-lp151.2.3.1.
- Published
- Mar 3, 2020
- Updated
- Jun 16, 2026
- EPSS
- 0.5% · 38th percentile
- CWE
- CWE-22
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
29
Monitor
Low priority for now.
- CVSS
- 29 / 40 · 7.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.5%
CNA vs NVD score
- NVD
- 7.3
- CNA · suse
- 8.4
- 1.1 point gap
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpAffected systems
| Vendor | Product | CPE |
|---|---|---|
| suse | linux enterprise high performance computing | cpe:2.3:a:suse:linux_enterprise_high_performance_computing |
| suse | linux enterprise server | cpe:2.3:o:suse:linux_enterprise_server |
| suse | linux enterprise software development kit | cpe:2.3:o:suse:linux_enterprise_software_development_kit |
| opensuse | pcp | cpe:2.3:a:opensuse:pcp |
| opensuse | leap | cpe:2.3:o:opensuse:leap |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- opensuse pcpbefore 3.11.9-5.8.1
- opensuse pcpbefore 4.3.1-3.5.3
- opensuse pcpbefore 3.11.9-6.14.1
- opensuse pcpbefore 4.3.1-lp151.2.3.1
Versions reported by the vendor
Affected version ranges reported by the assigning authority (suse). Independent of NVD's CPE analysis and usually ahead of it.
openSUSE openSUSE Leap 15.1
- pcp and later · before 4.3.1-lp151.2.3.1affected
SUSE SUSE Linux Enterprise High Performance Computing 15-ESPOS
- pcp and later · before 3.11.9-5.8.1affected
SUSE SUSE Linux Enterprise High Performance Computing 15-LTSS
- pcp and later · before 3.11.9-5.8.1affected
SUSE SUSE Linux Enterprise Module for Development Tools 15
- pcp and later · before 3.11.9-5.8.1affected
SUSE SUSE Linux Enterprise Module for Development Tools 15-SP1
- pcp and later · before 4.3.1-3.5.3affected
SUSE SUSE Linux Enterprise Module for Open Buildservice Development Tools 15
- pcp and later · before 3.11.9-5.8.1affected
SUSE SUSE Linux Enterprise Server 15-LTSS
- pcp and later · before 3.11.9-5.8.1affected
SUSE SUSE Linux Enterprise Server for SAP 15
- pcp and later · before 3.11.9-5.8.1affected
SUSE SUSE Linux Enterprise Software Development Kit 12-SP4
- pcp and later · before 3.11.9-6.14.1affected
SUSE SUSE Linux Enterprise Software Development Kit 12-SP5
- pcp and later · before 3.11.9-6.14.1affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| openSUSE:Leap 15.1 | pcp | before 4.3.1-lp151.2.3.1 | 4.3.1-lp151.2.3.1 |
| openSUSE:Tumbleweed | pcp | before 5.2.2-3.4 | 5.2.2-3.4 |
| Red Hat:enterprise_linux:7::client | pcp | before 0:4.3.2-12.el7 | 0:4.3.2-12.el7 |
| Red Hat:enterprise_linux:7::client | pcp-conf | before 0:4.3.2-12.el7 | 0:4.3.2-12.el7 |
| Red Hat:enterprise_linux:7::client | pcp-debuginfo | before 0:4.3.2-12.el7 | 0:4.3.2-12.el7 |
| Red Hat:enterprise_linux:7::client | pcp-devel | before 0:4.3.2-12.el7 | 0:4.3.2-12.el7 |
| Red Hat:enterprise_linux:7::client | pcp-doc | before 0:4.3.2-12.el7 | 0:4.3.2-12.el7 |
| Red Hat:enterprise_linux:7::client | pcp-export-pcp2elasticsearch | before 0:4.3.2-12.el7 | 0:4.3.2-12.el7 |
| Red Hat:enterprise_linux:7::client | pcp-export-pcp2graphite | before 0:4.3.2-12.el7 | 0:4.3.2-12.el7 |
| Red Hat:enterprise_linux:7::client | pcp-export-pcp2influxdb | before 0:4.3.2-12.el7 | 0:4.3.2-12.el7 |
| Red Hat:enterprise_linux:7::client | pcp-export-pcp2json | before 0:4.3.2-12.el7 | 0:4.3.2-12.el7 |
| Red Hat:enterprise_linux:7::client | pcp-export-pcp2spark | before 0:4.3.2-12.el7 | 0:4.3.2-12.el7 |
| Red Hat:enterprise_linux:7::client | pcp-export-pcp2xml | before 0:4.3.2-12.el7 | 0:4.3.2-12.el7 |
| Red Hat:enterprise_linux:7::client | pcp-export-pcp2zabbix | before 0:4.3.2-12.el7 | 0:4.3.2-12.el7 |
| Red Hat:enterprise_linux:7::client | pcp-export-zabbix-agent | before 0:4.3.2-12.el7 | 0:4.3.2-12.el7 |
| Red Hat:enterprise_linux:7::client | pcp-gui | before 0:4.3.2-12.el7 | 0:4.3.2-12.el7 |
| Red Hat:enterprise_linux:7::client | pcp-import-collectl2pcp | before 0:4.3.2-12.el7 | 0:4.3.2-12.el7 |
| Red Hat:enterprise_linux:7::client | pcp-import-ganglia2pcp | before 0:4.3.2-12.el7 | 0:4.3.2-12.el7 |
| Red Hat:enterprise_linux:7::client | pcp-import-iostat2pcp | before 0:4.3.2-12.el7 | 0:4.3.2-12.el7 |
| Red Hat:enterprise_linux:7::client | pcp-import-mrtg2pcp | before 0:4.3.2-12.el7 | 0:4.3.2-12.el7 |
| Red Hat:enterprise_linux:7::client | pcp-import-sar2pcp | before 0:4.3.2-12.el7 | 0:4.3.2-12.el7 |
| Red Hat:enterprise_linux:7::client | pcp-libs | before 0:4.3.2-12.el7 | 0:4.3.2-12.el7 |
| Red Hat:enterprise_linux:7::client | pcp-libs-devel | before 0:4.3.2-12.el7 | 0:4.3.2-12.el7 |
| Red Hat:enterprise_linux:7::client | pcp-manager | before 0:4.3.2-12.el7 | 0:4.3.2-12.el7 |
+96
Same product
suse: all recordsOther highest-scoring records for the same primary product.
- CVE-2020-8025outdated entries in permissions profiles for /var/lib/pcp/tmp/* may cause security issues37Monitor
- CVE-2023-32182A Improper Link Resolution Before File Access ('Link Following') vulnerability in SUSE SUSE Linux Enterprise Desktop 15 SP5 postfix, SUSE SU31Monitor
- CVE-2019-3695pcp: Local privilege escalation from user pcp to root31Monitor
- CVE-2019-18904Migrations requests can cause DoS on rmt30Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| opensuse:pcp | 4.3.1-lp151.2.3.1 · openSUSE:Leap 15.1 | Package registry (OSV) |
| red hat:pcp | 0:5.0.2-5.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:pcp-conf | 0:5.0.2-5.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:pcp-debuginfo | 0:5.0.2-5.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:pcp-debugsource | 0:5.0.2-5.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:pcp-devel | 0:5.0.2-5.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:pcp-devel-debuginfo | 0:5.0.2-5.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:pcp-doc | 0:5.0.2-5.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:pcp-export-pcp2elasticsearch | 0:5.0.2-5.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:pcp-export-pcp2graphite | 0:5.0.2-5.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:pcp-export-pcp2influxdb | 0:5.0.2-5.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:pcp-export-pcp2json | 0:5.0.2-5.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:pcp-export-pcp2spark | 0:5.0.2-5.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| suse:pcp | 4.3.1-3.5.3 · SUSE:Linux Enterprise Module for Development Tools 15 SP1 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Johannes SegitzSUSE
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
nvd-primary
Root cause
A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.
The bug in code
The whole CWE-22 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const file = path.join(ROOT, req.query.name);res.sendFile(file);Fixed
const file = path.resolve(ROOT, req.query.name);if (!file.startsWith(ROOT + path.sep)) { return res.sendStatus(400);}res.sendFile(file);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Path TraversalCAPEC-126likelihood: High · Very High
- Using Slashes and URL Encoding Combined to Bypass Validation LogicCAPEC-64likelihood: High · High
- Manipulating Web Input to File System CallsCAPEC-76likelihood: High · Very High
- Using Escaped Slashes in Alternate EncodingCAPEC-78likelihood: High · High
- Using Slashes in Alternate EncodingCAPEC-79likelihood: High · High
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →