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

 

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

Published: July 21, 2019


Vulnerability identifier: #VU19276
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-12482
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 ledger::parse_date_mask_routine function in times.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-12482

Install update from vendor's website.

Ledger - update to 3.1.2

External References

Related Security Bulletins