CVE-2024-52009 json
Git credentials are exposed in atlantis logs
published 2024-11-08 2 y ago modified 2026-06-26 4 mo ago also EUVD-2024-3255 , GHSA-gppm-hq3p-h4rp , GO-2024-3265
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 54%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/runatlantis/atlantis 0.30.0
- runatlantis atlantis 0.30.0
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20241120T172248-1.1
opensuse advisories openSUSE-SU-2024:14515-1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 23 mo ago
Exploit prediction
0.72% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/runatlantis/atlantis/security/advisories/GHSA-gppm-hq3p-h4rp referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.5 | 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 |
| CNA | 4.0 | 8.5 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/runatlantis/atlantis | <0.30.0 |
0.30.0 |
Affected products
- runatlantis atlantis
Classification
- Weakness
-
- CWE-532 Insertion of Sensitive Information into Log File
References
-
github.com
/runatlantis/atlantis/pull/4667
web, issue-tracking, patch
-
github.com
/runatlantis/atlantis/commit/0def7d3fb74aabb75570554692b053950cde02e1
web, patch
-
github.com
/runatlantis/atlantis/security/advisories/GHSA-gppm-hq3p-h4rp
web, exploit, vendor-advisory, advisory
-
github.com
/runatlantis/atlantis/issues/4060
web, issue-tracking, report
-
argo-cd.readthedocs.io
/en/stable/operator-manual/security
web, technical-description
-
github.com
/runatlantis/atlantis/releases/tag/v0.30.0
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2024-52009
advisory
-
github.com
/runatlantis/atlantis
package
-
pkg.go.dev
/vuln/GO-2024-3265
web
Sources
- CVE List CVE-2024-52009
- GitHub Advisory GHSA-gppm-hq3p-h4rp
- NVD CVE-2024-52009
- OSV GO-2024-3265
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.