{"schemaVersion":3,"id":"CVE-2018-10870","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2018-07-19T22:00:00.000Z","modified":"2024-08-05T07:46:47.511Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.0","versionLabel":"v3.0","source":"CVE.org","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.06104,"percentile":0.93397,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":-0.07800000000000029,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.06182},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.06182,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.06182,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.06182,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.06182,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.06182,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.06182,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.06182,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.06182,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.06182,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.06104,"percentile":0.93397}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.06182,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.06182,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.06104,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.06104,"percentile":0.93397}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"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.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"},{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"}],"affected":[{"vendor":"redhat-certification","product":"rhcertstore.py","name":"rhcertstore.py","label":"rhcertstore.py","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"n/a","noFixRecorded":false,"fixedIn":null}],"versionsText":"n/a","eol":null,"hubHref":"/vendor/redhat-certification/rhcertstorepy"},{"vendor":"redhat","product":"certification","name":"certification","label":"certification","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/redhat/certification"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10870","label":"bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10870","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","Issue Tracking","Mitigation","Vendor Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2373","label":"access.redhat.com/errata/RHSA-2018:2373","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://www.securityfocus.com/bid/104857","label":"www.securityfocus.com/bid/104857","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":["RHSA-2018:2373"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-07-19T22:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T07:46:47.511Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T02:19:37.292Z","stale":false,"partial":false}}