🛡️ GHSA-vgmh-mqm4-8j88 — pared
Description
pared Vulnerable to Use After Free in Parc and Prc Due to Missing Lifetime Constraints
Affected versions of this crate didn't provide sufficient lifetime constraints to conversion functions from alloc::sync::Arc and alloc::rc::Rc, which made it possible to create projections of these reference counted pointers. Unlike the original reference counted pointers, these projections could outlive original data's lifetimes.
This projected pointer could cause the original Arc's or Rc's Drop::drop to get called at a point where the original data was no longer valid, leading to a potential use after free.
The affected functions were
pared::prc::Prc::from_rcpared::prc::Prc::projectpared::prc::Prc::try_from_rcpared::sync::Parc::from_arcpared::sync::Parc::projectpared::sync::Parc::try_from_arc
This flaw was fixed in [108f540ea8acb6073751a1aa386085c1cdc4fd1e](https://github.com/radekvit/pared/commit/108f540ea8acb6073751a1aa386085c1cdc4fd1e) by requiring that the type stored in the Arcs and Rcs passed to these functions contain T: 'static.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. Rated impact: confidentiality none, integrity high, availability high.
Weakness class
GHSA-vgmh-mqm4-8j88 is classified as CWE-416: Use After Free. Memory is used after being released, so its contents may already belong to something else.
Affected software
GHSA-vgmh-mqm4-8j88 is recorded against 1 package.
- pared
Timeline and source
Published on 24 March 2025 and last revised on 28 October 2025. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
github.com (Web)
github.com (Web)
github.com (Package)
rustsec.org (Web)
Details
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:U
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| pared | — | — |
References
Similar Threats
- Unknown MAL-2025-28872
- Unknown RUSTSEC-2025-0016
Free Vulnerability Check
Is your site affected by GHSA-vgmh-mqm4-8j88?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against GHSA-vgmh-mqm4-8j88 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.