Description
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.
Metrics
CVSS 2.0 6.0/10
AV:N/AC:M/Au:S/C:P/I:P/A:PAffected software
No affected versions have been published.
Timeline
- Published
- May 16, 2007
- Last modified
- Jun 16, 2026
- NVD status
- Modified