{"answers":{"affected":"3 open source packages ship an affected version, including github.com/runatlantis/atlantis. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-52009 in the wild and no public exploit code.","fix":"Upgrade github.com/runatlantis/atlantis to 0.30.0 or later.","what":"CVE-2024-52009 is a high-severity vulnerability in runatlantis atlantis, published on 8 Nov 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-52009 and fix it if it is affected.\n\nWhat it is: CVE-2024-52009 is a high-severity vulnerability in runatlantis atlantis, published on 8 Nov 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-52009 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/runatlantis/atlantis (Go): affected all versions; fixed in 0.30.0\n- github.com/runatlantis/atlantis (Go): affected all versions; fixed in 0.30.0\n- github.com/runatlantis/atlantis (Go): affected all versions; fixed in 0.30.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-52009/ (Markdown: https://insights.sbomify.com/CVE-2024-52009/index.md)","id":"CVE-2024-52009","markdown":"https://insights.sbomify.com/CVE-2024-52009/index.md","name":"CVE-2024-52009","record":{"aliases":["GHSA-gppm-hq3p-h4rp","GO-2024-3265"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Terraform automation tool","requires_auth":"low_privilege","summary":"Attackers with log access can steal GitHub credentials, enabling impersonation and potential organization administration privileges.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"atlantis","vendor":"runatlantis"}],"cvss":{"score":8.5,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Git credentials are exposed in atlantis logs","id":"CVE-2024-52009","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2024"},"n_packages":3,"n_references":5,"next":{"headline":"Zoraxy has an authenticated command injection in the Web SSH feature","id":"CVE-2024-52010"},"packages":[{"ecosystem":"Go","fixed":["0.30.0"],"introduced":["0"],"last_affected":[],"package":"github.com/runatlantis/atlantis","purl":null,"source":"GHSA-gppm-hq3p-h4rp"},{"ecosystem":"Go","fixed":["0.30.0"],"introduced":["0"],"last_affected":[],"package":"github.com/runatlantis/atlantis","purl":"pkg:golang/github.com/runatlantis/atlantis","source":"GHSA-gppm-hq3p-h4rp"},{"ecosystem":"Go","fixed":["0.30.0"],"introduced":["0"],"last_affected":[],"package":"github.com/runatlantis/atlantis","purl":"pkg:golang/github.com/runatlantis/atlantis","source":"GO-2024-3265"}],"prev":{"headline":"Password Policy Bypass Vulnerability in Fides Webserver","id":"CVE-2024-52008"},"products":["atlantis"],"published":"2024-11-08","related":[{"cvss_score":7.5,"headline":"Timing Attack","id":"CVE-2022-24912","kev_date_added":null,"published":"2022-07-29"},{"cvss_score":6.9,"headline":"Atlantis Exposes Service Version Publicly on /status API Endpoint","id":"CVE-2025-58445","kev_date_added":null,"published":"2025-09-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-11-12","vendors":["runatlantis"]},"summary":"Attackers with log access can steal GitHub credentials, enabling impersonation and potential organization administration privileges.","url":"https://insights.sbomify.com/CVE-2024-52009/"}