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-2017-16006 Vulnerability in maven package org.webjars.bower:remarkable
CVE-2020-21125 Vulnerability in maven package com.bstek.ureport:ureport2-console
CVE-2022-4725 Vulnerability in maven package com.amazonaws:aws-android-sdk-core
CVE-2020-7719 Vulnerability in npm package locutus
CVE-2022-36919 Vulnerability in maven package org.jenkins-ci.plugins:coverity