Vulnerability · Published Sep 19, 2023 · Assigned by snyk

CVE-2023-26143

Medium 6.5

In plain English

A medium-severity argument injection in blamer. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)1.1%top 33.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

Versions of the package blamer before 1.0.4 are vulnerable to Arbitrary Argument Injection via the blameByFile() API. The library does not sanitize for user input or validate the given file path conforms to a specific schema, nor does it properly pass command-line flags to the git binary using the double-dash POSIX characters (--) to communicate the end of options.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmblamer1.0.4GHSA-6f9p-g466-f8v8

Affected products (as reported)

VendorProductVersions
n/a blamer 0 – before 1.0.4

Weakness: CWE-88 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L/E:P

References