{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2012-2684 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2012-2684 is a high-severity SQL injection vulnerability in Redhat Enterprise Mrg, published on 28 Sep 2012. It can be exploited over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2012-2684 and fix it if it is affected.\n\nWhat it is: CVE-2012-2684 is a high-severity SQL injection vulnerability in Redhat Enterprise Mrg, published on 28 Sep 2012. It can be exploited over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2012-2684 in the wild and no public exploit code.\n\nAffected product: Redhat Enterprise Mrg. 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-2684/ (Markdown: https://insights.sbomify.com/CVE-2012-2684/index.md)","id":"CVE-2012-2684","markdown":"https://insights.sbomify.com/CVE-2012-2684/index.md","name":"CVE-2012-2684","record":{"aliases":["GHSA-364j-8jm7-f886"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Red Hat MRG","requires_auth":"unknown","summary":"Remote attackers can execute arbitrary SQL commands in Red Hat MRG via the get_sample_filters_by_signature function, potentially compromising data integrity and confidentiality.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"enterprise_mrg","vendor":"redhat"},{"product":"cumin","vendor":"trevor_mckay"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"Multiple SQL injection vulnerabilities in the get_sample_filters_by_signature function in Cumin before 0.1.5444, as used in Red Hat Enterprise Messaging, Realtime, and Grid (MRG) 2.0, allow remote attackers to execute arbitrary SQL commands via the (1) agent or (2) object id.","ecosystems":[],"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":"SQL injection in n/a","id":"CVE-2012-2684","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:enterprise_mrg","products":["redhat:enterprise_mrg"],"type":"sql_injection","year":"2012"},"n_packages":0,"n_references":7,"next":{"headline":"Denial of service in n/a","id":"CVE-2012-2685"},"packages":[],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2012-2683"},"products":["n/a"],"published":"2012-09-28","related":[{"cvss_score":9.8,"headline":"Hardcoded credentials in cumin","id":"CVE-2012-3460","kev_date_added":null,"published":"2019-11-21"},{"cvss_score":7.5,"headline":"SQL injection in n/a","id":"CVE-2013-4461","kev_date_added":null,"published":"2013-12-23"},{"cvss_score":7.5,"headline":"Missing authorization in n/a","id":"CVE-2010-4179","kev_date_added":null,"published":"2010-12-07"},{"cvss_score":6.8,"headline":"Cross-site request forgery in n/a","id":"CVE-2013-4405","kev_date_added":null,"published":"2013-12-23"},{"cvss_score":6.8,"headline":"Cross-site request forgery in n/a","id":"CVE-2012-2734","kev_date_added":null,"published":"2012-09-28"},{"cvss_score":6.5,"headline":"Missing authorization in n/a","id":"CVE-2013-4404","kev_date_added":null,"published":"2013-12-23"}],"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 SQL commands in Red Hat MRG via the get_sample_filters_by_signature function, potentially compromising data integrity and confidentiality.","url":"https://insights.sbomify.com/CVE-2012-2684/"}