USN-338-1: MySQL vulnerabilities

5 September 2006

mysql-dfsg-5.0 vulnerabilities

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 6.06 LTS

Software Description


Dmitri Lenev discovered that arguments of setuid SQL functions were evaluated in the security context of the functions’ definer instead of its caller. An authenticated user with the privilege to call such a function could exploit this to execute arbitrary statements with the privileges of the definer of that function. (CVE-2006-4227)

Peter Gulutzan reported a potentially confusing situation of the MERGE table engine. If an user creates a merge table, and the administrator later revokes privileges on the original table only (without changing the privileges on the merge table), that user still has access to the data by using the merge table. This is intended behaviour, but might be undesirable in some installations; this update introduces a new server option “–skip-merge” which disables the MERGE engine completely. (CVE-2006-4031)

Update instructions

The problem can be corrected by updating your system to the following package versions:

Ubuntu 6.06 LTS
mysql-server-5.0 - 5.0.22-0ubuntu6.06.2

To update your system, please follow these instructions:

In general, a standard system upgrade is sufficient to effect the necessary changes.