Untrusted Search Path Affecting checkov package, versions <3.0.34-r1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.05% (22nd 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-CHAINGUARDLATEST-CHECKOV-8309384
  • published28 Oct 2024
  • disclosed11 Jan 2024

Introduced: 11 Jan 2024

CVE-2024-22190  (opens in a new tab)
CWE-426  (opens in a new tab)

How to fix?

Upgrade Chainguard checkov to version 3.0.34-r1 or higher.

NVD Description

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

GitPython is a python library used to interact with Git repositories. There is an incomplete fix for CVE-2023-40590. On Windows, GitPython uses an untrusted search path if it uses a shell to run git, as well as when it runs bash.exe to interpret hooks. If either of those features are used on Windows, a malicious git.exe or bash.exe may be run from an untrusted repository. This issue has been patched in version 3.1.41.

CVSS Scores

version 3.1