Skip to content
OpenAdvisories
Medium · 6.5 CVE-2023-26143 EUVD-2023-2444GHSA-6f9p-g466-f8v8

blamer vulnerable to Arbitrary Argument Injection via the blameByFile() API

Published Sep 19, 2023 · Updated Sep 25, 2024 · Assigned by snyk

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 products

VendorProductAffectedFixed
— blamer < 1.0.4 1.0.4

Affected packages

EcosystemPackageAffectedFixedRecord
npm blamer < 1.0.4 1.0.4 GHSA-6f9p-g466-f8v8

References