{"id":"CVE-2012-4452","aliases":["BELL-CVE-2012-4452","EUVD-2012-4383","GHSA-552j-94gg-c5pj","RHSA-2013:0121"],"status":"published","title":"MySQL 5.0.88, and possibly other versions and platforms, allows local users to bypass certain...","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.","severity":{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:N/I:P/A:N","level":"low","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00398,"percentile":0.3429,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-264"],"published":"2012-10-09T23:00:00Z","modified":"2026-06-26T12:21:42Z","fixes":[{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"mysql","fixed_in":["0:5.0.95-3.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"mysql-bench","fixed_in":["0:5.0.95-3.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"mysql-debuginfo","fixed_in":["0:5.0.95-3.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"mysql-devel","fixed_in":["0:5.0.95-3.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"mysql-server","fixed_in":["0:5.0.95-3.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"mysql-test","fixed_in":["0:5.0.95-3.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::client","package":"mysql","fixed_in":["0:5.0.95-3.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::client","package":"mysql-debuginfo","fixed_in":["0:5.0.95-3.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::server","package":"mysql","fixed_in":["0:5.0.95-3.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::server","package":"mysql-bench","fixed_in":["0:5.0.95-3.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::server","package":"mysql-debuginfo","fixed_in":["0:5.0.95-3.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::server","package":"mysql-devel","fixed_in":["0:5.0.95-3.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::server","package":"mysql-server","fixed_in":["0:5.0.95-3.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::server","package":"mysql-test","fixed_in":["0:5.0.95-3.el5"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.0.95-3.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"mysql-bench","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.0.95-3.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"mysql-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.0.95-3.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"mysql-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.0.95-3.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"mysql-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.0.95-3.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"mysql-test","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.0.95-3.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.0.95-3.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"mysql-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.0.95-3.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.0.95-3.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"mysql-bench","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.0.95-3.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"mysql-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.0.95-3.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"mysql-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.0.95-3.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"mysql-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.0.95-3.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"mysql-test","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:5.0.95-3.el5"}]}]}],"products":[{"vendor":"oracle","product":"mysql"}],"references":[{"url":"http://www.securityfocus.com/bid/55715","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=860808","tags":["x_refsource_CONFIRM","x_transferred","report"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0121.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2012/09/27/1","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-4452","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-552j-94gg-c5pj"},{"url":"https://docs.bell-sw.com/security/cves/CVE-2012-4452","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2013:0121","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#low","tags":["article"]},{"url":"https://rhn.redhat.com/errata/RHSA-2012-0127.html","tags":["article"]},{"url":"https://rhn.redhat.com/errata/RHSA-2010-0109.html","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=526850","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=528512","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=543730","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=548685","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=654000","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=675906","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=806365","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_0121.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-4452","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-4452","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2012-4452","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.","status":"published","published":"2012-10-09T23:00:00Z","modified":"2024-08-06T20:35:09.953Z","updated_at":"2026-11-02T14:34:51.584538Z"}],"euvd":[{"id":"EUVD-2012-4383","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.","status":"published","published":"2012-10-09T23:00:00Z","modified":"2024-08-06T20:35:09Z","updated_at":"2026-11-03T01:56:07.912368Z"}],"ghsa":[{"id":"GHSA-552j-94gg-c5pj","title":"MySQL 5.0.88, and possibly other versions and platforms, allows local users to bypass certain...","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.","status":"published","published":"2022-05-17T05:16:58Z","modified":"2023-01-28T05:03:36Z","updated_at":"2026-11-02T14:44:00.703043Z"}],"nvd":[{"id":"CVE-2012-4452","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.","status":"published","published":"2012-10-09T23:55:05.237Z","modified":"2026-06-16T23:45:07.62Z","cvss":[{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-264"],"updated_at":"2026-11-02T14:02:16.115119Z"}],"osv":[{"id":"BELL-CVE-2012-4452","title":"CVE-2012-4452 does not affect BellSoft software","status":"withdrawn","published":"2012-10-09T23:55:00Z","modified":"2026-01-28T07:19:19.79996Z","cvss":[{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:N/I:P/A:N","level":"low"}],"updated_at":"2026-11-02T15:28:13.47097Z"},{"id":"RHSA-2013:0121","title":"Red Hat Security Advisory: mysql security and bug fix update","status":"published","published":"2024-09-15T19:57:41Z","modified":"2026-06-26T12:21:42.990150227Z","updated_at":"2026-11-02T15:53:01.495018Z"}]}}
