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-2018-16487 Vulnerability in npm package @sailshq/lodash
CVE-2023-49372 Vulnerability in maven package com.jfinal:jfinal
CVE-2021-41183 Vulnerability in maven package org.webjars.bowergithub.jquery:jquery-ui
CVE-2021-30638 Vulnerability in maven package org.apache.tapestry:tapestry-core
CVE-2011-0013 Vulnerability in maven package org.apache.tomcat.embed:tomcat-embed-core