CVE-2020-36204: Open Source Vulnerability in im Package - TreeFocus lacks bounds on its Send and Sync traits

im Updated 02 Oct 2025

Summary

09/11/2020
Yes i
Moderate
4.7

CVE-2020-36204: TreeFocus lacks bounds on its Send and Sync traits. Affects im versions >= 12.0.0, < 15.1.0. Fixed in 15.1.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The im package is an open-source library available on crates.io. It provides immutable data structures for Rust programming language. One of the components in the package is TreeFocus, which is used to represent a focused view of a tree-like structure. However, versions of im prior to 15.1.0 contain a vulnerability in TreeFocus where it unconditionally implements the Send and Sync traits. This can lead to data races in safe Rust code if TreeFocus is extracted from the Focus type. Typical users who only use the Focus type are not affected by this vulnerability.

Vulnerability Detail

The vulnerability in im package arises from the unconditional implementation of Send and Sync traits in TreeFocus. This can result in data races in safe Rust code when TreeFocus is extracted from the Focus type. Data races can lead to unpredictable behavior and incorrect results in concurrent or parallel execution. It is important to note that this vulnerability only affects users who directly use the TreeFocus type.

How To Fix

Latest published version: 15.1.0 as of 23 Oct 2026

The newest release already contains this fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. Users are advised to upgrade to the fixed version of the im package as mentioned in the 'how_to_fix' section.

Conclusion

The im package prior to version 15.1.0 contains a vulnerability in the TreeFocus component, where it unconditionally implements the Send and Sync traits. This can lead to data races in safe Rust code. Users of the package are advised to upgrade to version 15.1.0 or later to fix the vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for im →

Share this vulnerability

FAQ

This vulnerability affects users of the im package who directly use the TreeFocus type. Users who only use the Focus type are not affected.

The vulnerability can lead to data races in safe Rust code, resulting in unpredictable behavior and incorrect results in concurrent or parallel execution.

You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply provide your Cargo.lock file and the playground will analyze it for open-source vulnerabilities, including this one.

Yes, the CVSS score for this vulnerability is 4.7.

You can find more information about this vulnerability, including its source and advisory details, at https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0096.json

Related vulnerabilities

Recent vulnerabilities recorded for im.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Latest published version: 15.1.0 as of 23 Oct 2026

The newest release already contains this fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback