Miggo Logo

CVE-2025-47735:
wgp race condition in inner::drop

2.9

CVSS Score

Basic Information

EPSS Score
-
Published
5/9/2025
Updated
5/9/2025
KEV Status
No
Technology
TechnologyRust

Technical Details

CVSS Vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
wgprust<= 0.2.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability details explicitly mention 'inner::drop in inner.rs' and the GitHub issue (#1 for Nugine/wgp) provides a direct link to the vulnerable code block within src/inner.rs at commit 90753e1fbb795b5da6ebfa988472e3382ad18b87. The issue explains that the race condition is due to insufficient thread synchronization (fetch_sub with Ordering::Release followed by load with Ordering::Acquire) in the drop implementation for the Inner<T> struct. Although no fixing patch commit was provided, the vulnerable code and its location are clearly identified. The function name wgp::inner::Inner::drop is derived from the crate name (wgp), the module (inner.rs), the struct name (Inner), and the standard Rust Drop trait method (drop). The confidence is high due to the direct pointers and explanation in the issue report.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

inn*r::*rop in inn*r.rs in t** w*p *r*t* t*rou** *.*.* *or Rust l**ks *rop_slow t*r*** syn**roniz*tion.

Reasoning

T** vuln*r**ility **t*ils *xpli*itly m*ntion 'inn*r::*rop in inn*r.rs' *n* t** *it*u* issu* (#* *or Nu*in*/w*p) provi**s * *ir**t link to t** vuln*r**l* *o** *lo*k wit*in `sr*/inn*r.rs` *t *ommit `****************************************`. T** issu*