Debian Package Tracker
Register | Log in
Subscribe

rust-cargo

Package manager for Rust - Rust source code

Choose email to subscribe with

general
  • source: rust-cargo (main)
  • version: 0.91.0-4
  • maintainer: Debian Rust Maintainers (archive) (DMD)
  • uploaders: Ximin Luo [DMD] – Fabian Grünbichler [DMD]
  • arch: any
  • std-ver: 4.7.3
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • o-o-stable: 0.43.1-4
  • oldstable: 0.66.0-1
  • stable: 0.86.0-2
  • testing: 0.91.0-3
  • unstable: 0.91.0-4
versioned links
  • 0.43.1-4: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 0.66.0-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 0.86.0-2: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 0.91.0-3: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 0.91.0-4: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • librust-cargo-dev
action needed
A new upstream version is available: 0.97.1 high
A new upstream version 0.97.1 is available, you should consider packaging it.
Created: 2026-03-02 Last update: 2026-06-09 01:01
lintian reports 3 warnings normal
Lintian reports 3 warnings about this package. You should make the package lintian clean getting rid of them.
Created: 2026-04-29 Last update: 2026-06-05 12:01
28 open merge requests in Salsa normal
There are 28 open merge requests for this package on Salsa. You should consider reviewing and/or merging these merge requests.
Created: 2025-08-19 Last update: 2026-06-04 20:03
2 low-priority security issues in trixie low

There are 2 open security issues in trixie.

2 issues left for the package maintainer to handle:
  • CVE-2026-5222: (needs triaging) Cargo between 1.68 and 1.96 incorrectly normalized the URLs of third-party registries using the sparse index protocol. If a hosting provider allowed multiple registries to be hosted with arbitrary names within the same domain, an attacker able to publish crates in a registry could obtain the credentials of others users of the same registry. The severity of the vulnerability is **low**, due to the extremely niche requirements needed to achieve the attack.
  • CVE-2026-5223: (needs triaging) Cargo incorrectly handled symlinks inside of crate tarballs downloaded from third-party registries, allowing a malicious crate to override the source code of another crate from the same registry. The severity of the vulnerability is **medium** for users of third-party registries. Users of crates.io are **not affected**, as crates.io forbids uploading crates containing any symlink.

You can find information about how to handle these issues in the security team's documentation.

Created: 2026-05-27 Last update: 2026-06-05 13:30
4 low-priority security issues in bookworm low

There are 4 open security issues in bookworm.

2 issues left for the package maintainer to handle:
  • CVE-2026-5222: (needs triaging) Cargo between 1.68 and 1.96 incorrectly normalized the URLs of third-party registries using the sparse index protocol. If a hosting provider allowed multiple registries to be hosted with arbitrary names within the same domain, an attacker able to publish crates in a registry could obtain the credentials of others users of the same registry. The severity of the vulnerability is **low**, due to the extremely niche requirements needed to achieve the attack.
  • CVE-2026-5223: (needs triaging) Cargo incorrectly handled symlinks inside of crate tarballs downloaded from third-party registries, allowing a malicious crate to override the source code of another crate from the same registry. The severity of the vulnerability is **medium** for users of third-party registries. Users of crates.io are **not affected**, as crates.io forbids uploading crates containing any symlink.

You can find information about how to handle these issues in the security team's documentation.

2 ignored issues:
  • CVE-2023-38497: Cargo downloads the Rust project’s dependencies and compiles the project. Cargo prior to version 0.72.2, bundled with Rust prior to version 1.71.1, did not respect the umask when extracting crate archives on UNIX-like systems. If the user downloaded a crate containing files writeable by any local user, another local user could exploit this to change the source code compiled and executed by the current user. To prevent existing cached extractions from being exploitable, the Cargo binary version 0.72.2 included in Rust 1.71.1 or later will purge caches generated by older Cargo versions automatically. As a workaround, configure one's system to prevent other local users from accessing the Cargo directory, usually located in `~/.cargo`.
  • CVE-2023-40030: Cargo downloads a Rust project’s dependencies and compiles the project. Starting in Rust 1.60.0 and prior to 1.72, Cargo did not escape Cargo feature names when including them in the report generated by `cargo build --timings`. A malicious package included as a dependency may inject nearly arbitrary HTML here, potentially leading to cross-site scripting if the report is subsequently uploaded somewhere. The vulnerability affects users relying on dependencies from git, local paths, or alternative registries. Users who solely depend on crates.io are unaffected. Rust 1.60.0 introduced `cargo build --timings`, which produces a report of how long the different steps of the build process took. It includes lists of Cargo features for each crate. Prior to Rust 1.72, Cargo feature names were allowed to contain almost any characters (with some exceptions as used by the feature syntax), but it would produce a future incompatibility warning about them since Rust 1.49. crates.io is far more stringent about what it considers a valid feature name and has not allowed such feature names. As the feature names were included unescaped in the timings report, they could be used to inject Javascript into the page, for example with a feature name like `features = ["<img src='' onerror=alert(0)"]`. If this report were subsequently uploaded to a domain that uses credentials, the injected Javascript could access resources from the website visitor. This issue was fixed in Rust 1.72 by turning the future incompatibility warning into an error. Users should still exercise care in which package they download, by only including trusted dependencies in their projects. Please note that even with these vulnerabilities fixed, by design Cargo allows arbitrary code execution at build time thanks to build scripts and procedural macros: a malicious dependency will be able to cause damage regardless of these vulnerabilities. crates.io has server-side checks preventing this attack, and there are no packages on crates.io exploiting these vulnerabilities. crates.io users still need to excercise care in choosing their dependencies though, as remote code execution is allowed by design there as well.
Created: 2023-08-05 Last update: 2026-06-05 13:30
debian/patches: 11 patches to forward upstream low

Among the 11 debian patches available in version 0.91.0-4 of the package, we noticed the following issues:

  • 11 patches where the metadata indicates that the patch has not yet been forwarded upstream. You should either forward the patch upstream or update the metadata to document its real status.
Created: 2023-02-26 Last update: 2026-06-05 08:02
Standards version of the package is outdated. wishlist
The package should be updated to follow the last version of Debian Policy (Standards-Version 4.7.4 instead of 4.7.3).
Created: 2025-12-23 Last update: 2026-06-05 01:30
testing migrations
  • excuses:
    • Migrates after: rust-gix
    • Migration status for rust-cargo (0.91.0-3 to 0.91.0-4): BLOCKED: Rejected/violates migration policy/introduces a regression
    • Issues preventing migration:
    • ∙ ∙ Autopkgtest for rust-cargo: amd64: Test triggered (failure will be ignored), arm64: Test triggered (failure will be ignored), i386: Test triggered (failure will be ignored), loong64: Test triggered (failure will be ignored), ppc64el: Test triggered (failure will be ignored), riscv64: Test triggered (failure will be ignored), s390x: Test triggered (failure will be ignored)
    • ∙ ∙ Autopkgtest for rust-debcargo/2.8.2-3: amd64: Pass, arm64: Pass, i386: Pass, loong64: Regression ♻ (reference ♻), ppc64el: Pass, riscv64: Pass, s390x: Pass
    • ∙ ∙ Too young, only 4 of 5 days old
    • ∙ ∙ Build-Depends(-Arch): rust-cargo rust-gix
    • ∙ ∙ Depends: rust-cargo rust-gix
    • Additional info (not blocking):
    • ∙ ∙ Piuparts tested OK - https://piuparts.debian.org/sid/source/r/rust-cargo.html
    • ∙ ∙ Reproduced on amd64 - info
    • ∙ ∙ Reproduced on arm64 - info
    • ∙ ∙ Reproduced on armhf - info
    • ∙ ∙ Reproduced on i386 - info
    • Not considered
news
[rss feed]
  • [2026-06-04] Accepted rust-cargo 0.91.0-4 (source) into unstable (Alexander Kjäll) (signed by: capitol@debian.org)
  • [2026-06-04] rust-cargo 0.91.0-3 MIGRATED to testing (Debian testing watch)
  • [2026-05-29] Accepted rust-cargo 0.91.0-3 (source) into unstable (Fabian Grünbichler) (signed by: Fabian Gruenbichler)
  • [2026-05-04] rust-cargo 0.91.0-2 MIGRATED to testing (Debian testing watch)
  • [2026-04-28] Accepted rust-cargo 0.91.0-2 (source) into unstable (Peter Michael Green)
  • [2026-02-24] rust-cargo 0.91.0-1 MIGRATED to testing (Debian testing watch)
  • [2026-02-14] Accepted rust-cargo 0.91.0-1 (source) into unstable (Fabian Grünbichler) (signed by: Fabian Gruenbichler)
  • [2026-02-01] rust-cargo 0.86.0-4 MIGRATED to testing (Debian testing watch)
  • [2026-01-27] Accepted rust-cargo 0.86.0-4 (source) into unstable (Peter Michael Green)
  • [2025-10-30] rust-cargo 0.86.0-3 MIGRATED to testing (Debian testing watch)
  • [2025-10-24] Accepted rust-cargo 0.86.0-3 (source) into unstable (Alexander Kjäll) (signed by: capitol@debian.org)
  • [2025-03-22] rust-cargo 0.86.0-2 MIGRATED to testing (Debian testing watch)
  • [2025-03-17] Accepted rust-cargo 0.86.0-2 (source) into unstable (Fabian Grünbichler)
  • [2025-03-12] rust-cargo 0.86.0-1 MIGRATED to testing (Debian testing watch)
  • [2025-03-07] Accepted rust-cargo 0.86.0-1 (source) into unstable (Fabian Grünbichler)
  • [2025-02-20] rust-cargo 0.85.0-1 MIGRATED to testing (Debian testing watch)
  • [2025-02-14] Accepted rust-cargo 0.85.0-1 (source) into unstable (Fabian Grünbichler)
  • [2025-01-08] rust-cargo 0.84.0-1 MIGRATED to testing (Debian testing watch)
  • [2024-12-29] Accepted rust-cargo 0.84.0-1 (source) into unstable (Fabian Grünbichler)
  • [2024-12-27] Accepted rust-cargo 0.83.0-2 (source) into unstable (Peter Michael Green)
  • [2024-11-17] rust-cargo 0.83.0-1 MIGRATED to testing (Debian testing watch)
  • [2024-11-11] Accepted rust-cargo 0.83.0-1 (source) into unstable (Fabian Grünbichler)
  • [2024-10-28] rust-cargo 0.82.0-1 MIGRATED to testing (Debian testing watch)
  • [2024-10-22] Accepted rust-cargo 0.82.0-1 (source) into unstable (Fabian Grünbichler)
  • [2024-10-13] rust-cargo 0.81.0-3 MIGRATED to testing (Debian testing watch)
  • [2024-10-05] Accepted rust-cargo 0.81.0-3 (source) into unstable (Fabian Grünbichler)
  • [2024-10-05] Accepted rust-cargo 0.81.0-2 (source) into unstable (Peter Michael Green)
  • [2024-10-04] Accepted rust-cargo 0.81.0-1 (source) into unstable (Fabian Grünbichler)
  • [2024-09-28] rust-cargo 0.76.0-4 MIGRATED to testing (Debian testing watch)
  • [2024-09-22] Accepted rust-cargo 0.76.0-4 (source) into unstable (Peter Michael Green)
  • 1
  • 2
bugs [bug history graph]
  • all: 1
  • RC: 0
  • I&N: 1
  • M&W: 0
  • F&P: 0
  • patch: 0
links
  • homepage
  • lintian (0, 3)
  • buildd: logs, reproducibility, cross
  • popcon
  • browse source code
  • other distros
  • security tracker
  • debian patches
  • debci
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 0.91.0-1ubuntu1

Debian Package Tracker — Copyright 2013-2025 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing