# How to resolve Rust vulnerability

**URL:** <https://forum.dfinity.org/t/how-to-resolve-rust-vulnerability/21534>\
**Category:** Rust\
**Created:** [July 20, 2023, 1:24pm UTC](https://forum.dfinity.org/t/how-to-resolve-rust-vulnerability/21534 "2023-07-20T13:24:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![peterparker](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@peterparker](https://forum.dfinity.org/u/peterparker)\
**Post date:** [July 20, 2023, 1:24pm UTC](https://forum.dfinity.org/t/how-to-resolve-rust-vulnerability/21534/1 "2023-07-20T13:24:47Z")

</div>

Not an IC related question more a Rust noob question.

I got a vulnerability detected and reported in a new canister I started developping but, don’t know really how to track it down nor how to solve it. The issue does not seem to originate from my code but, from a crate I am using, so a bit lost how to find which one and what is vulnerable. How do I know which dependency has the issue? Any advice would be appreciated!

> ❯ dfx build telemetry  
> Building canisters…  
> Checking for vulnerabilities in rust canisters.  
> Fetching advisory database from `https://github.com/RustSec/advisory-db.git`  
> Loaded 554 security advisories (from /Users/daviddalbusco/.cargo/advisory-db)  
> Updating [crates.io](http://crates.io) index  
> Scanning Cargo.lock for vulnerabilities (112 crate dependencies)  
> Crate: telemetry  
> Version: 0.0.1  
> Title: misc::vec\_with\_size() can drop uninitialized memory if clone panics  
> Date: 2021-02-17  
> ID: RUSTSEC-2021-0046  
> URL: [RUSTSEC-2021-0046: telemetry: misc::vec\_with\_size() can drop uninitialized memory if clone panics › RustSec Advisory Database](https://rustsec.org/advisories/RUSTSEC-2021-0046)  
> Solution: No fixed upgrade is available!  
> Dependency tree:  
> telemetry 0.0.1

---

<div class="post-metadata">

**Author:** ![peterparker](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@peterparker](https://forum.dfinity.org/u/peterparker)\
**Post date:** [July 20, 2023, 1:48pm UTC](https://forum.dfinity.org/t/how-to-resolve-rust-vulnerability/21534/2 "2023-07-20T13:48:27Z")

</div>

Dude, it’s because my canister name is `telemetry`, and the security vulnerability was issued for a crate called … `telemetry` 🙈.

If I rename my canister, no issue.
