CVE-2018-25025: Out-of-bounds Write in actix-web
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.57674%
CWE
Published
1/6/2022
Updated
6/13/2023
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
actix-web | rust | < 0.7.15 | 0.7.15 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper lifetime management in HTTP message processing. Key indicators:
- The advisory specifically mentions 'unsoundly extending string lifetimes' as a root cause
- Memory corruption patterns align with request/response handling functions
- Server components like HttpResponseBuilder and Payload are core to data flow
- The 'body' method and payload reading are natural points for buffer lifetime management
- 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.