{"id":"CVE-2018-10870","published":"2018-07-19T22:00:00Z","modified":"2024-08-05T07:46:47Z","title":"redhat-certification does not properly sanitize paths in rhcertStore.py:__saveResultsFile","vendor":"redhat-certification","product":"rhcertstore.py","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.06104,"percentile":0.93597,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10870","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2373","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securityfocus.com/bid/104857","tags":["vdb-entry","x_refsource_BID"]}],"priority":{"score":25.6,"factors":[{"name":"EPSS percentile","points":18.72},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"redhat-certification","summary":{"text":"The flaw is an improper sanitisation of file paths in the __saveResultsFile function of rhcertStore.py, a component of the redhat-certification product. A remote attacker with no authentication, no user interaction and network access can use it to overwrite arbitrary files, which could lead to remote code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T07:23:25Z"},"euvd":{"id":"EUVD-2018-2936","exploited":false,"provenance":"source"}}