Commit Graph

2 Commits

Author SHA1 Message Date
djc
5ac2fcb858 Assigned RUSTSEC-2026-0142 to mutringbuf, RUSTSEC-2026-0143 to oneringbuf 2026-05-14 23:26:19 +02:00
Berkant Koc
36078c55a7 Add advisory for oneringbuf: vmem double-free reachable from safe Rust (#2883)
* Add advisory for oneringbuf: vmem double-free reachable from safe Rust

The vmem-feature codepath bit-copies UnsafeSyncCell<T> into mmap and
also lets the source Box drop, producing a double-free of every
heap-owning T on later ring-buffer destruction. Reachable from safe Rust
constructors.

* oneringbuf advisory: maintainer-ack received, add mutringbuf parallel advisory

- oneringbuf RUSTSEC: set patched = ">= 0.7.1", add fix reference (PR #3), update Notes section
- mutringbuf RUSTSEC: new parallel advisory for the archived predecessor (same bug, all versions yanked, migrate to oneringbuf >= 0.7.1)

Reopens rustsec/advisory-db#2883 per maintainer acknowledgement on
skilvingr/rust-oneringbuf#3 (2026-05-14).

* advisory(oneringbuf): trim per djc review — drop overly-detailed affected-paths and predecessor-crate sections

Per code review on rustsec/advisory-db#2883:

- Drop "## Affected paths" section: source-file line ranges (4 bullets)
  are too detailed for an advisory body — the upstream fix PR carries
  this information for anyone digging into the implementation.
- Drop "## Related: `mutringbuf` (predecessor crate)" section: the
  parallel mutringbuf advisory stands on its own and the cross-link
  here is redundant.

Body trimmed from 329 to 247 words. No content change to the technical
description, trigger, or fix block.
2026-05-14 22:59:28 +02:00