lnx-search / lnx

⚡ Insanely fast, 🌟 Feature-rich searching. lnx is the adaptable, typo tollerant deployment of the tantivy search engine.
https://lnx.rs
MIT License
1.21k stars 46 forks source link

Upgrade zip to 2.1.3 and fix the vulnerability in it's dependency #150

Open sunxiaoguang opened 2 weeks ago

sunxiaoguang commented 2 weeks ago

The dependency zip 0.5.13 depends on a crate with vulnerability. This PR upgrades it and makes necessary changes according to the new interface.

Crate:     time
Version:   0.1.45
Title:     Potential segfault in the time crate
Date:      2020-11-18
ID:        RUSTSEC-2020-0071
URL:       https://rustsec.org/advisories/RUSTSEC-2020-0071
Severity:  6.2 (medium)
Solution:  Upgrade to >=0.2.23
Dependency tree:
time 0.1.45
└── zip 0.5.13
    └── lnx 0.9.0
ChillFish8 commented 1 week ago

I think this is a reasonable change, although i'd like to remove the dependency later on, best to fix it for now.