{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-2104 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2012-2104 is a medium-severity command injection vulnerability in n/a, published on 26 Aug 2012. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2012-2104 and fix it if it is affected.\n\nWhat it is: CVE-2012-2104 is a medium-severity command injection vulnerability in n/a, published on 26 Aug 2012. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-2104 exists.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2012-2104/ (Markdown: https://insights.sbomify.com/CVE-2012-2104/index.md)","id":"CVE-2012-2104","markdown":"https://insights.sbomify.com/CVE-2012-2104/index.md","name":"CVE-2012-2104","record":{"aliases":["DEBIAN-CVE-2012-2104","GHSA-3pm4-hp5q-g8qj"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Munin monitoring server","requires_auth":"none","summary":"Remote attackers can execute arbitrary commands or delete files via crafted HTTP requests if a user views malicious logs in a terminal.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"munin","vendor":"munin-monitoring"}],"cvss":{"score":6.8,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"cgi-bin/munin-cgi-graph in Munin 2.x writes data to a log file without sanitizing non-printable characters, which might allow user-assisted remote attackers to inject terminal emulator escape sequences and execute arbitrary commands or delete arbitrary files via a crafted HTTP request.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2012-04-13","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2012-04-13","kind":"exploitdb","ref":"37084","stars":null,"title":"Munin 2.0~rc4-1 - Remote Command Injection"}],"tier":"weaponised"},"has_fix":true,"headline":"Command injection in n/a","id":"CVE-2012-2104","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2012"},"n_packages":0,"n_references":6,"next":{"headline":"SQL injection in n/a","id":"CVE-2012-2105"},"packages":[],"prev":{"headline":"Path traversal in n/a","id":"CVE-2012-2103"},"products":["n/a"],"published":"2012-08-26","related":[{"cvss_score":9.3,"headline":"Missing authorization in n/a","id":"CVE-2012-3513","kev_date_added":null,"published":"2012-11-21"},{"cvss_score":7.2,"headline":"Privilege escalation in n/a","id":"CVE-2012-3512","kev_date_added":null,"published":"2012-11-21"},{"cvss_score":5,"headline":"Denial of service in n/a","id":"CVE-2013-6048","kev_date_added":null,"published":"2013-12-13"},{"cvss_score":5,"headline":"Denial of service in n/a","id":"CVE-2012-2147","kev_date_added":null,"published":"2012-08-26"},{"cvss_score":5,"headline":"Denial of service in n/a","id":"CVE-2012-4678","kev_date_added":null,"published":"2012-08-26"},{"cvss_score":4.3,"headline":"Denial of service in n/a","id":"CVE-2013-6359","kev_date_added":null,"published":"2013-12-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary commands or delete files via crafted HTTP requests if a user views malicious logs in a terminal.","url":"https://insights.sbomify.com/CVE-2012-2104/"}