CVE-2004-0957: Unknown vulnerability in MySQL 3.23.58 and earlier, when a local user has privileges for a database whose name
50
This month
MEDIUM 6.8WATCHLISTDOWNGRADEDOWNGRADEMITIGATE
CVE-2004-0957 is a medium-severity flaw (CVSS 6.8) affecting openpkg, mysql, enterprise linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Unknown vulnerability in MySQL 3.23.58 and earlier, when a local user has privileges for a database whose name includes a "_" (underscore), grants privileges to other databases that have similar names, which can allow the user to conduct unauthorized activities.
Why this priority
On your watchlist
No fix is published yet: follow the downgrade or mitigation steps.
apt-cache policy mysql || rpm -q mysql || mysql --version
2. No fixed release: DOWNGRADE to a release before 3.20 (Debian / Ubuntu)
apt-cache madison mysql
sudo apt install mysql=<VERSION_BEFORE_3.20>
sudo apt-mark hold mysql
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list mysql
sudo dnf downgrade mysql-<VERSION_BEFORE_3.20>
sudo dnf versionlock add mysql
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
redhat enterprise linux MITIGATE
Affected: 3.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 3.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
redhat enterprise linux desktop MITIGATE
Affected: 3.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 3.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
suse suse linux MITIGATE
Affected: 8.0 · 8.1 · 8.2 · 9.0 · 9.1 · 9.2
Fixed in: no fixed release known
Safe to downgrade to: a release before 8.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
trustix secure linux MITIGATE
Affected: 1.5 · 2.0 · 2.1
Fixed in: no fixed release known
Safe to downgrade to: a release before 1.5
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2004-0957?
openpkg: downgrade or apply the listed mitigation; mysql: downgrade or apply the listed mitigation; enterprise linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2004-0957 being exploited?
CVE-2004-0957 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2004-0957 affect?
CVE-2004-0957 affects openpkg, mysql, enterprise linux. Severity is medium (CVSS 6.8). Unknown vulnerability in MySQL 3.23.58 and earlier, when a local user has privileges for a database whose name includes a "_" (underscore), grants privileges to other databases that have similar names, which can allow the user to conduct un
CVE-2007-5116HIGH 7.5DOWNGRADEDOWNGRADE Buffer overflow in the polymorphic opcode support in the Regular Expression Engine (regcomp.c) in Perl 5.8 all
CVE-2005-0373HIGH 7.5DOWNGRADEDOWNGRADE Buffer overflow in digestmd5.c CVS release 1.170 (also referred to as digestmda5.c), as used in the DIGEST-MD5
CVE-2004-1997MEDIUM 4.6DOWNGRADEDOWNGRADE Kolab stores OpenLDAP passwords in plaintext in the slapd.conf file, which may be installed world-readable, wh
CVE-2004-1471HIGH 7.1DOWNGRADEDOWNGRADE Format string vulnerability in wrapper.c in CVS 1.12.x through 1.12.8, and 1.11.x through 1.11.16 allows remot
CVE-2004-1065HIGH 10.0DOWNGRADEDOWNGRADE Buffer overflow in the exif_read_data function in PHP before 4.3.10 and PHP 5.x up to 5.0.2 allows remote atta