Advisory

GHSA-w47j-hqpf-qw9w

Also known as: CVE-2021-25901, RUSTSEC-2021-0004

Summary

Out of bounds read in lazy-init

Details

An issue was discovered in the lazy-init crate through 2021-01-17 for Rust. Lazy lacks a Send bound, leading to a data race.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-08-25 20:52 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

lazy-init

crates.io · All systems

Affected

  • introduced 0, fixed 0.4.0 (semver)

Fixed versions

0.4.0

Fix

  • Fixed version 0.4.0
    cargo update -p lazy-init --precise 0.4.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences