CVE-2018-12476: obs-service-extract_file's outfilename parameter allows to write files outside of package directory
Vulnerability summary
CVE-2018-12476 is a high (CVSS 7.5) Relative Path Traversal vulnerability in opensuse factory. EPSS estimates a 1.03% chance of exploitation in the next 30 days, higher than 64.7% of scored vulnerabilities.
Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 3Timeline
- 27-01-2020PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- CVE.orgCNA4.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:NDiffers
EPSS trend
Probability
1.03%
Chance of exploitation in the next 30 days
Percentile
65%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.03% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-23Relative Path TraversalThe product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." that can resolve to a location that is outside of that directory.
- CWE-22Improper Limitation of a Pathname to a Restricted DirectoryThe product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Affected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Suse2 products
- obs-service-tar_scm< 0.9.2.1537788075.fefaa74
- suse linux enterprise server 15≥ obs-service-tar_scm, < 0.9.2.1537788075.fefaa74:
Opensuse1 product
- factory≥ obs-service-tar_scm, < 0.9.2.1537788075.fefaa74
2 vendors · 3 products
References
1 links- bugzilla.suse.com/show_bug.cgi?id=1107944X Refsource CONFIRM