CVE-2007-3781
MySQL Community Server before 5.0.45 does not require privileges such as SELECT for the source table in a CREATE TABLE LIKE statement…
Check your servers for CVE-2007-3781
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-2007-3781 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 Community Server before 5.0.45 does not require privileges such as SELECT for the source table in a CREATE TABLE LIKE statement, which allows remote authenticated users to obtain sensitive information such as the table structure.
Exploitation
EPSS 1.78%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 78.7% of all scored CVEs. Scores of 28 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-2007-3781 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2007-3781RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2007-3781Alpine
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-2007-3781
trivy image --scanners vuln IMAGE | grep CVE-2007-3781
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
- 28343 secunia.com · third party advisory
- RHSA-2007:0894 redhat.com · vendor advisory
- 26073 secunia.com · third party advisory
- 26498 secunia.com · third party advisory
- DSA-1451 debian.org · vendor advisory
- USN-559-1 usn.ubuntu.com · vendor advisory
- GLSA-200708-10 security.gentoo.org · vendor advisory
- SSA:2007-348-01 slackware.com · vendor advisory
- 26987 secunia.com · third party advisory
- 25301 secunia.com · third party advisory
- 28040 secunia.com · third party advisory
- https://issues.rpath.com/browse/RPL-1536 issues.rpath.com
7 more
- 30351 secunia.com · third party advisory
- 28108 secunia.com · third party advisory
- http://dev.mysql.com/doc/refman/5.0/en/releasenotes-cs-5-0-45.html dev.mysql.com
- 26430 secunia.com · third party advisory
- 28128 secunia.com · third party advisory
- MDKSA-2007:243 mandriva.com · vendor advisory
- RHSA-2008:0364 redhat.com · vendor advisory
Other references
- http://bugs.mysql.com/bug.php?id=25578 bugs.mysql.com
- 37783 osvdb.org · vdb entry
- [announce] 20070712 MySQL Community Server 5.0.45 has been released! lists.mysql.com · mailing list
- 25017 securityfocus.com · vdb entry
- 20070717 rPSA-2007-0143-1 mysql mysql-bench mysql-server securityfocus.com · mailing list
- oval:org.mitre.oval:def:9195 oval.cisecurity.org · vdb entry, signature
Source: the record CVE-2007-3781 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