Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVEs in CLI #76

Open
jayvdb opened this issue Feb 25, 2024 · 1 comment
Open

CVEs in CLI #76

jayvdb opened this issue Feb 25, 2024 · 1 comment

Comments

@jayvdb
Copy link
Contributor

jayvdb commented Feb 25, 2024

Using https://github.com/google/osv-scanner

ulid-rs> osv-scanner --lockfile Cargo.lock 
Scanned /home/jayvdb/rust/ulid-rs/Cargo.lock file and found 83 packages
╭─────────────────────────────────────┬──────┬───────────┬───────────┬─────────┬────────────╮
│ OSV URL                             │ CVSS │ ECOSYSTEM │ PACKAGE   │ VERSION │ SOURCE     │
├─────────────────────────────────────┼──────┼───────────┼───────────┼─────────┼────────────┤
│ https://osv.dev/RUSTSEC-2021-0139   │      │ crates.io │ ansi_term │ 0.12.1  │ Cargo.lock │
│ https://osv.dev/GHSA-g98v-hv3f-hcfr │      │ crates.io │ atty      │ 0.2.14  │ Cargo.lock │
│ https://osv.dev/RUSTSEC-2021-0145   │      │           │           │         │            │
╰─────────────────────────────────────┴──────┴───────────┴───────────┴─────────┴────────────╯

https://osv.dev/RUSTSEC-2021-0145 is a different identifier for https://osv.dev/GHSA-g98v-hv3f-hcfr

@jayvdb
Copy link
Contributor Author

jayvdb commented Feb 26, 2024

The ansi_term and atty CVEs are coming in via the CLI structopt = "0.2". Upgrading to 0.3 has no effect as it still only uses clap 2 where these CVEs come from. c.f. https://crates.io/crates/structopt

@jayvdb jayvdb changed the title CVEs CVEs in CLI Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant