Vulnerabilities in pkg:npm/npm-groovy-lint
PACKAGEGHSA-qc22-qwm9-j8rx is a CRITICAL remote code execution vulnerability (CWE-20: Improper Input Validation) affecting Npm groovy lint libraries in the npm ecosystem. The issue involves remote code execution in npm-groovy-lint. Remediation is available by upgrading affected packages to version 9.1.0.
pkg:npm/npm-groovy-lint
Vulnerability advisories affecting package pkg:npm/npm-groovy-lint. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-qc22-qwm9-j8rx | - | CRITICAL | Remote Code Execution in npm-groovy-lint |
GHSA-qc22-qwm9-j8rx at a Glance
How to Fix GHSA-qc22-qwm9-j8rx
To remediate this vulnerability, upgrade all affected Npm groovy lint 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 npm-groovy-lint@9.1.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls npm-groovy-lint
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-qc22-qwm9-j8rx, inspect your project dependencies using npm:
npm ls npm-groovy-lint
Analyze the terminal output to locate any version of Npm groovy lint in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 9.1.0), your application is affected.
Note: The npm ls npm-groovy-lint 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Npm groovy lint, 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
GHSA-qc22-qwm9-j8rx Affected Npm groovy lint Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
npm-groovy-lint
|
npm |
< 9.1.0
|
9.1.0
|
References
Frequently Asked Questions
What is GHSA-qc22-qwm9-j8rx?
Which Npm groovy lint versions are affected?
What version fixes GHSA-qc22-qwm9-j8rx?
Is npm-groovy-lint affected?
What CWE is associated with GHSA-qc22-qwm9-j8rx?
How can I check npm dependencies for GHSA-qc22-qwm9-j8rx?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qc22-qwm9-j8rx",
"modified" : "2021-12-20T16:57:06Z",
"published" : "2021-12-20T16:59:31Z",
"aliases" : [ ],
"summary" : "Remote Code Execution in npm-groovy-lint",
"details" : "Versions of npm-groovy-lint prior to 9.1.0 bundle vulnerable versions of the Log4j library which are subject to remote code execution via jndi rendering. As a result npm-groovy-lint prior to 9.1.0 is also vulnerable.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "npm-groovy-lint"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "9.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/nvuillam/npm-groovy-lint/issues/194"
}, {
"type" : "WEB",
"url" : "https://github.com/nvuillam/npm-groovy-lint/pull/195"
}, {
"type" : "WEB",
"url" : "https://github.com/nvuillam/npm-groovy-lint/commit/0b664519019442052e0190170c2b1c5aff7d72e7"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-jfh8-c2jp-5v3q"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/nvuillam/npm-groovy-lint"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2021-12-20T16:57:06Z",
"nvd_published_at" : null
}
}