Vulnerabilities in pkg:npm/tooljet
PACKAGECVE-2022-4111 is a MODERATE (CVSS 6.5) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Tooljet libraries in the npm ecosystem. The issue involves tooljet is vulnerable to denial of service (dos). Remediation is available by upgrading affected packages to version 1.27.0.
pkg:npm/tooljet
Vulnerability advisories affecting package pkg:npm/tooljet. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-hgp8-w8fj-r4cm | CVE-2022-4111 | MODERATE | ToolJet is vulnerable to Denial of Service (DoS) |
CVE-2022-4111 at a Glance
Security Impact
CVSS: 6.5
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:N/A:H).
How to Fix CVE-2022-4111
To remediate this vulnerability, upgrade all affected Tooljet 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 tooljet@1.27.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls tooljet
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2022-4111, inspect your project dependencies using npm:
npm ls tooljet
Analyze the terminal output to locate any version of Tooljet in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.27.0), your application is affected.
Note: The npm ls tooljet 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-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Tooljet, 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-4111 Affected Tooljet Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
tooljet
|
npm |
< 1.27.0
|
1.27.0
|
References
Frequently Asked Questions
What is CVE-2022-4111?
Which Tooljet versions are affected?
What version fixes CVE-2022-4111?
Is tooljet affected?
What is the CVSS score of CVE-2022-4111?
What CWE is associated with CVE-2022-4111?
How can I check npm dependencies for CVE-2022-4111?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-hgp8-w8fj-r4cm",
"modified" : "2023-07-11T13:52:18Z",
"published" : "2022-11-22T03:30:56Z",
"aliases" : [ "CVE-2022-4111" ],
"summary" : "ToolJet is vulnerable to Denial of Service (DoS)",
"details" : "ToolJet/ToolJet placed no limit on the file size for user avatars. This could cause a denial of service if too many users upload large files. This is fixed in commit 01cd3f0464747973ec329e9fb1ea12743d3235cc in version 1.27.0.\n\n`tooljet` is no longer listed on npmjs.com but was [listed on npmjs.com in the past](https://web.archive.org/web/20220210014826/https://www.npmjs.com/package/tooljet). This advisory is maintained for historical completeness.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "tooljet"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.27.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-4111"
}, {
"type" : "WEB",
"url" : "https://github.com/ToolJet/ToolJet/pull/4103"
}, {
"type" : "WEB",
"url" : "https://github.com/tooljet/tooljet/commit/01cd3f0464747973ec329e9fb1ea12743d3235cc"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ToolJet/ToolJet"
}, {
"type" : "WEB",
"url" : "https://huntr.dev/bounties/5596d072-66d2-4361-8cac-101c9c781c3d"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1284", "CWE-400" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-12-02T22:38:23Z",
"nvd_published_at" : "2022-11-22T03:15:00Z"
}
}