Files
CVEs-PoC/2017/CVE-2017-2808.md
T
2024-06-18 02:51:15 +02:00

18 lines
843 B
Markdown

### [CVE-2017-2808](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-2808)
![](https://img.shields.io/static/v1?label=Product&message=Ledger%20CLI&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=arbitrary%20code%20execution&color=brighgreen)
### 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.
### POC
#### Reference
- https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0304
#### Github
- https://github.com/andir/nixos-issue-db-example