CVE-2018-10870: redhat-certification rhcertstore.py Path Traversal
CVSS: 9.8v3.0CriticalModified
Published 19-07-2018Last modified 05-08-2024
Vulnerability summary
CVE-2018-10870 is a critical (CVSS 9.8) Path Traversal vulnerability in redhat-certification rhcertstore.py. EPSS estimates a 6.10% chance of exploitation in the next 30 days, higher than 93.3% of scored vulnerabilities.
CVSS score
9.8/10
010
Critical · v3.0 (CVE.org)EPSS score
6.10%
0%100%
Low · -0.08 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 1Timeline
- 19-07-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
redhat-certification does not properly sanitize paths in rhcertStore.py:__saveResultsFile. A remote attacker could use this flaw to overwrite any file, potentially gaining remote code execution.
CVSS metrics
3 scores · 2 sources · 2 versionsCritical 9.8Preferred score · CVE.org (CNA)
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSourcesAll 2 agree
- NVDNIST9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
High 7.5Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
6.10%
Chance of exploitation in the next 30 days
Percentile
93%
Versus all other CVEs
30-day change
-0.08 pp
From 6.18% on 21-09-2026
21-09-202621-10-2026
EPSS score6.10%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')The 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.
- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Affected systems
Redhat1 product
Redhat-certification1 product
2 vendors · 2 products
References
3 links- bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10870X Refsource CONFIRMIssue TrackingMitigationVendor Advisory