CVE-2007-2692
Fixed in a distro release EPSS 2%
The mysql_change_db function in MySQL 5.0.x before 5.0.40 and 5.1.x before 5.1.18 does not restore THD::db_access privileges when returning from SQL SECURITY INVOKER stored routines, which allows remote authenticated users to gain privileges.
Products: mysql, oracle mysql
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 3.1 | mysql-dfsg | 4.0.24-10sarge3 |
| Debian 3.1 | mysql-dfsg-4.1 | 4.1.11a-4sarge8 |
| Debian 4.0 | mysql-dfsg-5.0 | 5.0.32-7etch3 |
| Red Hat Enterprise Linux 5 | mysql | 0:5.0.45-7.el5 |
| Red Hat Enterprise Linux 5 | mysql-bench | 0:5.0.45-7.el5 |
| Red Hat Enterprise Linux 5 | mysql-debuginfo | 0:5.0.45-7.el5 |
| Red Hat Enterprise Linux 5 | mysql-devel | 0:5.0.45-7.el5 |
| Red Hat Enterprise Linux 5 | mysql-server | 0:5.0.45-7.el5 |
| Red Hat Enterprise Linux 5 | mysql-test | 0:5.0.45-7.el5 |
| Red Hat rhel application stack 1 | mysql | 0:5.0.44-1.el4s1.1 |
| Red Hat rhel application stack 1 | mysql-bench | 0:5.0.44-1.el4s1.1 |
| Red Hat rhel application stack 1 | mysql-cluster | 0:5.0.44-1.el4s1.1 |
| Red Hat rhel application stack 1 | mysql-debuginfo | 0:5.0.44-1.el4s1.1 |
| Red Hat rhel application stack 1 | mysql-devel | 0:5.0.44-1.el4s1.1 |
| Red Hat rhel application stack 1 | mysql-libs | 0:5.0.44-1.el4s1.1 |
| Red Hat rhel application stack 1 | mysql-server | 0:5.0.44-1.el4s1.1 |
| Red Hat rhel application stack 1 | mysql-test | 0:5.0.44-1.el4s1.1 |