Description
The "gitDiff" function in Wayfair git-parse <=1.0.4 has a command injection vulnerability. Clients of the git-parse library are unlikely to be aware of this, so they might unwittingly write code that contains a vulnerability. The issue has been resolved in version 1.0.5.
Remediation
References
https://advisory.checkmarx.net/advisory/CX-2020-4302
https://www.npmjs.com/package/git-parse
Related Vulnerabilities
CVE-2021-23700 Vulnerability in npm package merge-deep2
CVE-2017-16098 Vulnerability in npm package charset
CVE-2017-16212 Vulnerability in npm package ltt
CVE-2021-39153 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2023-36542 Vulnerability in maven package org.apache.nifi:nifi-standard-processors