CVE-2017-2807 Integer overflow in Ledger CLI
An attacker can execute arbitrary code by tricking a user into opening a maliciously crafted journal file in Ledger CLI.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2017-2807?
CVE-2017-2807 is a high-severity vulnerability in Ledger CLI, published on 5 Sep 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
An exploitable buffer overflow vulnerability exists in the tag parsing functionality of Ledger-CLI 3.1.1. A specially crafted journal file can cause an integer underflow resulting in code execution. An attacker can construct a malicious journal file to trigger this vulnerability.
Weakness: CWE-119
Which versions are affected by CVE-2017-2807?
It affects 1 product.
Products include Ledger-Cli Ledger.
How do I fix CVE-2017-2807?
Upgrade to a fixed version.
Is CVE-2017-2807 being exploited?
There is no known exploitation of CVE-2017-2807 in the wild and no public exploit code.
Other vulnerabilities in Ledger CLI
Sources
Also known as DEBIAN-CVE-2017-2807, GHSA-59vm-28w2-496w, UBUNTU-CVE-2017-2807.