rustsec / rustsec/advisory-db

Add `cargo` CVEs 2022-36113 & 2022-36114

Open
#1,422 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
1.2k
Forks
544
Avg merge
1d 10h
Merged PRs (30d)
45

Description

Background

Cargo has new CVEs: https://blog.rust-lang.org/2022/09/14/cargo-cves.html

There was a fix here: https://github.com/rust-lang/cargo/pull/11088 that targeted beta five days ago

It is possible there is a backport to 1.64.0 release

One problem is the GHSA went out before there was actionable fix and GHSA also targeted this against the cargo crate itself

Cargo is also used as a library so beyond the cargo binary itself GHSA targets the library

Real question here is..

Beyond the usual rust release CVEs e.g. cargo binary -

We hold should maybe add RustSec light up the cargo crate as a library re: CVE's ?

I haven't had time to go dig deep on this yet but if someone wants to take a stab at it..

Ref: https://github.com/rust-lang/wg-security-response/issues/10 - best to hold up merging for actionable fix maybe

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the Cargo CVE and GHSA links, the Rust blog post, the two Cargo commits, and PR #11088, then check the RustSec security-response issue referenced in the report. Determine whether the vulnerabilities should be represented for the cargo binary, the cargo library crate, or both; done means the applicable advisory entries and affected versions are clearly established.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.