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

Cargo audit reports a security vulnerability in the time crate dependency #165

Open
reinhardbluelab opened this issue Jan 13, 2023 · 2 comments

Comments

@reinhardbluelab
Copy link

reinhardbluelab commented Jan 13, 2023

Running cargo audit on my project results in the following report:

Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
  Loaded 481 security advisories (from /Users/r/.cargo/advisory-db)
Updating crates.io index
Scanning Cargo.lock for vulnerabilities (196 crate dependencies)

Crate:     time
Version:   0.1.44
Title:     Potential segfault in the time crate
Date:      2020-11-18
ID:        RUSTSEC-2020-0071
URL:       https://rustsec.org/advisories/RUSTSEC-2020-0071
Solution:  Upgrade to >=0.2.23
Dependency tree:
time 0.1.44
└── chrono 0.4.22
    └── build-time 0.1.2
        └── esp-idf-sys 0.32.1
            ├── esp-idf-svc 0.45.0
...
error: 1 vulnerability found!

Note: I have also reported this issue for the build-time crate repository.

@ivmarkov
Copy link
Collaborator

ivmarkov commented Feb 1, 2023

Is this still a problem now that time 0.1.45 had been released?

@reinhardbluelab
Copy link
Author

reinhardbluelab commented Feb 2, 2023

Not sure - according to the output it's only resolved from >=0.2.23. According to the repo time 0.1.x is deprecated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants