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


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.38% (73rd 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-1273088
  • published4 Aug 2017
  • disclosed4 Aug 2017

Introduced: 4 Aug 2017

CVE-2017-12482  (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.

The ledger::parse_date_mask_routine function in times.cc in Ledger 3.1.1 allows remote attackers to cause a denial of service (stack-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted file.