Stack-based buffer overflow in gcab - CVE-2018-5345

 

Stack-based buffer overflow in gcab - CVE-2018-5345

Published: January 25, 2018


Vulnerability identifier: #VU10252
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-5345
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause DoS condition or execute arbitrary code on the target system.

The weakness exists due to stack-based buffer overflow when handling malicious input. A remote attacker can trick the victim into opening a specially crafted .cab file, trigger memory corruptions and execute arbitrary code with elevated privileges.

Successful exploitation of the vulnerability may result in system compromise.

Affected software

gcab
Debian Linux
Red Hat Enterprise Linux for x86_64
Ubuntu
Fedora
gcab

How to mitigate CVE-2018-5345

Update to the latest version.

gcab - addressed in versions 1.0-1.fc27, 1.1-1.fc26

External References

Related Security Bulletins