Out-of-Bounds Affecting ledger package, versions <3.1.2+dfsg1-1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.43% (75th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2104-LEDGER-1271771
  • published5 Sept 2017
  • disclosed5 Sept 2017

Introduced: 5 Sep 2017

CVE-2017-2807  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade Ubuntu:21.04 ledger to version 3.1.2+dfsg1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ledger package and not the ledger package as distributed by Ubuntu. See How to fix? for Ubuntu:21.04 relevant fixed versions and status.

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.