CVE-2022-24434: Denial of Service Vulnerability in dicer

dicer Updated 02 Oct 2025

Summary

21/05/2022
No i
High
7.5

CVE-2022-24434: Crash in HeaderParser in dicer. Affects dicer versions < 0.3.1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The dicer package is an open-source library used for parsing HTTP requests in Node.js applications. It provides functionality for parsing headers and extracting data from multipart/form-data requests. The package is widely used in web applications that handle file uploads and form submissions. However, all versions of the dicer package are vulnerable to a denial of service attack.

Vulnerability Detail

The vulnerability in dicer arises from a flaw in the HeaderParser component. An attacker can exploit this vulnerability by sending a specially crafted form to the server, causing the nodejs service to crash. By repeatedly sending the malicious form in a loop, an attacker can achieve a complete denial of service, rendering the affected application unresponsive. The impact of this vulnerability is significant as it can disrupt the availability of the application and potentially affect other services running on the same server.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, developers can consider implementing rate limiting or request validation mechanisms to mitigate the risk of a denial of service attack. By limiting the number of requests from a single IP address or implementing strict validation checks on incoming form data, the impact of the vulnerability can be reduced. However, it is important to note that these workarounds may not provide complete protection and should be seen as temporary measures until the package is updated.

Conclusion

The dicer package is vulnerable to a denial of service attack due to a flaw in the HeaderParser component. To mitigate this vulnerability, it is crucial to update the dicer package to the latest version that includes a fix for the issue. In the meantime, implementing rate limiting or request validation mechanisms can serve as temporary workarounds. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for dicer →

Share this vulnerability

FAQ

The vulnerability allows an attacker to crash the nodejs service by sending a malicious form, resulting in a denial of service. This can disrupt the availability of the affected application and potentially impact other services running on the same server.

All versions of the dicer package are affected by this vulnerability. Developers should update to the latest version that includes a fix for the issue.

At the time of this advisory, there are no known public exploits for this vulnerability. However, it is important to update the dicer package to mitigate the risk of potential attacks.

Yes, this vulnerability can be exploited remotely by sending a specially crafted form to the server. The attacker does not require any prior authentication or access to the target system.

Yes, the CVSS score for this vulnerability is 7.5, indicating a high severity level.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback