CVE-2018-5392

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-5392
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-5392.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-5392
Related
Published
2018-08-14T16:29:01Z
Modified
2025-01-14T07:34:11.480863Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / mingw-w64

Package

Name
mingw-w64
Purl
pkg:deb/debian/mingw-w64?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

8.*

8.0.0-1

9.*

9.0.0-1

10.*

10.0.0-1
10.0.0-2
10.0.0-3

11.*

11.0.0-1
11.0.1-1
11.0.1-2
11.0.1-3
11.0.1-4

12.*

12.0.0-1
12.0.0-2
12.0.0-3
12.0.0-4~exp1
12.0.0-4~exp2
12.0.0-4~exp3
12.0.0-4~exp4

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:12 / mingw-w64

Package

Name
mingw-w64
Purl
pkg:deb/debian/mingw-w64?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

10.*

10.0.0-3

11.*

11.0.0-1
11.0.1-1
11.0.1-2
11.0.1-3
11.0.1-4

12.*

12.0.0-1
12.0.0-2
12.0.0-3
12.0.0-4~exp1
12.0.0-4~exp2
12.0.0-4~exp3
12.0.0-4~exp4

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:13 / mingw-w64

Package

Name
mingw-w64
Purl
pkg:deb/debian/mingw-w64?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

10.*

10.0.0-3

11.*

11.0.0-1
11.0.1-1
11.0.1-2
11.0.1-3
11.0.1-4

12.*

12.0.0-1
12.0.0-2
12.0.0-3
12.0.0-4~exp1
12.0.0-4~exp2
12.0.0-4~exp3
12.0.0-4~exp4

Ecosystem specific

{
    "urgency": "unimportant"
}