CVE-2007-2692

NameCVE-2007-2692
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-1413-1
Debian Bugs424778

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mysql-dfsgsourcesarge4.0.24-10sarge3DSA-1413-1
mysql-dfsg-4.1sourcesarge4.1.11a-4sarge8DSA-1413-1
mysql-dfsg-5.0sourceetch5.0.32-7etch3DSA-1413-1
mysql-dfsg-5.0source(unstable)5.0.42424778

Notes

[sarge] - mysql-dfsg-4.1 <not-affected> (Vulnerable functionality not implemented)
[sarge] - mysql-dfsg <not-affected> (Vulnerable functionality not implemented)
http://bugs.mysql.com/bug.php?id=28499

Search for package or bug name: Reporting problems