CVE-2017-2807

NameCVE-2017-2807
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium (attack range: remote)
Debian Bugs876660

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ledger (PTS)jessie3.1+dfsg1-2vulnerable
stretch3.1.2~pre1+g3a00e1c+dfsg1-2vulnerable
buster, sid3.1.2+dfsg1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ledgersource(unstable)3.1.2+dfsg1-1low876660

Notes

[stretch] - ledger <no-dsa> (Minor issue)
[jessie] - ledger <no-dsa> (Minor issue)
[wheezy] - ledger <no-dsa> (Minor issue)
https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0303
https://github.com/ledger/ledger/issues/1722
https://github.com/ledger/ledger/commit/5682f377aed5b0db6b6c4a44b1d8868103b7e9f7

Search for package or bug name: Reporting problems