Vulnerabilities in pkg:maven/org.webjars.npm/dicer
PACKAGECVE-2022-24434 is a HIGH (CVSS 7.5) crash vulnerability (CWE-248: Uncaught Exception) affecting Dicer libraries in the npm ecosystem. The issue involves crash in headerparser in dicer. Remediation is available in the latest vendor maintenance releases.
pkg:maven/org.webjars.npm/dicer
Vulnerability advisories affecting package pkg:maven/org.webjars.npm/dicer. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-wm7h-9275-46v2 | CVE-2022-24434 | HIGH | Crash in HeaderParser in dicer |
CVE-2022-24434 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2022-24434
To remediate this vulnerability, upgrade all affected Dicer dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install dicer@Latest secure release
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>dicer</artifactId>
<version>Latest secure release</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls dicer
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2022-24434, inspect your project dependencies using npm:
npm ls dicer
Analyze the terminal output to locate any version of Dicer 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: The npm ls dicer command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-248: Uncaught Exception, where an exception is thrown from a function, but it is not caught. In Dicer, 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-24434 Affected Dicer Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
dicer
|
npm |
≤ 0.3.1
|
|
|
org.webjars.npm:dicer
|
Maven |
≤ 0.3.0
|
|
References
Frequently Asked Questions
What is CVE-2022-24434?
Which Dicer versions are affected?
What version fixes CVE-2022-24434?
Is dicer affected?
What is the CVSS score of CVE-2022-24434?
What CWE is associated with CVE-2022-24434?
How can I check npm dependencies for CVE-2022-24434?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wm7h-9275-46v2",
"modified" : "2023-08-28T14:22:54Z",
"published" : "2022-05-21T00:00:25Z",
"aliases" : [ "CVE-2022-24434" ],
"summary" : "Crash in HeaderParser in dicer",
"details" : "This affects all versions of the package `dicer`. A malicious attacker can send a modified form to the server and crash the Node.js service. A complete denial of service can be achieved by sending the malicious form in a loop.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "dicer"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.3.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.webjars.npm:dicer"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.3.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-24434"
}, {
"type" : "WEB",
"url" : "https://github.com/mscdex/busboy/issues/250"
}, {
"type" : "WEB",
"url" : "https://github.com/mscdex/dicer/pull/22"
}, {
"type" : "WEB",
"url" : "https://github.com/mscdex/dicer/commit/b7fca2e93e8e9d4439d8acc5c02f5e54a0112dac"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/mscdex/dicer"
}, {
"type" : "WEB",
"url" : "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2838865"
}, {
"type" : "WEB",
"url" : "https://snyk.io/vuln/SNYK-JS-DICER-2311764"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-248" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-05-25T20:22:41Z",
"nvd_published_at" : "2022-05-20T20:15:00Z"
}
}