USN-6275-1

Type: Security
Severity: Medium
Published: 2023-08-03
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 20.04 LTS (Focal Fossa)

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. Update Instructions: Run `sudo pro fix USN-6275-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: librust-cargo+openssl-dev - 0.57.0-1ubuntu0.1~esm1 librust-cargo-dev - 0.57.0-1ubuntu0.1~esm1 Available with Ubuntu Pro: https://ubuntu.com/pro cargo - 0.67.1+ds0ubuntu0.libgit2-0ubuntu0.22.04.2+esm1 cargo-doc - 0.67.1+ds0ubuntu0.libgit2-0ubuntu0.22.04.2+esm1 Available with Ubuntu Pro: https://ubuntu.com/pro

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T06:52:44.004Z UTC

Official vendor advisory

Ubuntu 22.04 LTS (Jammy Jellyfish)

View source
Observed 2026-11-28T06:52:44.004Z UTC. Last updated 2025-11-26T08:07:57.129Z UTC.

Upstream Advisory

Affected Packages

  • librust-cargo+openssl-dev 0.57.0-1ubuntu0.1~esm1-0.57.0-1ubuntu0.1~esm1

  • librust-cargo-dev 0.57.0-1ubuntu0.1~esm1-0.57.0-1ubuntu0.1~esm1

  • cargo 0.67.1+ds0ubuntu0.libgit2-0ubuntu0.20.04.2+esm1-0.67.1+ds0ubuntu0.libgit2-0ubuntu0.20.04.2+esm1

  • cargo-doc 0.67.1+ds0ubuntu0.libgit2-0ubuntu0.20.04.2+esm1-0.67.1+ds0ubuntu0.libgit2-0ubuntu0.20.04.2+esm1

Interested in being alerted when there are new versions of librust-cargo+openssl-dev and the other packages? Set up an alert.
USN-6275-1: Cargo vulnerability | Package Alert