{"answers":{"affected":"3 open source packages ship an affected version, including github.com/mayuresh82/gocast. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-28892 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2024-28892 is a critical command injection vulnerability in GoCast, published on 21 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-28892 and fix it if it is affected.\n\nWhat it is: CVE-2024-28892 is a critical command injection vulnerability in GoCast, published on 21 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-28892 exists.\n\nAffected packages and fixed versions:\n- github.com/mayuresh82/gocast (Go): affected all versions; no fix listed\n- github.com/mayuresh82/gocast (Go): affected all versions up to 1.1.3; no fix listed\n- github.com/mayuresh82/gocast (Go): affected all versions up to 1.1.3; no fix listed\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-28892/ (Markdown: https://insights.sbomify.com/CVE-2024-28892/index.md)","id":"CVE-2024-28892","markdown":"https://insights.sbomify.com/CVE-2024-28892/index.md","name":"CVE-2024-28892","record":{"aliases":["GHSA-5qww-56gc-f66c","GO-2024-3359"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"GoCast web application","requires_auth":"none","summary":"Unauthenticated attackers can execute arbitrary OS commands via the name parameter in GoCast, requiring an upgrade to mitigate.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"talos","cpe":[{"product":"gocast","vendor":"mayuresh82"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"An OS command injection vulnerability exists in the name parameter of GoCast 1.1.3. A specially crafted HTTP request can lead to arbitrary command execution. An attacker can make an unauthenticated HTTP request to trigger this vulnerability.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"GoCast OS Command Injection vulnerability","id":"CVE-2024-28892","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"command_injection","year":"2024"},"n_packages":3,"n_references":1,"next":{"headline":"Code injection in HP software packages (SoftPaqs)","id":"CVE-2024-28893"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/mayuresh82/gocast","purl":"pkg:golang/github.com/mayuresh82/gocast","source":"GO-2024-3359"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.1.3"],"package":"github.com/mayuresh82/gocast","purl":null,"source":"GHSA-5qww-56gc-f66c"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.1.3"],"package":"github.com/mayuresh82/gocast","purl":"pkg:golang/github.com/mayuresh82/gocast","source":"GHSA-5qww-56gc-f66c"}],"prev":{"headline":"Delta Electronics DIAEnergie SQL injection","id":"CVE-2024-28891"},"products":["GoCast"],"published":"2024-11-21","related":[{"cvss_score":9.8,"headline":"Auth bypass in GoCast","id":"CVE-2024-21855","kev_date_added":null,"published":"2024-11-21"},{"cvss_score":9.8,"headline":"Command injection in GoCast","id":"CVE-2024-29224","kev_date_added":null,"published":"2024-11-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":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-11-21","vendors":["GoCast"]},"summary":"Unauthenticated attackers can execute arbitrary OS commands via the name parameter in GoCast, requiring an upgrade to mitigate.","url":"https://insights.sbomify.com/CVE-2024-28892/"}