runatlantis/atlantis · Security
Atlantis Events vulnerable to Timing Attack
- GHSA ID
- GHSA-jxqv-jcvh-7gr4
- CVE ID
- CVE-2022-24912
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
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.
CWEs
- CWE-203 · Observable Discrepancy
- CWE-208 · Observable Timing Discrepancy
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-24912 ↗
- https://github.com/runatlantis/atlantis/issues/2391 ↗
- https://github.com/runatlantis/atlantis/commit/48870911974adddaa4c99c8089e79b7d787fa820 ↗
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMRUNATLANTISATLANTISSERVERCONTROLLERSEVENTS-2950851 ↗
- https://github.com/runatlantis/atlantis/pull/2392 ↗
- https://pkg.go.dev/vuln/GO-2022-0534 ↗
- https://github.com/advisories/GHSA-jxqv-jcvh-7gr4 ↗