SB2017083106 - Remote code execution in Ledger
Published: August 31, 2017 Updated: July 21, 2019
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 4 vulnerabilities.
1) Use-after-free error (CVE-ID: CVE-2017-2808)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.The weakness exists in the account parsing functionality due to use-after-free error. A remote attacker can trick the victim into loading a specially crafted journal file, trigger memory corruption and execute arbitrary code with privileges of the current user.
Successful exploitation of the vulnerability may result in system compromise.
2) Buffer overflow (CVE-ID: CVE-2017-2807)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.The weakness exists in the tag parsing functionality due to buffer overflow. A remote attacker can trick the victim into loading a specially crafted journal file, trigger memory corruption and execute arbitrary code with privileges of the current user.
Successful exploitation of the vulnerability may result in system compromise.
3) Stack-based buffer overflow (CVE-ID: CVE-2017-12482)
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.
4) Stack-based buffer overflow (CVE-ID: CVE-2017-12481)
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.
Remediation
Install update from vendor's website.
References
- https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0304
- https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0303
- http://bugs.ledger-cli.org/show_bug.cgi?id=1224
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00031.html
- http://bugs.ledger-cli.org/show_bug.cgi?id=1222