Skip to content
Fencer Vulns
critical 9.8

CVE-2018-10870 json

redhat-certification does not properly sanitize paths in rhcertStore.py:__saveResultsFile.

published 2018-07-19 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-2936

cvss
9.8
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
6.1%
EPSS 6.1% chance of exploitation in 30 days, percentile 93%
public exploits
0
none known

Summary

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.

Patch / fix

  • redhat-certification certifications 1 5.16-20180809.el7
  • redhat-certification-cloud certifications 1 5.16-20180809.el7
  • redhat-certification-backend certifications 1 5.16-20180809.el7
  • redhat-certification-hardware certifications 1 5.16-20180809.1.el7
  • redhat-certification-baremetal certifications 1 5.16-20180809.el7
  • redhat-certification-openstack certifications 1 5.16-20180809.el7
  • redhat-certification-hardware-preview certifications 1 5.16-20180809.1.el7

red hat advisories RHSA-2018:2373

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-10870 updated cvss 9.8

redhat-certification: rhcertStore.py: __saveResultsFile allows to write any file

  • Red Hat Certification for Red Hat Enterprise Linux 7 redhat-certification 5.16-20180809.el7, redhat-certification-cloud 5.16-20180809.el7, redhat-certification-backend 5.16-20180809.el7, redhat-certification-baremetal 5.16-20180809.el7, redhat-certification-openstack 5.16-20180809.el7, redhat-certification-hardware 5.16-20180809.1.el7, +1 more
    fixed: vendor fix RHSA-2018:2373
  • Red Hat Certification for Red Hat Enterprise Linux 6 redhat-certification
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

6.10% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.0 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 3.0 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected products

  • redhat-certification rhcertstore.py

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory
  • CWE-20 Improper Input Validation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.