Miggo Logo

CVE-2018-25025: Out-of-bounds Write in actix-web

9.8

CVSS Score
3.1

Basic Information

EPSS Score
0.57674%
Published
1/6/2022
Updated
6/13/2023
KEV Status
No
Technology
TechnologyRust

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
actix-webrust< 0.7.150.7.15

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from improper lifetime management in HTTP message processing. Key indicators:

  1. The advisory specifically mentions 'unsoundly extending string lifetimes' as a root cause
  2. Memory corruption patterns align with request/response handling functions
  3. Server components like HttpResponseBuilder and Payload are core to data flow
  4. The 'body' method and payload reading are natural points for buffer lifetime management
  5. Patch version 0.7.15 required significant refactoring of these low-level components While exact pre-patch code isn't available, these functions represent critical unsafe data handling points consistent with the described vulnerability pattern.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

*n issu* w*s *is*ov*r** in t** **tix-w** *r*t* ***or* *.*.** *or Rust. It **n unsoun*ly *xt*n* t** li**tim* o* * strin*, l***in* to m*mory *orruption.

Reasoning

T** vuln*r**ility st*ms *rom improp*r li**tim* m*n***m*nt in *TTP m*ss*** pro**ssin*. K*y in*i**tors: *. T** **visory sp**i*i**lly m*ntions 'unsoun*ly *xt*n*in* strin* li**tim*s' *s * root **us* *. M*mory *orruption p*tt*rns *li*n wit* r*qu*st/r*spon