Advisory Published

USN-6275-1: Cargo vulnerability

First published: Thu Aug 03 2023(Updated: )

Addison Crump discovered that Cargo incorrectly set file permissions on UNIX-like systems when extracting crate archives. If the crate would contain files writable by any user, a local attacker could possibly use this issue to execute code as another user.

Affected SoftwareAffected VersionHow to fix
All of
ubuntu/cargo<0.67.1+ds0ubuntu0.libgit2-0ubuntu0.22.04.2+esm1
0.67.1+ds0ubuntu0.libgit2-0ubuntu0.22.04.2+esm1
=22.04
All of
ubuntu/librust-cargo+openssl-dev<0.57.0-1ubuntu0.1~esm1
0.57.0-1ubuntu0.1~esm1
=22.04
All of
ubuntu/librust-cargo-dev<0.57.0-1ubuntu0.1~esm1
0.57.0-1ubuntu0.1~esm1
=22.04
All of
ubuntu/cargo<0.67.1+ds0ubuntu0.libgit2-0ubuntu0.20.04.2+esm1
0.67.1+ds0ubuntu0.libgit2-0ubuntu0.20.04.2+esm1
=20.04
All of
ubuntu/cargo<0.66.0+ds0ubuntu0.libgit2-0ubuntu0.18.04.1~esm1
0.66.0+ds0ubuntu0.libgit2-0ubuntu0.18.04.1~esm1
=18.04
All of
ubuntu/cargo<0.47.0-1~exp1ubuntu1~16.04.1+esm1
0.47.0-1~exp1ubuntu1~16.04.1+esm1
=16.04

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.

Child vulnerabilities

(Contains the following vulnerabilities)

Frequently Asked Questions

  • What is the vulnerability ID of this advisory?

    The vulnerability ID of this advisory is USN-6275-1.

  • What is the title of this advisory?

    The title of this advisory is USN-6275-1: Cargo vulnerability.

  • Who discovered this vulnerability?

    The vulnerability was discovered by Addison Crump.

  • What is the severity level of this vulnerability?

    The severity level of this vulnerability has not been provided.

  • How can I fix this vulnerability?

    You can fix this vulnerability by updating the affected software to the recommended versions mentioned in the advisory.

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203