CVE-2024-34156 Affecting gitleaks package, versions <8.19.0-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
1.13% (62nd 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-WOLFILATEST-GITLEAKS-15387263
  • published4 Mar 2026
  • disclosed6 Sept 2024

Introduced: 6 Sep 2024

CVE-2024-34156  (opens in a new tab)

How to fix?

Upgrade Wolfi gitleaks to version 8.19.0-r0 or higher.

NVD Description

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

Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion. This is a follow-up to CVE-2022-30635.

CVSS Base Scores

version 3.1