{"answers":{"affected":"3 open source packages ship an affected version, including github.com/cloudflare/cloudflared. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-24356 in the wild and no public exploit code.","fix":"Upgrade github.com/cloudflare/cloudflared to 0.0.0-20200820025921-9323844ea773 or later.","what":"CVE-2020-24356 is a medium-severity vulnerability in cloudflared, published on 2 Oct 2020. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-24356 and fix it if it is affected.\n\nWhat it is: CVE-2020-24356 is a medium-severity vulnerability in cloudflared, published on 2 Oct 2020. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-24356 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/cloudflare/cloudflared (Go): affected all versions; fixed in 0.0.0-20200820025921-9323844ea773\n- github.com/cloudflare/cloudflared (Go): affected all versions; fixed in 0.0.0-20200820025921-9323844ea773\n- github.com/cloudflare/cloudflared (Go): affected all versions; fixed in 0.0.0-20200820025921-9323844ea773\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-2020-24356/ (Markdown: https://insights.sbomify.com/CVE-2020-24356/index.md)","id":"CVE-2020-24356","markdown":"https://insights.sbomify.com/CVE-2020-24356/index.md","name":"CVE-2020-24356","record":{"aliases":["GHSA-hgwp-4vp4-qmm2","GO-2022-0845"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Cloudflare tunnel client","requires_auth":"low_privilege","summary":"A local attacker can escalate privileges to execute commands as a privileged user on Windows systems using cloudflared.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"cloudflare","cpe":[{"product":"cloudflared","vendor":"cloudflare"}],"cvss":{"score":6.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-427","name":"Uncontrolled Search Path Element"}],"description":"`cloudflared` versions prior to 2020.8.1 contain a local privilege escalation vulnerability on Windows systems. When run on a Windows system, `cloudflared` searches for configuration files which could be abused by a malicious entity to execute commands as a privileged user. Version 2020.8.1 fixes this issue.","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":"Local Privilege Escalation in cloudflared","id":"CVE-2020-24356","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"privilege_escalation","year":"2020"},"n_packages":3,"n_references":1,"next":{"headline":"Improper Input Validation in vault-ssh-helper","id":"CVE-2020-24359"},"packages":[{"ecosystem":"Go","fixed":["0.0.0-20200820025921-9323844ea773"],"introduced":["0"],"last_affected":[],"package":"github.com/cloudflare/cloudflared","purl":null,"source":"GHSA-hgwp-4vp4-qmm2"},{"ecosystem":"Go","fixed":["0.0.0-20200820025921-9323844ea773"],"introduced":["0"],"last_affected":[],"package":"github.com/cloudflare/cloudflared","purl":"pkg:golang/github.com/cloudflare/cloudflared","source":"GHSA-hgwp-4vp4-qmm2"},{"ecosystem":"Go","fixed":["0.0.0-20200820025921-9323844ea773"],"introduced":["0"],"last_affected":[],"package":"github.com/cloudflare/cloudflared","purl":"pkg:golang/github.com/cloudflare/cloudflared","source":"GO-2022-0845"}],"prev":{"headline":"Privilege escalation in n/a","id":"CVE-2020-24355"},"products":["cloudflared"],"published":"2020-10-02","related":[{"cvss_score":7.5,"headline":"Local Privilege Escalation Vulnerability in cloudflared's Installer","id":"CVE-2023-1314","kev_date_added":null,"published":"2023-03-21"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-17","vendors":["Cloudflare"]},"summary":"A local attacker can escalate privileges to execute commands as a privileged user on Windows systems using cloudflared.","url":"https://insights.sbomify.com/CVE-2020-24356/"}