matter-labs / foundry-zksync

Fork of Foundry tailored for zkSync environment
Apache License 2.0
299 stars 130 forks source link

chore: deal with proc_macro_error and gix_path cargo deny advisories #564

Closed elfedy closed 2 months ago

elfedy commented 2 months ago

Motivation

ID: RUSTSEC-2024-0370 Advisory: https://rustsec.org/advisories/RUSTSEC-2024-0370 proc-macro-error's maintainer seems to be unreachable, with no commits for 2 years, no releases pushed for 4 years, and no activity on the GitLab repo or response to email.

ID: RUSTSEC-2024-0367 Advisory: https://rustsec.org/advisories/RUSTSEC-2024-0367 gix-path executes git to find the path of a configuration file that belongs to the git installation itself, but mistakenly treats the local repository's configuration as system-wide if no higher scope d configuration is found. In rare cases, this causes a less trusted repository to be treated as more trusted, or leaks sensitive information from one repository to another, such as sending credentials to another repository's remote.

Solution