CVE-2022-0968: Integer Overflow in microweber
7.2
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.77322%
CWE
Published
3/16/2022
Updated
1/27/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
microweber/microweber | composer | <= 1.2.11 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing input validation in form request classes. The commit diff shows the addition of 'max:500' validators to first_name, last_name, phone, username, and email fields in both UserCreateRequest and UserUpdateRequest. Before this fix, the absence of length restrictions allowed attackers to submit arbitrarily large values. While the CWE-190 classification suggests an integer overflow/wraparound, the direct vulnerable components are the validation rules that failed to constrain input size, which would be consumed by downstream processing functions (not explicitly shown in diffs) that might perform unsafe arithmetic operations on these unchecked input lengths.