Yes. git2 (crates.io): upgrade to 0.16.1 or later; libgit2-sys (crates.io): upgrade to 0.14.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2023-22742?
Check whether you run git2 (crates.io) or libgit2-sys (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
git2 (crates.io): upgrade to 0.16.1 or later
cargo update -p git2
libgit2-sys (crates.io): upgrade to 0.14.2 or later