CVE-2022-0968: Microweber/microweber Integer Overflow Vulnerability
HIGHCVE-2022-0968 is a HIGH (CVSS 7.2) integer overflow vulnerability (CWE-190: Integer Overflow or Wraparound) affecting Microweber/microweber libraries in the Packagist ecosystem. The issue involves integer overflow in microweber. Remediation is available in the latest vendor maintenance releases.
CVE-2022-0968 at a Glance
Security Impact
CVSS: 7.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H).
How to Fix CVE-2022-0968
To remediate this vulnerability, upgrade all affected Microweber/microweber dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade microweber/microweber to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for microweber/microweber
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-0968, inspect your project dependencies for Microweber/microweber:
inspect dependencies for microweber/microweber
Analyze the terminal output to locate any version of Microweber/microweber in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-190: Integer Overflow or Wraparound, where the product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. this occurs when an integer value is incremented to a value that is too large to store in the associated representation. when this occurs, the value may become a very small or negative number. In Microweber/microweber, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2022-0968 Affected Microweber/microweber Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
microweber/microweber
|
Packagist |
≤ 1.2.11
|
|
References
Frequently Asked Questions
What is CVE-2022-0968?
Which Microweber/microweber versions are affected?
What version fixes CVE-2022-0968?
Is microweber/microweber affected?
What is the CVSS score of CVE-2022-0968?
What CWE is associated with CVE-2022-0968?
How can I check Packagist dependencies for CVE-2022-0968?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5fxv-xx5p-g2fv",
"modified" : "2022-03-25T17:13:37Z",
"published" : "2022-03-16T00:00:46Z",
"aliases" : [ "CVE-2022-0968" ],
"summary" : "Integer Overflow in microweber",
"details" : "Microweber is a new generation CMS with drag and drop. The microweber application allows large characters to insert in the input field \"first & last name\" which can allow attackers to cause a Denial of Service (DoS) via a crafted HTTP request. The first name & last name input should be limited to 50 characters or max 100 characters",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "microweber/microweber"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.2.11"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-0968"
}, {
"type" : "WEB",
"url" : "https://github.com/microweber/microweber/commit/80e39084729a57dfe749626c3b9d35247a14c49e"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/microweber/microweber"
}, {
"type" : "WEB",
"url" : "https://huntr.dev/bounties/97e36678-11cf-42c6-889c-892d415d9f9e"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-190" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-03-18T23:30:46Z",
"nvd_published_at" : "2022-03-15T16:15:00Z"
}
}