CVE-2019-5188 json
A code execution vulnerability exists in the directory rehashing functionality of E2fsprogs e2fsck 1.45.4.
published 6y ago modified 26d ago also EUVD-2019-14793
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 65%
- public exploits
- 0
- none known
Summary
A code execution vulnerability exists in the directory rehashing functionality of E2fsprogs e2fsck 1.45.4. A specially crafted ext4 directory can cause an out-of-bounds write on the stack, resulting in code execution. An attacker can corrupt a partition to trigger this vulnerability.
Patch / fix
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- e2fsprogs Debian 14, Debian 13, Debian 12 1.45.5-1
debian advisories DEBIAN-CVE-2019-5188
- e2fsprogs Ubuntu 16.04 LTS 1.42.13-1ubuntu1.2
- e2fsprogs Ubuntu 18.04 LTS 1.44.1-1ubuntu1.3
- e2fsprogs Ubuntu Pro 14.04 LTS 1.42.9-3ubuntu1.3+esm2
ubuntu advisories UBUNTU-CVE-2019-5188
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- e2fsprogs RHEL 7 1.42.9-19.el7
- libss RHEL 7 1.42.9-19.el7
- libcom_err RHEL 7 1.42.9-19.el7
- e2fsprogs-libs RHEL 7 1.42.9-19.el7
- e2fsprogs RHEL 8 1.45.4-3.el8
- libss RHEL 8 1.45.4-3.el8
- libcom_err RHEL 8 1.45.4-3.el8
- e2fsprogs-libs RHEL 8 1.45.4-3.el8
red hat advisories RHSA-2020:4011RHSA-2020:1913
- e2fsprogs SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +4 more 1.43.8-3.11.1
- e2fsprogs SLE Module for Basesystem 15 SP1, SLE Module for Basesystem 15 1.43.8-4.17.1
suse advisories SUSE-SU-2020:0360-1SUSE-SU-2020:0265-1
- e2fsprogs openSUSE Leap 15.1 1.43.8-lp151.5.12.1
opensuse advisories openSUSE-SU-2020:0166-1
- e2fsprogs Alpine 3.24, Alpine 3.23, Alpine 3.22 +12 more 1.45.5-r0
- e2fsprogs Alpine 3.8 1.44.2-r2
- e2fsprogs Alpine 3.9 1.44.5-r2
alpine advisories ALPINE-CVE-2019-5188
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2019-5188 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-5188 updated cvss 7.5
e2fsprogs: Out-of-bounds write in e2fsck/rehash.c
-
Red Hat Enterprise Linux 5 e2fsprogs Red Hat Enterprise Linux 6 libss, e2fsprogs, libcom_err, e2fsprogs-libsaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Do 1 openshiftdo/odo-init-image-rhel7 1.1.3-2fixed: vendor fix RHSA-2021:0949
-
Red Hat Enterprise Linux BaseOS (v. 8) libss 1.45.4-3.el8, e2fsprogs 1.45.4-3.el8, libcom_err 1.45.4-3.el8, e2fsprogs-libs 1.45.4-3.el8fixed: vendor fix RHSA-2020:1913
-
Red Hat Enterprise Linux Client (v. 7) libss 1.42.9-19.el7, e2fsprogs 1.42.9-19.el7, libcom_err 1.42.9-19.el7, e2fsprogs-libs 1.42.9-19.el7 Red Hat Enterprise Linux Client Optional (v. 7) libss-devel 1.42.9-19.el7, e2fsprogs-devel 1.42.9-19.el7, e2fsprogs-static 1.42.9-19.el7, libcom_err-devel 1.42.9-19.el7, e2fsprogs-debuginfo 1.42.9-19.el7 Red Hat Enterprise Linux ComputeNode (v. 7) libss 1.42.9-19.el7, e2fsprogs 1.42.9-19.el7, libcom_err 1.42.9-19.el7, e2fsprogs-libs 1.42.9-19.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) libss-devel 1.42.9-19.el7, e2fsprogs-devel 1.42.9-19.el7, e2fsprogs-static 1.42.9-19.el7, libcom_err-devel 1.42.9-19.el7, e2fsprogs-debuginfo 1.42.9-19.el7 Red Hat Enterprise Linux Server (v. 7) libss 1.42.9-19.el7, e2fsprogs 1.42.9-19.el7, libcom_err 1.42.9-19.el7, e2fsprogs-libs 1.42.9-19.el7 Red Hat Enterprise Linux Server Optional (v. 7) libss-devel 1.42.9-19.el7, e2fsprogs-static 1.42.9-19.el7, e2fsprogs-debuginfo 1.42.9-19.el7fixed: vendor fix RHSA-2020:4011
+2 more productsfewer
Red Hat Enterprise Linux Workstation (v. 7) libss 1.42.9-19.el7, e2fsprogs 1.42.9-19.el7, libcom_err 1.42.9-19.el7, e2fsprogs-libs 1.42.9-19.el7 Red Hat Enterprise Linux Workstation Optional (v. 7) libss-devel 1.42.9-19.el7, e2fsprogs-static 1.42.9-19.el7, e2fsprogs-debuginfo 1.42.9-19.el7
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
cisa ICSA-23-348-10 updated cvss 7.5
Siemens SIMATIC S7-1500
-
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.0, < 3.1.5affected: fixed in V3.1.5, mitigation support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
1.08% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- talosintelligence.com https://talosintelligence.com/vulnerability_reports/TALOS-2019-0973 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 6.7 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 4.4 | AV:L/AC:M/Au:N/C:P/I:P/A:P |
Affected products
- n/a E2fsprogs
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
talosintelligence.com
/vulnerability_reports/TALOS-2019-0973
exploit, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/2AKETJ6BREDUHRWQTV35SPGG5C6H7KSI/
vendor-advisory
-
usn.ubuntu.com
/4249-1/
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/6DOBCYQKCTTWXBLMUPJ5TX3FY7JNCOKY/
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-02/msg00004.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2020/03/msg00030.html
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2020/07/msg00021.html
mailing-list, third-party-advisory
-
security.netapp.com
/advisory/ntap-20220506-0001/
third-party-advisory
- cert-portal.siemens.com /productcert/html/ssa-398330.html
Sources
- CVE List CVE-2019-5188
- NVD CVE-2019-5188
Fencer Intel 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.