CVE-2018-5392
Published: 14 August 2018
mingw-w64 version 5.0.4 by default produces executables that opt in to ASLR, but are not compatible with ASLR. ASLR is an exploit mitigation technique used by modern Windows platforms. For ASLR to function, Windows executables must contain a relocations table. Despite containing the "Dynamic base" PE header, which indicates ASLR compatibility, Windows executables produced by mingw-w64 have the relocations table stripped from them by default. This means that executables produced by mingw-w64 are vulnerable to return-oriented programming (ROP) attacks. Windows executables generated by mingw-w64 claim to be ASLR compatible, but are not. Vulnerabilities in such executables are more easily exploitable as a result.
CVSS 3 base score: 7.5
Status
Package | Release | Status |
---|---|---|
mingw-w64 Launchpad, Ubuntu, Debian |
bionic |
Needs triage
|
cosmic |
Ignored
(reached end-of-life)
|
|
disco |
Ignored
(reached end-of-life)
|
|
eoan |
Ignored
(reached end-of-life)
|
|
focal |
Needs triage
|
|
groovy |
Ignored
(reached end-of-life)
|
|
hirsute |
Ignored
(reached end-of-life)
|
|
impish |
Needs triage
|
|
jammy |
Needs triage
|
|
precise |
Does not exist
|
|
trusty |
Needs triage
|
|
upstream |
Needs triage
|
|
xenial |
Ignored
(end of standard support, was needs-triage)
|
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5392
- https://sourceforge.net/p/mingw-w64/mailman/message/31034877/
- https://sourceware.org/bugzilla/show_bug.cgi?id=17321
- https://sourceware.org/bugzilla/show_bug.cgi?id=19011
- https://www.kb.cert.org/vuls/id/307144 (describes workaround)
- NVD
- Launchpad
- Debian