CVE-2006-4031
MySQL 4.1 before 4.1.21 and 5.0 before 5.0.24 allows a local user to access a table through a previously created MERGE table, even after…
Check your servers for CVE-2006-4031
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2006-4031 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
MySQL 4.1 before 4.1.21 and 5.0 before 5.0.24 allows a local user to access a table through a previously created MERGE table, even after the user's privileges are revoked for the original table, which might violate intended security policy.
Exploitation
EPSS 1.74%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 78.1% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2006-4031 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2006-4031RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2006-4031Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2006-4031
trivy image --scanners vuln IMAGE | grep CVE-2006-4031
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- 21259 secunia.com · third party advisory
- 21627 secunia.com · third party advisory
- TA07-072A us-cert.gov · third party advisory
- SUSE-SR:2006:023 novell.com · vendor advisory
- APPLE-SA-2007-03-13 lists.apple.com · vendor advisory
- USN-338-1 ubuntu.com · vendor advisory
- 31226 secunia.com · third party advisory
- http://docs.info.apple.com/article.html?artnum=305214 docs.info.apple.com
- RHSA-2008:0768 redhat.com · vendor advisory
- 21382 secunia.com · third party advisory
- MDKSA-2006:149 mandriva.com · vendor advisory
- 22080 secunia.com · third party advisory
9 more
- 21770 secunia.com · third party advisory
- 21685 secunia.com · third party advisory
- http://dev.mysql.com/doc/refman/5.0/en/news-5-0-24.html dev.mysql.com
- http://dev.mysql.com/doc/refman/4.1/en/news-4-1-21.html dev.mysql.com
- 30351 secunia.com · third party advisory
- RHSA-2007:0083 redhat.com · vendor advisory
- https://issues.rpath.com/browse/RPL-568 issues.rpath.com
- RHSA-2008:0364 redhat.com · vendor advisory
- 24479 secunia.com · third party advisory
Other references
- ADV-2006-3079 vupen.com · vdb entry
- 19279 securityfocus.com · vdb entry
- oval:org.mitre.oval:def:10468 oval.cisecurity.org · vdb entry, signature
- 1016617 securitytracker.com · vdb entry
- http://bugs.mysql.com/bug.php?id=15195 bugs.mysql.com
- ADV-2007-0930 vupen.com · vdb entry
Source: the record CVE-2006-4031 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse