title: obs-service-extract_file's outfilename parameter allows to write files outside of package directory
description: Relative Path Traversal vulnerability in obs-service-tar_scm of SUSE Linux Enterprise Server 15; openSUSE Factory allows remote attackers with control over a repository to overwrite files on the machine of the local user if a malicious service is executed. This issue affects: SUSE Linux Enterprise Server 15 obs-service-tar_scm versions prior to 0.9.2.1537788075.fefaa74:. openSUSE Factory obs-service-tar_scm versions prior to 0.9.2.1537788075.fefaa74.
problem types: CWE-23: Relative Path Traversal
affected:
{
product: SUSE Linux Enterprise Server 15
vendor: SUSE
versions:
lessThan: 0.9.2.1537788075.fefaa74:, status: affected, version: obs-service-tar_scm, versionType: custom
}
{
product: Factory
vendor: openSUSE
versions:
lessThan: 0.9.2.1537788075.fefaa74, status: affected, version: obs-service-tar_scm, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: NONE
baseScore: 4.3
baseSeverity: MEDIUM
confidentialityImpact: NONE
integrityImpact: LOW
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
version: 3.1
]