Miggo Logo

GHSA-c2hm-mjxv-89r4: Multiple soundness issues in lexical

N/A

CVSS Score

Basic Information

CVE ID
-
EPSS Score
-
CWE
-
Published
9/4/2023
Updated
9/16/2024
KEV Status
No
Technology
TechnologyRust

Technical Details

CVSS Vector
-
Package NameEcosystemVulnerable VersionsFirst Patched Version
lexicalrust<= 6.1.17.0.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The identified functions are directly referenced in the vulnerability reports with specific soundness violations. Each corresponds to documented issues: Bytes::read() for invalid bit patterns, BytesIter::read() for iterator safety, write_float() and radix() for improper MaybeUninit usage. The public BytesIter trait's lack of unsafe marking is a design flaw but doesn't represent a specific function implementation vulnerability. All listed functions have clear technical explanations in the advisory links and demonstrate direct violations of Rust's safety guarantees.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

`l*xi**l` *ont*ins multipl* soun*n*ss issu*s: *. [*yt*s::r***() *llows *r**tin* inst*n**s o* typ*s wit* inv*li* *it p*tt*rns](*ttps://*it*u*.*om/*l*x*usz***/rust-l*xi**l/issu*s/***) *. [*yt*sIt*r::r***() **v*n**s it*r*tors out o* *oun*s](*ttps://*

Reasoning

T** i**nti*i** *un*tions *r* *ir**tly r***r*n*** in t** vuln*r**ility r*ports wit* sp**i*i* soun*n*ss viol*tions. **** *orr*spon*s to *o*um*nt** issu*s: `*yt*s::r***()` *or inv*li* *it p*tt*rns, `*yt*sIt*r::r***()` *or it*r*tor s***ty, `writ*_*lo*t()