Stack-based buffer overflow in Ledger - CVE-2017-12481

 

Stack-based buffer overflow in Ledger - CVE-2017-12481

Published: July 21, 2019


Vulnerability identifier: #VU19275
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-12481
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the find_option function in option.cc when processing a crafted file. A remote unauthenticated attacker can trigger stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Ledger
Gentoo Linux
Opensuse
SUSE Linux

How to mitigate CVE-2017-12481

Install update from vendor's website.

Ledger - update to 3.1.2

External References

Related Security Bulletins