VDB
Sign up
HIGH7.8

GHSA-3jc5-5hc5-33gj

Data races in conquer-once

Details

Affected versions of conquer-once implements Sync for its OnceCell type without restricting it to Sendable types.

This allows non-Send but Sync types such as MutexGuard to be sent across threads leading to undefined behavior and memory corruption in concurrent programs.

The issue was fixed by adding a Send constraint to OnceCell.

Are you affected?

Enter the version of the package you're using.

Affected packages

crates.io/conquer-once
Introduced in: 0Fixed in: 0.3.2

Upgrade conquer-once to 0.3.2 or newer (ecosystem crates.io).

References