GO-2022-0534
Dashboard / Vulnerabilities / GO-2022-0534
Summary: Timing attack in github.com/runatlantis/atlantis
Details: Validation of Gitlab requests can leak secrets. The package github.com/runatlantis/atlantis/server/controllers/events uses a non-constant time comparison for secrets while validating a Gitlab request. This allows for a timing attack where an attacker can recover a secret and then forge the request.
References: https://github.com/runatlantis/atlantis/pull/2392, https://github.com/runatlantis/atlantis/commit/48870911974adddaa4c99c8089e79b7d787fa820, https://github.com/runatlantis/atlantis/issues/2391, https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMRUNATLANTISATLANTISSERVERCONTROLLERSEVENTS-2950851
Affected packages
Package
Name: github.com/runatlantis/atlantis
Purl: pkg:golang/github.com/runatlantis/atlantis
Affected ranges
Type: SEMVER
Events:
