CVE-2022-0414: Dolibarr/dolibarr Dolibarr Vulnerable To Improper Validation Vulnerability
MODERATECVE-2022-0414 is a MODERATE (CVSS 4.3) dolibarr vulnerable to improper validation vulnerability (CWE-1284: Improper Validation of Specified Quantity in Input) affecting Dolibarr/dolibarr libraries in the Packagist ecosystem. The issue involves dolibarr vulnerable to improper validation of specified quantity in input. Remediation is available by upgrading affected packages to version 15.0.
CVE-2022-0414 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N).
How to Fix CVE-2022-0414
To remediate this vulnerability, upgrade all affected Dolibarr/dolibarr 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 dolibarr/dolibarr to 15.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for dolibarr/dolibarr
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-0414, inspect your project dependencies for Dolibarr/dolibarr:
inspect dependencies for dolibarr/dolibarr
Analyze the terminal output to locate any version of Dolibarr/dolibarr in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 15.0), 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-1284: Improper Validation of Specified Quantity in Input, where the product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties. In Dolibarr/dolibarr, 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-0414 Affected Dolibarr/dolibarr Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
dolibarr/dolibarr
|
Packagist |
< 15.0
|
15.0
|
References
Frequently Asked Questions
What is CVE-2022-0414?
Which Dolibarr/dolibarr versions are affected?
What version fixes CVE-2022-0414?
Is dolibarr/dolibarr affected?
What is the CVSS score of CVE-2022-0414?
What CWE is associated with CVE-2022-0414?
How can I check Packagist dependencies for CVE-2022-0414?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-f768-8pvq-mm6r",
"modified" : "2023-06-30T20:07:03Z",
"published" : "2022-02-01T22:01:47Z",
"aliases" : [ "CVE-2022-0414" ],
"summary" : "Dolibarr vulnerable to Improper Validation of Specified Quantity in Input",
"details" : "Dolibarr 14.0.5 and prior versions are vulnerable to Improper Validation of Specified Quantity in Input.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "dolibarr/dolibarr"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "15.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 14.0.5"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-0414"
}, {
"type" : "WEB",
"url" : "https://github.com/dolibarr/dolibarr/commit/37fb02ee760cfff18c795ba468da1ba1c53f4684"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/dolibarr/dolibarr"
}, {
"type" : "WEB",
"url" : "https://huntr.dev/bounties/76f3b405-9f5d-44b1-8434-b52b56ee395f"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1284" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-02-01T15:33:18Z",
"nvd_published_at" : "2022-01-31T11:15:00Z"
}
}