Miggo Logo

GHSA-vgmh-mqm4-8j88: pared Vulnerable to Use After Free in `Parc` and `Prc` Due to Missing Lifetime Constraints

N/A

CVSS Score

Basic Information

CVE ID
-
EPSS Score
-
Published
3/24/2025
Updated
3/24/2025
KEV Status
No
Technology
TechnologyRust

Technical Details

CVSS Vector
-
Package NameEcosystemVulnerable VersionsFirst Patched Version
paredrust

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from missing 'static lifetime constraints in conversion/projection functions. The commit diff shows these functions were modified to add T: 'static/U: 'static bounds. GitHub issue #2 demonstrates concrete UAF scenarios enabled by these missing constraints. The advisory explicitly lists these 6 functions as affected, and the patch confirms they required lifetime fixes to prevent projections outliving original data.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

*****t** v*rsions o* t*is *r*t* *i*n't provi** su**i*i*nt li**tim* *onstr*ints to *onv*rsion *un*tions *rom `*llo*::syn*::*r*` *n* `*llo*::r*::R*`, w*i** m*** it possi*l* to *r**t* proj**tions o* t**s* r***r*n** *ount** point*rs. Unlik* t** ori*in*l

Reasoning

T** vuln*r**ility st*ms *rom missin* 'st*ti* li**tim* *onstr*ints in *onv*rsion/proj**tion *un*tions. T** *ommit *i** s*ows t**s* *un*tions w*r* mo*i*i** to *** T: 'st*ti*/U: 'st*ti* *oun*s. *it*u* issu* #* **monstr*t*s *on*r*t* U** s**n*rios *n**l**