CVE-2007-6303 json
MySQL 5.0.x before 5.0.51a, 5.1.x before 5.1.23, and 6.0.x before 6.0.4 does not update the DEFINER value of a view when the view is altere…
published 2007-12-10 18 y ago modified 2026-06-16 4 mo ago also EUVD-2007-6270
- cvss
- 3.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
MySQL 5.0.x before 5.0.51a, 5.1.x before 5.1.23, and 6.0.x before 6.0.4 does not update the DEFINER value of a view when the view is altered, which allows remote authenticated users to gain privileges via a sequence of statements including a CREATE SQL SECURITY DEFINER VIEW statement and an ALTER VIEW statement.
Patch / fix
- mysql RHEL 1 APPLICATION_STACK 5.0.44-2.el4s1.1
- mysql-libs RHEL 1 APPLICATION_STACK 5.0.44-2.el4s1.1
- mysql-test RHEL 1 APPLICATION_STACK 5.0.44-2.el4s1.1
- mysql-bench RHEL 1 APPLICATION_STACK 5.0.44-2.el4s1.1
- mysql-server RHEL 1 APPLICATION_STACK 5.0.44-2.el4s1.1
- mysql-cluster RHEL 1 APPLICATION_STACK 5.0.44-2.el4s1.1
red hat advisories RHSA-2007:1157
- mariadb104 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 10.4.30-8.5.46
- lz4 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.8.0-3.5.2
- python-mysqlclient SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.3.14-8.9.2
- mariadb-connector-c SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 3.1.22-2.35.1
- mariadb104 SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE High Performance Computing 15 SP1-LTSS 10.4.30-150100.3.5.10
- python-mysqlclient SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE High Performance Computing 15 SP1-LTSS 1.4.6-150100.3.3.7
suse advisories SUSE-RU-2023:4991-1SUSE-RU-2023:3956-1
- mariadb openSUSE Tumbleweed 10.6.4-2.1
opensuse advisories openSUSE-SU-2024:11038-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2007-6303 updated
mysql: DEFINER value of view not altered on ALTER VIEW
-
Red Hat Application Stack v1 for Enterprise Linux AS (v.4) mysql 5.0.44-2.el4s1.1, mysql-libs 5.0.44-2.el4s1.1, mysql-test 5.0.44-2.el4s1.1, mysql-bench 5.0.44-2.el4s1.1, mysql-server 5.0.44-2.el4s1.1, mysql-cluster 5.0.44-2.el4s1.1 Red Hat Application Stack v1 for Enterprise Linux ES (v.4) mysql 5.0.44-2.el4s1.1, mysql-libs 5.0.44-2.el4s1.1, mysql-test 5.0.44-2.el4s1.1, mysql-bench 5.0.44-2.el4s1.1, mysql-server 5.0.44-2.el4s1.1, mysql-cluster 5.0.44-2.el4s1.1fixed: vendor fix RHSA-2007:1157
-
Red Hat Application Stack v2 for Enterprise Linux (v.5) mysql 5.0.44-3.el5s2, mysql-libs 5.0.44-3.el5s2, mysql-test 5.0.44-3.el5s2, mysql-bench 5.0.44-3.el5s2, mysql-server 5.0.44-3.el5s2, mysql-cluster 5.0.44-3.el5s2not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.23% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bugs.mysql.com http://bugs.mysql.com/bug.php?id=29908 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Classification
- Technology feeds
References
-
bugs.mysql.com
/bug.php?id=29908
exploit
-
security.gentoo.org
/glsa/glsa-200804-04.xml
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2008:017
vendor-advisory
-
redhat.com
/archives/fedora-package-announce/2007-December/msg00467.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2007-1157.html
vendor-advisory
-
redhat.com
/archives/fedora-package-announce/2007-December/msg00475.html
vendor-advisory
-
ubuntu.com
/usn/usn-588-1
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2008-02/msg00003.html
vendor-advisory
-
secunia.com
/advisories/29706
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/29443
third-party-advisory, vendor-advisory
-
vupen.com
/english/advisories/2007/4198
vdb-entry, vendor-advisory
-
secunia.com
/advisories/28025
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/28838
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/28063
third-party-advisory, vendor-advisory
- wiki.rpath.com /wiki/Advisories:rPSA-2008-0040
- lists.mysql.com /announce/502
-
exchange.xforce.ibmcloud.com
/vulnerabilities/38989
vdb-entry
- issues.rpath.com /browse/RPL-2187
- dev.mysql.com /doc/refman/5.1/en/news-5-1-23.html
- dev.mysql.com /doc/refman/5.0/en/releasenotes-es-5-0-52.html
-
securityfocus.com
/bid/26832
vdb-entry
-
securitytracker.com
/id?1019085
vdb-entry
- dev.mysql.com /doc/refman/6.0/en/news-6-0-4.html
-
securityfocus.com
/archive/1/487606/100/0/threaded
mailing-list
-
secunia.com
/advisories/28739
third-party-advisory
Sources
- CVE List CVE-2007-6303
- NVD CVE-2007-6303
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.