sigstore / sigstore-rs

An experimental Rust crate for sigstore
https://sigstore.github.io/sigstore-rs/sigstore/
Apache License 2.0
156 stars 48 forks source link

chore(deps): do not enable default features of chrono #286

Closed flavio closed 11 months ago

flavio commented 11 months ago

Enabling the default features of chrono causes the time 0.1 crate to be added as a transitive dependency.

This old version of time is affected by CVE RUSTSEC-2020-0071

Thanks to work done inside of chrono 0.4, there are high chances the majority of the codebases do not actually need it.

Building sigstore with only the cosign feature prevents the inclusion of the vulnerable time dependency.

This isn't unfortunately true when rekor is being used, because the openid crate brings the transitive dependency back.