CWE
Advisory Published
Updated

CVE-2004-0957

First published: Thu Oct 21 2004(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
openpkg openpkg=2.1
openpkg openpkg=2.2
openpkg openpkg=current
MySQL=3.20
MySQL=3.20.32a
MySQL=3.21
MySQL=3.22
MySQL=3.22.26
MySQL=3.22.27
MySQL=3.22.28
MySQL=3.22.29
MySQL=3.22.30
MySQL=3.22.32
MySQL=3.23
MySQL=3.23.2
MySQL=3.23.3
MySQL=3.23.4
MySQL=3.23.5
MySQL=3.23.8
MySQL=3.23.9
MySQL=3.23.10
MySQL=3.23.22
MySQL=3.23.23
MySQL=3.23.24
MySQL=3.23.25
MySQL=3.23.26
MySQL=3.23.27
MySQL=3.23.28
MySQL=3.23.28-gamma
MySQL=3.23.29
MySQL=3.23.30
MySQL=3.23.31
MySQL=3.23.32
MySQL=3.23.33
MySQL=3.23.34
MySQL=3.23.36
MySQL=3.23.37
MySQL=3.23.38
MySQL=3.23.39
MySQL=3.23.40
MySQL=3.23.41
MySQL=3.23.42
MySQL=3.23.43
MySQL=3.23.44
MySQL=3.23.45
MySQL=3.23.46
MySQL=3.23.47
MySQL=3.23.48
MySQL=3.23.49
MySQL=3.23.50
MySQL=3.23.51
MySQL=3.23.52
MySQL=3.23.53
MySQL=3.23.53a
MySQL=3.23.54
MySQL=3.23.54a
MySQL=3.23.55
MySQL=3.23.56
MySQL=3.23.58
MySQL=3.23.59
MySQL=4.0.0
MySQL=4.0.1
MySQL=4.0.2
MySQL=4.0.3
MySQL=4.0.4
MySQL=4.0.5
MySQL=4.0.5a
MySQL=4.0.6
MySQL=4.0.7
MySQL=4.0.7-gamma
MySQL=4.0.8
MySQL=4.0.8-gamma
MySQL=4.0.9
MySQL=4.0.9-gamma
MySQL=4.0.10
MySQL=4.0.11
MySQL=4.0.11-gamma
MySQL=4.0.12
MySQL=4.0.13
MySQL=4.0.14
MySQL=4.0.15
MySQL=4.0.18
MySQL=4.0.20
Red Hat Enterprise Linux=3.0
Red Hat Enterprise Linux=3.0
Red Hat Enterprise Linux=3.0
redhat enterprise Linux desktop=3.0
SUSE Linux=8.0
SUSE Linux=8.1
SUSE Linux=8.2
SUSE Linux=9.0
SUSE Linux=9.0
SUSE Linux=9.1
SUSE Linux=9.2
Trustix Secure Linux=1.5
Trustix Secure Linux=2.0
Trustix Secure Linux=2.1
Ubuntu=4.1
Ubuntu=4.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2004-0957?

    CVE-2004-0957 is considered to be a medium severity vulnerability due to its potential for unauthorized access to multiple databases by local users with specific privileges.

  • How do I fix CVE-2004-0957?

    To address CVE-2004-0957, upgrade MySQL to a version later than 3.23.58, which resolves this privilege escalation issue.

  • Who is affected by CVE-2004-0957?

    CVE-2004-0957 affects all local users with privileges on databases that include an underscore in the name across several versions of MySQL and OpenPKG.

  • What types of databases does CVE-2004-0957 affect?

    CVE-2004-0957 affects MySQL databases where names include an underscore, potentially allowing unauthorized actions on similarly named databases.

  • Is there a workaround for CVE-2004-0957?

    A potential workaround for CVE-2004-0957 is to rename databases to eliminate underscores, but upgrading to a secure version is the recommended solution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203