Skip to content

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

Moderate severity GitHub Reviewed Published Sep 19, 2023 to the GitHub Advisory Database • Updated Nov 4, 2023

Package

npm blamer (npm)

Affected versions

< 1.0.4

Patched versions

1.0.4

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.

References

Published by the National Vulnerability Database Sep 19, 2023
Published to the GitHub Advisory Database Sep 19, 2023
Reviewed Sep 21, 2023
Last updated Nov 4, 2023

Severity

Moderate
6.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Weaknesses

CVE ID

CVE-2023-26143

GHSA ID

GHSA-6f9p-g466-f8v8

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.