Arbitrary Argument Injection Affecting go-licenses package, versions <1.6.0-r20


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.04% (12th 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-GOLICENSES-8603620
  • published8 Jan 2025
  • disclosed6 Jan 2025

Introduced: 6 Jan 2025

NewCVE-2025-21613  (opens in a new tab)
CWE-88  (opens in a new tab)

How to fix?

Upgrade Chainguard go-licenses to version 1.6.0-r20 or higher.

NVD Description

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

go-git is a highly extensible git implementation library written in pure Go. An argument injection vulnerability was discovered in go-git versions prior to v5.13. Successful exploitation of this vulnerability could allow an attacker to set arbitrary values to git-upload-pack flags. This only happens when the file transport protocol is being used, as that is the only protocol that shells out to git binaries. This vulnerability is fixed in 5.13.0.

CVSS Scores

version 3.1