CVE-2024-52009
Runatlantis Atlantis vulnerability
Atlantis is a self-hosted golang application that listens for Terraform pull request events via webhooks. Atlantis logs contains GitHub credentials (tokens `ghs_...`) when they are rotated. This enables an attacker able to read these logs to impersonate Atlantis application and to perform actions on GitHub. When Atlantis is used to administer a GitHub organization, this enables getting administration privileges on the organization. This was reported in #4060 and fixed in #4667 . The fix was included in Atlantis v0.30.0. All users are advised to upgrade. There are no known workarounds for this vulnerability.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Atlantis. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Runatlantis Atlantis runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/runatlantis/atlantis/security/advisories/GHSA-gppm-hq3p-h4rp · Exploit
- argo-cd.readthedocs.io/en/stable/operator-manual/security
- github.com/runatlantis/atlantis/issues/4060
- github.com/runatlantis/atlantis/pull/4667
- github.com/runatlantis/atlantis/releases/tag/v0.30.0
- nvd.nist.gov/vuln/detail/CVE-2024-52009
- pkg.go.dev/vuln/GO-2024-3265
- github.com/advisories/GHSA-gppm-hq3p-h4rp
- nvd.nist.gov/vuln/detail/CVE-2024-52009
- cve.org/CVERecord?id=CVE-2024-52009
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.