Vulnerability advisory
GHSA-jxqv-jcvh-7gr4
Atlantis Events vulnerable to Timing Attack
Also known as CVE-2022-24912GO-2022-0534
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected versions
| Affected | Fixed in |
|---|---|
| All versions before 0.19.7 | 0.19.7 |
Description
The package github.com/runatlantis/atlantis/server/controllers/events before 0.19.7 is vulnerable to Timing Attack in the webhook event validator code, which does not use a constant-time comparison function to validate the webhook secret. It can allow an attacker to recover this secret as an attacker and then forge webhook events.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2022-24912 ↗
- Webgithub.com/runatlantis/atlantis/issues/2391 ↗
- Webgithub.com/runatlantis/atlantis/pull/2392 ↗
- Webgithub.com/runatlantis/atlantis/commit/48870911974adddaa4c99c8089e79b7d787fa820 ↗
- Packagegithub.com/runatlantis/atlantis ↗
- Webpkg.go.dev/vuln/GO-2022-0534 ↗
- Websecurity.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMRUNATLANTISATLANTISSERVERCONTROLLERSEVENTS-2950851 ↗