title: pcp: Local privilege escalation from user pcp to root through migrate_tempdirs
description: 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.
problem types: CWE-22: Improper Limitation of a Pathname to a Restricted Directory
affected:
{
product: SUSE Linux Enterprise High Performance Computing 15-ESPOS
vendor: SUSE
versions:
lessThan: 3.11.9-5.8.1, status: affected, version: pcp, versionType: custom
}
{
product: SUSE Linux Enterprise High Performance Computing 15-LTSS
vendor: SUSE
versions:
lessThan: 3.11.9-5.8.1, status: affected, version: pcp, versionType: custom
}
{
product: SUSE Linux Enterprise Module for Development Tools 15
vendor: SUSE
versions:
lessThan: 3.11.9-5.8.1, status: affected, version: pcp, versionType: custom
}
{
product: SUSE Linux Enterprise Module for Development Tools 15-SP1
vendor: SUSE
versions:
lessThan: 4.3.1-3.5.3, status: affected, version: pcp, versionType: custom
}
{
product: SUSE Linux Enterprise Module for Open Buildservice Development Tools 15
vendor: SUSE
versions:
lessThan: 3.11.9-5.8.1, status: affected, version: pcp, versionType: custom
}
{
product: SUSE Linux Enterprise Server 15-LTSS
vendor: SUSE
versions:
lessThan: 3.11.9-5.8.1, status: affected, version: pcp, versionType: custom
}
{
product: SUSE Linux Enterprise Server for SAP 15
vendor: SUSE
versions:
lessThan: 3.11.9-5.8.1, status: affected, version: pcp, versionType: custom
}
{
product: SUSE Linux Enterprise Software Development Kit 12-SP4
vendor: SUSE
versions:
lessThan: 3.11.9-6.14.1, status: affected, version: pcp, versionType: custom
}
{
product: SUSE Linux Enterprise Software Development Kit 12-SP5
vendor: SUSE
versions:
lessThan: 3.11.9-6.14.1, status: affected, version: pcp, versionType: custom
}
{
product: openSUSE Leap 15.1
vendor: openSUSE
versions:
lessThan: 4.3.1-lp151.2.3.1, status: affected, version: pcp, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: LOCAL
availabilityImpact: HIGH
baseScore: 8.4
baseSeverity: HIGH
confidentialityImpact: HIGH
integrityImpact: HIGH
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
version: 3.1
]