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.66.0-1
  • maintainer: Debian Rust Maintainers (archive) (DMD)
  • uploaders: Ximin Luo [DMD]
  • arch: any
  • std-ver: 4.6.1
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • oldstable: 0.32.0-2
  • stable: 0.43.1-4
  • testing: 0.66.0-1
  • unstable: 0.66.0-1
versioned links
  • 0.32.0-2: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 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]
binaries
  • librust-cargo-dev
action needed
A new upstream version is available: 0.69.0 high
A new upstream version 0.69.0 is available, you should consider packaging it.
Created: 2021-12-03 Last update: 2023-03-25 12:09
Fails to build during reproducibility testing normal
A package building reproducibly enables third parties to verify that the source matches the distributed binaries. It has been identified that this source package produced different results, failed to build or had other issues in a test environment. Please read about how to improve the situation!
Created: 2023-01-23 Last update: 2023-03-25 14:11
lintian reports 4 warnings normal
Lintian reports 4 warnings about this package. You should make the package lintian clean getting rid of them.
Created: 2022-11-16 Last update: 2023-01-13 06:06
debian/patches: 9 patches to forward upstream low

Among the 9 debian patches available in version 0.66.0-1 of the package, we noticed the following issues:

  • 9 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: 2023-02-26 15:54
3 low-priority security issues in bullseye low

There are 3 open security issues in bullseye.

3 issues left for the package maintainer to handle:
  • CVE-2022-36113: (needs triaging) Cargo is a package manager for the rust programming language. After a package is downloaded, Cargo extracts its source code in the ~/.cargo folder on disk, making it available to the Rust projects it builds. To record when an extraction is successful, Cargo writes "ok" to the .cargo-ok file at the root of the extracted source code once it extracted all the files. It was discovered that Cargo allowed packages to contain a .cargo-ok symbolic link, which Cargo would extract. Then, when Cargo attempted to write "ok" into .cargo-ok, it would actually replace the first two bytes of the file the symlink pointed to with ok. This would allow an attacker to corrupt one file on the machine using Cargo to extract the package. Note that by design Cargo allows code execution at build time, due to build scripts and procedural macros. The vulnerabilities in this advisory allow performing a subset of the possible damage in a harder to track down way. Your dependencies must still be trusted if you want to be protected from attacks, as it's possible to perform the same attacks with build scripts and procedural macros. The vulnerability is present in all versions of Cargo. Rust 1.64, to be released on September 22nd, will include a fix for it. Since the vulnerability is just a more limited way to accomplish what a malicious build scripts or procedural macros can do, we decided not to publish Rust point releases backporting the security fix. Patch files are available for Rust 1.63.0 are available in the wg-security-response repository for people building their own toolchain. Mitigations We recommend users of alternate registries to 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 implemented server-side checks to reject these kinds of packages years ago, and there are no packages on crates.io exploiting these vulnerabilities. crates.io users still need to exercise care in choosing their dependencies though, as remote code execution is allowed by design there as well.
  • CVE-2022-36114: (needs triaging) Cargo is a package manager for the rust programming language. It was discovered that Cargo did not limit the amount of data extracted from compressed archives. An attacker could upload to an alternate registry a specially crafted package that extracts way more data than its size (also known as a "zip bomb"), exhausting the disk space on the machine using Cargo to download the package. Note that by design Cargo allows code execution at build time, due to build scripts and procedural macros. The vulnerabilities in this advisory allow performing a subset of the possible damage in a harder to track down way. Your dependencies must still be trusted if you want to be protected from attacks, as it's possible to perform the same attacks with build scripts and procedural macros. The vulnerability is present in all versions of Cargo. Rust 1.64, to be released on September 22nd, will include a fix for it. Since the vulnerability is just a more limited way to accomplish what a malicious build scripts or procedural macros can do, we decided not to publish Rust point releases backporting the security fix. Patch files are available for Rust 1.63.0 are available in the wg-security-response repository for people building their own toolchain. We recommend users of alternate registries to excercise 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 implemented server-side checks to reject these kinds of packages years ago, 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 the same concerns about build scripts and procedural macros apply here.
  • CVE-2022-46176: (needs triaging) Cargo is a Rust package manager. The Rust Security Response WG was notified that Cargo did not perform SSH host key verification when cloning indexes and dependencies via SSH. An attacker could exploit this to perform man-in-the-middle (MITM) attacks. This vulnerability has been assigned CVE-2022-46176. All Rust versions containing Cargo before 1.66.1 are vulnerable. Note that even if you don't explicitly use SSH for alternate registry indexes or crate dependencies, you might be affected by this vulnerability if you have configured git to replace HTTPS connections to GitHub with SSH (through git's [`url.<base>.insteadOf`][1] setting), as that'd cause you to clone the crates.io index through SSH. Rust 1.66.1 will ensure Cargo checks the SSH host key and abort the connection if the server's public key is not already trusted. We recommend everyone to upgrade as soon as possible.

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

Created: 2022-09-16 Last update: 2023-02-23 15:30
Build log checks report 2 warnings low
Build log checks report 2 warnings
Created: 2021-11-28 Last update: 2022-11-17 07:08
Standards version of the package is outdated. wishlist
The package should be updated to follow the last version of Debian Policy (Standards-Version 4.6.2 instead of 4.6.1).
Created: 2018-11-20 Last update: 2023-01-13 01:13
news
[rss feed]
  • [2023-01-18] rust-cargo 0.66.0-1 MIGRATED to testing (Debian testing watch)
  • [2023-01-12] Accepted rust-cargo 0.66.0-1 (source) into unstable (Peter Michael Green)
  • [2022-11-21] rust-cargo 0.63.1-2 MIGRATED to testing (Debian testing watch)
  • [2022-11-16] Accepted rust-cargo 0.63.1-2 (source) into unstable (Fabian Gruenbichler) (signed by: Sylvestre Ledru)
  • [2022-10-15] rust-cargo 0.57.0-2 MIGRATED to testing (Debian testing watch)
  • [2022-10-08] Accepted rust-cargo 0.57.0-2 (source) into unstable (Peter Michael Green)
  • [2022-09-28] Accepted rust-cargo 0.63.1-1 (source) into experimental (Fabian Grünbichler) (signed by: James McCoy)
  • [2021-12-04] rust-cargo 0.57.0-1 MIGRATED to testing (Debian testing watch)
  • [2021-10-23] Accepted rust-cargo 0.57.0-1 (source) into unstable (Ximin Luo) (signed by: infinity0@debian.org)
  • [2021-07-07] rust-cargo 0.43.1-4 MIGRATED to testing (Debian testing watch)
  • [2021-06-29] Accepted rust-cargo 0.43.1-4 (source) into unstable (Peter Michael Green)
  • [2020-12-13] rust-cargo 0.43.1-3 MIGRATED to testing (Debian testing watch)
  • [2020-12-07] Accepted rust-cargo 0.43.1-3 (source) into unstable (Peter Michael Green)
  • [2020-12-06] Accepted rust-cargo 0.43.1-2 (source) into unstable (Peter Michael Green)
  • [2020-04-18] Accepted rust-cargo 0.43.1-1 (source) into unstable (Ximin Luo) (signed by: infinity0@debian.org)
  • [2020-03-14] rust-cargo REMOVED from testing (Debian testing watch)
  • [2019-12-31] Accepted rust-cargo 0.41.0-2 (source) into unstable (Ximin Luo) (signed by: infinity0@debian.org)
  • [2019-12-31] Accepted rust-cargo 0.41.0-1 (source) into unstable (Ximin Luo) (signed by: infinity0@debian.org)
  • [2019-08-16] Accepted rust-cargo 0.37.0-1 (source) into unstable (Ximin Luo)
  • [2019-05-31] Accepted rust-cargo 0.35.0-1 (source) into unstable (Ximin Luo)
  • [2019-02-11] rust-cargo 0.32.0-2 MIGRATED to testing (Debian testing watch)
  • [2018-12-19] Accepted rust-cargo 0.32.0-2 (source) into unstable (Ximin Luo)
  • [2018-12-16] Accepted rust-cargo 0.32.0-1 (source) into unstable (Matt Kraai)
  • [2018-11-19] Accepted rust-cargo 0.31.0-1 (amd64 source) into unstable, unstable (Ximin Luo)
bugs [bug history graph]
  • all: 0
links
  • homepage
  • buildd: logs, checks, reproducibility, cross
  • popcon
  • browse source code
  • edit tags
  • other distros
  • security tracker
  • debian patches
  • debci
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 0.66.0-1

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