Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade @finos/git-proxy
to version 1.19.2 or higher.
@finos/git-proxy is a Deploy custom push protections and policies on top of Git.
Affected versions of this package are vulnerable to Misinterpretation of Input via the parsePush.ts
file. An attacker can bypass approval mechanisms or hide commits by crafting a malicious Git packfile that embeds a misleading PACK signature within commit content and manipulates the packet structure to deceive the parser.
git pack-objects
or a low-level library/custom script and add the string "PACK" after the real packfile's PACK header in the binary stream to generate a custom packfile with both branches.