FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

ledger -- multiple vulnerabilities

Affected packages
ledger <= 3.1.1

Details

VuXML ID d843a984-7f22-484f-ba81-483ddbe30dc3
Discovery 2017-09-05
Entry 2017-09-26

Talos reports:

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.

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.

References

CVE Name CVE-2017-2807
CVE Name CVE-2017-2808
URL http://www.securityfocus.com/bid/100543
URL http://www.securityfocus.com/bid/100546
URL https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0303
URL https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0304