{"id":"CVE-2018-10870","aliases":["EUVD-2018-2936","GHSA-3v7r-5qj8-2v68","RHSA-2018:2373"],"status":"published","title":"redhat-certification does not properly sanitize paths in rhcertStore.py:__saveResultsFile. A...","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.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-08","score":0.06104,"percentile":0.93474,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-20","CWE-22"],"published":"2018-07-19T22:00:00Z","modified":"2026-07-01T10:04:12Z","affected":[{"source":"osv","ecosystem":"Red Hat:certifications:1::el7","package":"redhat-certification","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.16-20180809.el7"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:certifications:1::el7","package":"redhat-certification-backend","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.16-20180809.el7"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:certifications:1::el7","package":"redhat-certification-baremetal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.16-20180809.el7"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:certifications:1::el7","package":"redhat-certification-cloud","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.16-20180809.el7"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:certifications:1::el7","package":"redhat-certification-hardware","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.16-20180809.1.el7"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:certifications:1::el7","package":"redhat-certification-hardware-preview","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.16-20180809.1.el7"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:certifications:1::el7","package":"redhat-certification-openstack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.16-20180809.el7"}]}],"bundled":3}],"products":[{"vendor":"redhat","product":"certification"},{"vendor":"redhat-certification","product":"rhcertstore.py"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10870","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Mitigation","Vendor Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2373","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.securityfocus.com/bid/104857","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-10870","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-3v7r-5qj8-2v68"},{"url":"https://access.redhat.com/security/updates/classification/#critical","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1593627","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1593780","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1593803","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2018/rhsa-2018_2373.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2018-10864","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-10864","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-10864","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2018-10869","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-10869","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-10869","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2018-10870","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-10870","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2018-10870","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.","status":"published","published":"2018-07-19T22:00:00Z","modified":"2024-08-05T07:46:47.511Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:35:01.952568Z"}],"euvd":[{"id":"EUVD-2018-2936","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.","status":"published","published":"2018-07-19T22:00:00Z","modified":"2024-08-05T07:46:47Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-03T02:39:57.544825Z"}],"ghsa":[{"id":"GHSA-3v7r-5qj8-2v68","title":"redhat-certification does not properly sanitize paths in rhcertStore.py:__saveResultsFile. A...","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.","status":"published","published":"2022-05-13T01:34:56Z","modified":"2023-02-01T05:08:33Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:50:47.846536Z"}],"nvd":[{"id":"CVE-2018-10870","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.","status":"published","published":"2018-07-19T22:29:00.293Z","modified":"2026-06-17T01:34:48.313Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-22","CWE-20"],"updated_at":"2026-11-02T14:04:33.865124Z"}],"osv":[{"id":"RHSA-2018:2373","title":"Red Hat Security Advisory: redhat-certification security update","status":"published","published":"2024-09-16T01:41:19Z","modified":"2026-07-01T10:04:12Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:53:05.383061Z"}]}}
