Rust advisories / fil-ocl
Vulnerability HighRUSTSEC-2021-0011 · fil-ocl
RUSTSEC-2021-0011: EventList's From<EventList> conversions can double drop on panic.
Short answerA security vulnerability in the fil-ocl crate: EventList's From<EventList> conversions can double drop on panic.. High severity (CVSS 7.5). No fixed version: replace the crate or remove the affected code path.
| Crate | fil-ocl |
|---|---|
| Type | Vulnerability (memory-corruption) |
| Affected versions | From 0.12.0 onward (every version). |
| Fixed in | none |
| Severity | High, CVSS 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2021-01-04 |
| Last changed | 2023-11-08 |
| Also known as | CVE-2021-25908, GHSA-x3v2-fgr6-3wmm |
What to do
- Find who pulls it in:
cargo tree -i fil-ocl. - Avoid the affected API, or replace the crate.
Details from the advisory
Affected versions of this crate read from a container using ptr::read in From<EventList>, and then call a user specified Into<Event> function.
This issue can result in a double-free if the user provided function panics.
References
- Package: crates.io/crates/fil-ocl
- Advisory: rustsec.org/advisories/RUSTSEC-2021-0011.html
- Report: github.com/cogciprocate/ocl/issues/194
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Up next
Are you affected?Check your whole dependency treePaste Cargo.lock: every advisory, for your exact versions.Read it next →Also worth your time
Did this answer your question?