CVE-2020-8178: Command Injection in jison

jison Updated 02 Oct 2025

Summary

08/10/2020
HIGH
No i
High
Not published

GHSA-vr9x-mm65-2438: Command Injection in jison. Affects jison versions < 0.4.18. 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

jison is an npm package that provides a JavaScript parser generator. It allows developers to define their own grammar and generate a parser for it. The package is widely used in various applications for parsing and interpreting data. However, versions of jison up to 0.4.18 are vulnerable to command injection attacks due to insufficient input validation.

Vulnerability Detail

The vulnerability in jison <= 0.4.18 arises from a lack of proper input validation. Attackers can exploit this weakness by injecting malicious commands into user-supplied input, leading to arbitrary command execution on the underlying operating system. This can result in unauthorized access, data leakage, or even complete compromise of the system. The vulnerability has been assigned a severity rating of HIGH (CWE-78) and was reported on October 8, 2020.

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

There is no known workaround for this vulnerability. It is crucial to update to the patched version of jison to mitigate the risk of command injection attacks.

Conclusion

The vulnerability in jison <= 0.4.18 exposes applications to command injection attacks, which can lead to unauthorized access and compromise of the system. It is crucial to update to the latest version of jison to ensure the security of your applications. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for jison →

Share this vulnerability

FAQ

jison is an npm package that provides a JavaScript parser generator. It allows developers to define their own grammar and generate a parser for it.

Command injection is a type of vulnerability where an attacker can execute arbitrary commands on a target system by injecting malicious commands into user-supplied input.

The impact of this vulnerability can be severe, ranging from unauthorized access to complete compromise of the system. Attackers can execute arbitrary commands on the underlying operating system.

To fix this vulnerability, update jison to a version beyond 0.4.18. The maintainers have released a patched version that includes proper input validation.

No, there is no known workaround for this vulnerability. It is essential to update to the patched version of jison.

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