CVE-2018-25083: Pullit Pullit Vulnerable To Command Injection Vulnerability
HIGHCVE-2018-25083 is a HIGH pullit vulnerable to command injection vulnerability (CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')) affecting Pullit libraries in the npm ecosystem. The issue involves pullit vulnerable to command injection. Remediation is available by upgrading affected packages to version 1.4.0.
CVE-2018-25083 at a Glance
How to Fix CVE-2018-25083
To remediate this vulnerability, upgrade all affected Pullit 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 pullit@1.4.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls pullit
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2018-25083, inspect your project dependencies using npm:
npm ls pullit
Analyze the terminal output to locate any version of Pullit in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.4.0), your application is affected.
Note: The npm ls pullit 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-77: Improper Neutralization of Special Elements used in a Command ('Command Injection'), where the product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. In Pullit, 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-2018-25083 Affected Pullit Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pullit
|
npm |
< 1.4.0
|
1.4.0
|
References
Frequently Asked Questions
What is CVE-2018-25083?
Which Pullit versions are affected?
What version fixes CVE-2018-25083?
Is pullit affected?
What CWE is associated with CVE-2018-25083?
How can I check npm dependencies for CVE-2018-25083?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8px5-63x9-5c7p",
"modified" : "2023-03-28T23:17:59Z",
"published" : "2020-09-03T16:47:30Z",
"aliases" : [ "CVE-2018-25083" ],
"summary" : "pullit vulnerable to command injection",
"details" : "Versions of `pullit` prior to 1.4.0 are vulnerable to Command Injection. The package does not validate input on git branch names and concatenates it to an exec call, allowing attackers to run arbitrary commands in the system.\n\n## Recommendation\n\nUpgrade to version 1.4.0 or later.\n\n## Credits\n\nThis vulnerability was discovered by @lirantal",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "pullit"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.4.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-25083"
}, {
"type" : "WEB",
"url" : "https://github.com/jkup/pullit/issues/23"
}, {
"type" : "WEB",
"url" : "https://github.com/jkup/pullit/commit/4fec455774ee08f4dce0ef2ef934ffcc37219bfb"
}, {
"type" : "WEB",
"url" : "https://hackerone.com/reports/315773"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/jkup/pullit"
}, {
"type" : "WEB",
"url" : "https://security.snyk.io/vuln/npm:pullit:20180214"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-77" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-08-31T18:43:46Z",
"nvd_published_at" : null
}
}