{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2012-5649 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2012-5649 yet. Limit exposure of the affected software until one is available.","what":"CVE-2012-5649 is a medium-severity code injection vulnerability in n/a, published on 23 May 2014. 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-5649 and fix it if it is affected.\n\nWhat it is: CVE-2012-5649 is a medium-severity code injection vulnerability in n/a, published on 23 May 2014. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2012-5649 in the wild and no public exploit code.\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-5649/ (Markdown: https://insights.sbomify.com/CVE-2012-5649/index.md)","id":"CVE-2012-5649","markdown":"https://insights.sbomify.com/CVE-2012-5649/index.md","name":"CVE-2012-5649","record":{"aliases":["GHSA-w437-cqhg-f7j8"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"CouchDB database server","requires_auth":"none","summary":"Remote attackers can execute arbitrary code via JSONP callback in Apache CouchDB, requiring user interaction to trigger the vulnerability.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"couchdb","vendor":"apache"}],"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-94","name":"Improper Control of Generation of Code"}],"description":"Apache CouchDB before 1.0.4, 1.1.x before 1.1.2, and 1.2.x before 1.2.1 allows remote attackers to execute arbitrary code via a JSONP callback, related to Adobe Flash.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Code injection in n/a","id":"CVE-2012-5649","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2012"},"n_packages":0,"n_references":6,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2012-5650"},"packages":[],"prev":{"headline":"SQL injection in n/a","id":"CVE-2012-5648"},"products":["n/a"],"published":"2014-05-23","related":[{"cvss_score":9.8,"headline":"Apache CouchDB Insecure Default Initialization of Resource","id":"CVE-2022-24706","kev_date_added":"2022-08-25","published":"2022-04-26"},{"cvss_score":9.8,"headline":"Auth bypass in Apache CouchDB","id":"CVE-2020-1955","kev_date_added":null,"published":"2020-05-20"},{"cvss_score":9.8,"headline":"Privilege escalation in Apache CouchDB","id":"CVE-2017-12635","kev_date_added":null,"published":"2017-11-14"},{"cvss_score":7.8,"headline":"Code injection in n/a","id":"CVE-2018-14889","kev_date_added":null,"published":"2018-09-21"},{"cvss_score":7.8,"headline":"Privilege escalation in Apache CouchDB","id":"CVE-2016-8742","kev_date_added":null,"published":"2018-02-12"},{"cvss_score":7.3,"headline":"Privilege escalation vulnerability when using HTML attachments","id":"CVE-2021-38295","kev_date_added":null,"published":"2021-10-14"},{"cvss_score":7.2,"headline":"Code injection in Apache CouchDB","id":"CVE-2018-17188","kev_date_added":null,"published":"2019-01-02"}],"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code via JSONP callback in Apache CouchDB, requiring user interaction to trigger the vulnerability.","url":"https://insights.sbomify.com/CVE-2012-5649/"}