{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2012-4452 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2012-4452 is a low-severity vulnerability in Oracle Mysql, published on 9 Oct 2012. 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-2012-4452 and fix it if it is affected.\n\nWhat it is: CVE-2012-4452 is a low-severity vulnerability in Oracle Mysql, published on 9 Oct 2012. 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-2012-4452 in the wild and no public exploit code.\n\nAffected product: Oracle Mysql. 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-4452/ (Markdown: https://insights.sbomify.com/CVE-2012-4452/index.md)","id":"CVE-2012-4452","markdown":"https://insights.sbomify.com/CVE-2012-4452/index.md","name":"CVE-2012-4452","record":{"aliases":["GHSA-552j-94gg-c5pj","RHSA-2013:0121"],"analysis":{"component_type":"database","fix_type":"patch","impacts":["privilege_escalation","data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"MySQL database","requires_auth":"low_privilege","summary":"Local attackers can bypass privilege checks to access or modify data in other tables via symlink manipulation in MyISAM table creation.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"mysql","vendor":"oracle"}],"cvss":{"score":2.1,"severity":"low","source":"nvd","vector":"AV:L/AC:L/Au:N/C:N/I:P/A:N","version":"2.0"},"cwes":[{"id":"CWE-264","name":null}],"description":"MySQL 5.0.88, and possibly other versions and platforms, allows local users to bypass certain privilege checks by calling CREATE TABLE on a MyISAM table with modified (1) DATA DIRECTORY or (2) INDEX DIRECTORY arguments that are originally associated with pathnames without symlinks, and that can point to tables created at a future time at which a pathname is modified to contain a symlink to a subdirectory of the MySQL data home directory, related to incorrect calculation of the mysql_unpacked_real_data_home value.  NOTE: this vulnerability exists because of a CVE-2009-4030 regression, which was not omitted in other packages and versions such as MySQL 5.0.95 in Red Hat Enterprise Linux 6.","ecosystems":["Red Hat:enterprise_linux:5::client","Red Hat:enterprise_linux:5::client_workstation","Red Hat:enterprise_linux:5::server"],"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":"Privilege escalation in n/a","id":"CVE-2012-4452","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"oracle:mysql","products":["oracle:mysql"],"type":"privilege_escalation","year":"2012"},"n_packages":14,"n_references":4,"next":{"headline":"Information disclosure in n/a","id":"CVE-2012-4453"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:5.0.95-3.el5"],"introduced":["0"],"last_affected":[],"package":"mysql","purl":"pkg:rpm/redhat/mysql","source":"RHSA-2013:0121"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:5.0.95-3.el5"],"introduced":["0"],"last_affected":[],"package":"mysql-debuginfo","purl":"pkg:rpm/redhat/mysql-debuginfo","source":"RHSA-2013:0121"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:5.0.95-3.el5"],"introduced":["0"],"last_affected":[],"package":"mysql","purl":"pkg:rpm/redhat/mysql","source":"RHSA-2013:0121"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:5.0.95-3.el5"],"introduced":["0"],"last_affected":[],"package":"mysql-bench","purl":"pkg:rpm/redhat/mysql-bench","source":"RHSA-2013:0121"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:5.0.95-3.el5"],"introduced":["0"],"last_affected":[],"package":"mysql-debuginfo","purl":"pkg:rpm/redhat/mysql-debuginfo","source":"RHSA-2013:0121"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:5.0.95-3.el5"],"introduced":["0"],"last_affected":[],"package":"mysql-devel","purl":"pkg:rpm/redhat/mysql-devel","source":"RHSA-2013:0121"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:5.0.95-3.el5"],"introduced":["0"],"last_affected":[],"package":"mysql-server","purl":"pkg:rpm/redhat/mysql-server","source":"RHSA-2013:0121"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["0:5.0.95-3.el5"],"introduced":["0"],"last_affected":[],"package":"mysql-test","purl":"pkg:rpm/redhat/mysql-test","source":"RHSA-2013:0121"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:5.0.95-3.el5"],"introduced":["0"],"last_affected":[],"package":"mysql","purl":"pkg:rpm/redhat/mysql","source":"RHSA-2013:0121"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:5.0.95-3.el5"],"introduced":["0"],"last_affected":[],"package":"mysql-bench","purl":"pkg:rpm/redhat/mysql-bench","source":"RHSA-2013:0121"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:5.0.95-3.el5"],"introduced":["0"],"last_affected":[],"package":"mysql-debuginfo","purl":"pkg:rpm/redhat/mysql-debuginfo","source":"RHSA-2013:0121"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:5.0.95-3.el5"],"introduced":["0"],"last_affected":[],"package":"mysql-devel","purl":"pkg:rpm/redhat/mysql-devel","source":"RHSA-2013:0121"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:5.0.95-3.el5"],"introduced":["0"],"last_affected":[],"package":"mysql-server","purl":"pkg:rpm/redhat/mysql-server","source":"RHSA-2013:0121"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:5.0.95-3.el5"],"introduced":["0"],"last_affected":[],"package":"mysql-test","purl":"pkg:rpm/redhat/mysql-test","source":"RHSA-2013:0121"}],"prev":{"headline":"Cross-site scripting in Zend Framework","id":"CVE-2012-4451"},"products":["n/a"],"published":"2012-10-09","related":[{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2016-0639","kev_date_added":null,"published":"2016-04-21"},{"cvss_score":9,"headline":"Privilege escalation in n/a","id":"CVE-2003-0150","kev_date_added":null,"published":"2003-03-21"},{"cvss_score":8.5,"headline":"Denial of service in n/a","id":"CVE-2005-2572","kev_date_added":null,"published":"2005-08-16"},{"cvss_score":8,"headline":"Auth bypass in MySQL Server","id":"CVE-2020-14878","kev_date_added":null,"published":"2020-10-21"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2002-0969","kev_date_added":null,"published":"2004-09-01"},{"cvss_score":7.7,"headline":"Denial of service in n/a","id":"CVE-2016-3440","kev_date_added":null,"published":"2016-07-21"},{"cvss_score":7.5,"headline":"MySQL Connector/Python connector takeover vulnerability","id":"CVE-2024-21272","kev_date_added":null,"published":"2024-10-15"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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":"Local attackers can bypass privilege checks to access or modify data in other tables via symlink manipulation in MyISAM table creation.","url":"https://insights.sbomify.com/CVE-2012-4452/"}