Skip to main content
VulnerabilityPublished Updated

Hipstr: `Local` (`Rc`) backed strings and byte strings are `Send`, allowing data races

Affects hipstrSource GCVE Database

0
Severity
High

Rated High by Threat Radar's AI analysis

Patch
Available – fixed in 0.8.1

Data as of 29 Nov 2026, 17:45 UTC

What to do

Upgrade hipstr to 0.8.1.

Affected software

ProductAffectedFixed in
crates.iohipstrpkg:cargo/hipstrOther threatsAffected
  • >=0.5.0 <0.8.1
Fixed in
  • 0.8.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to Hipstr version 0.8.1 or later, where the issue is fixed by requiring the backend to be Sync for Send implementations. The affected versions (0.5.0 to 0.8.0) have been yanked from distribution. No other mitigation is required as the fix prevents unsafe Send implementations for the Local backend.

Description

The Hipstr crate versions 0.5.0 through 0.8.0 implemented the Send trait for certain string and byte string types backed by a Local backend that uses a Cell for reference counting. This Cell is Send but not Sync, allowing these types to be sent across threads without proper synchronization, leading to data races and undefined behavior reachable from safe Rust code. The issue was fixed in version 0.8.1 by requiring the backend to be Sync for Send implementations, preventing Local values from being Send. Users of affected versions should upgrade to 0.8.1.

References

Community reviews

Loading reviews…