End-of-life vulnerability in chan crate

chan Updated 02 Oct 2025

Summary

31/07/2018
N/A
Yes i
Unrated
Not published

RUSTSEC-2018-0014: chan is end-of-life; use crossbeam-channel instead. Affects chan versions >= 0.0.0-0, < 0.1.24-0. Fixed in 0.1.24-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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The chan crate is a package available on crates.io that provides a channel implementation for Rust. It allows communication between concurrent tasks by sending and receiving messages. However, the chan crate has reached its end-of-life and is now deprecated.

Vulnerability Detail

The chan crate is no longer maintained and has been deprecated in favor of the crossbeam-channel crate. This vulnerability affects versions prior to 0.1.24-0 of the chan crate. The crossbeam-channel crate is the recommended successor, offering a similar API but with better performance, a more robust test suite, and overall improvements in implementation. It is important to migrate to crossbeam-channel to ensure continued support and avoid potential issues with the deprecated chan crate.

How To Fix

Minimum fixed version

0.1.24-0

This is the first release that contains the fix.

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

Conclusion

The chan crate has reached its end-of-life and is now deprecated. It is recommended to migrate to the crossbeam-channel crate to ensure continued support and take advantage of its improved performance and implementation. For further assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for chan →

Share this vulnerability

FAQ

The impact of this vulnerability is that the chan crate is no longer maintained, which means it may have unresolved issues or security vulnerabilities. By migrating to the crossbeam-channel crate, you ensure that you are using a maintained and actively developed package.

The chan crate was deprecated because it reached its end-of-life and is no longer actively maintained. The crossbeam-channel crate is the recommended successor, offering better performance and overall improvements.

To migrate from chan to crossbeam-channel, update your Cargo.toml file to include the latest version of crossbeam-channel. Then, modify your code to use the crossbeam-channel API instead of chan. Make sure to test your code thoroughly after the migration.

The API of crossbeam-channel is strikingly similar to chan, so migrating should not require significant code changes. However, it is recommended to review the documentation of crossbeam-channel to ensure you are using the new crate correctly.

Yes, the crossbeam-channel crate offers better performance compared to chan. It is designed to be more efficient and has been optimized for high-performance scenarios.

Related vulnerabilities

Recent vulnerabilities recorded for chan.

How To Fix

Minimum fixed version

0.1.24-0

This is the first release that contains the 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