CVE-2017-2808 Use after free in Ledger CLI
A use-after-free in Ledger CLI allows arbitrary code execution when a user loads a specially crafted journal file.
- 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-2808?
CVE-2017-2808 is a high-severity use after free 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 use-after-free vulnerability exists in the account parsing component of the Ledger-CLI 3.1.1. A specially crafted ledger file can cause a use-after-free vulnerability resulting in arbitrary code execution. An attacker can convince a user to load a journal file to trigger this vulnerability.
Weakness: CWE-416
Which versions are affected by CVE-2017-2808?
It affects 1 product.
Products include Ledger-Cli Ledger.
How do I fix CVE-2017-2808?
Upgrade to a fixed version.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2017-2808 being exploited?
There is no known exploitation of CVE-2017-2808 in the wild and no public exploit code.
Other vulnerabilities in Ledger CLI
Sources
Also known as DEBIAN-CVE-2017-2808, GHSA-9329-p7mv-f8p5, UBUNTU-CVE-2017-2808.