Security mailing lists by PureSourceCode

GHSA-9c9f-7x9p-4wqp

HIGH

A malicious coder can get unsound access to TCell or TLCell memory

This is impossible to do by accident, but by carefully constructing
marker types to be covariant, a malicious coder can cheat the
singleton check in TCellOwner and TLCellOwner, giving unsound
access to cell memory. This could take the form of getting two
mutable references to the same memory, or a mutable reference and an
immutable reference.

The fix is for the crate to internally force the marker type to be
invariant. This blocks the conversion between covariant types which
Rust normally allows.

Published
24 Jan 2022
Last modified
8 Nov 2023
Also known as
RUSTSEC-2022-0007
Sources
OSVJSONOSV RUSTSEC-2022-0007JSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io qcell < 0.4.3 0.4.3
OSV crates.io qcell >= 0.0.0-0, < 0.4.3 0.4.3

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Jan 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Jun 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.