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-2022-38370 Vulnerability in maven package org.apache.iotdb:iotdb-grafana-connector
CVE-2021-21290 Vulnerability in maven package io.netty:netty-handler
CVE-2020-11020 Vulnerability in maven package org.webjars.npm:faye
CVE-2014-6394 Vulnerability in maven package org.webjars.npm:send
CVE-2021-22137 Vulnerability in maven package org.elasticsearch:elasticsearch