Vulnerability advisory
CVE-2024-52009
Git credentials are exposed in atlantis logs
Also known as GHSA-gppm-hq3p-h4rpGO-2024-3265
Severity
- CVSS 4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:H
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/runatlantis/atlantis ↗ | |
| All commits before 03e9e71f92b06cc27335524b8f59feef5a86f217 | 03e9e71f92b06cc27335524b8f59feef5a86f217 |
Also listed as affected (132)
| |
Description
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.
References
- Webargo-cd.readthedocs.io/en/stable/operator-manual/security ↗
- Webgithub.com/runatlantis/atlantis/releases/tag/v0.30.0 ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52009.json ↗
- Advisorygithub.com/runatlantis/atlantis/security/advisories/GHSA-gppm-hq3p-h4rp ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2024-52009 ↗
- Reportgithub.com/runatlantis/atlantis/issues/4060 ↗
- Fixgithub.com/runatlantis/atlantis/pull/4667 ↗