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.0: 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/E:U/U:Green
CVE-ID: CVE-2017-12482
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Ledger
Affected software:
Ledger

Detailed vulnerability description

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.


How to mitigate CVE-2017-12482

Install update from vendor's website.

Sources