1.2
CWE
NVD-CWE-Other 362
Advisory Published
Updated

CVE-2004-1058: Race Condition

First published: Wed Dec 22 2004(Updated: )

Race condition in Linux kernel 2.6 allows local users to read the environment variables of another process that is still spawning via /proc/.../cmdline.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Linux kernel=2.6.5
Linux kernel=2.6.1
Ubuntu Linux=4.1
Linux kernel=2.6.0-test5
Linux kernel=2.6.3
Linux kernel=2.6.0-test2
Linux kernel=2.6.4
Linux kernel=2.6_test9_cvs
Linux kernel=2.6.7-rc1
Linux kernel=2.6.2
Linux kernel=2.6.8-rc1
Linux kernel=2.6.0-test11
Linux kernel=2.6.1-rc2
Linux kernel=2.6.8
Linux kernel=2.6.0-test1
Linux kernel=2.6.0-test6
Linux kernel=2.6.10-rc2
Linux kernel=2.6.0-test4
Linux kernel=2.6.0
Linux kernel=2.6.0-test10
Linux kernel=2.6.0-test9
Linux kernel=2.6.7
Linux kernel=2.6.1-rc1
Linux kernel=2.6.6-rc1
Linux kernel=2.6.9-2.6.20
Linux kernel=2.6.0-test7
Ubuntu Linux=4.1
Linux kernel=2.6.8-rc2
Linux kernel=2.6.8-rc3
Linux kernel=2.6.0-test8
Linux kernel=2.6.6
Linux kernel=2.6.0-test3

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-1058?

    CVE-2004-1058 is considered to have medium severity due to its potential for local user exploitation.

  • How do I fix CVE-2004-1058?

    To fix CVE-2004-1058, you should upgrade your Linux kernel to a version later than 2.6.8 that addresses this race condition.

  • Who is affected by CVE-2004-1058?

    Local users on systems running specific versions of the Linux kernel 2.6 are affected by CVE-2004-1058.

  • What systems are impacted by CVE-2004-1058?

    CVE-2004-1058 affects systems running Linux kernel versions 2.6.0 up to and including 2.6.8.

  • What does CVE-2004-1058 exploit?

    CVE-2004-1058 exploits a race condition allowing local users to read environment variables of another process during its spawning.

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