CVE-2018-25083

The pullit package before 1.4.0 for Node.js allows OS Command Injection because eval is used on an attacker-supplied Git branch name

Critical · published March 27, 2023

CVSS v3.1
9.8
EPSS
3%
Percentile
85.8
In the wild
Unconfirmed
What it is

🚨 A crafty Git branch name could take you down an unplanned rabbit hole! The pullit package for Node.js before version 1.4.0 uses eval, creating a dangerous OS command injection vulnerability. 🔥 Think of it like a restaurant that takes your order without verifying what you wrote. If you asked for a pizza but scribbled "set the place on fire" instead, the kitchen might just go ahead and follow those orders! An attacker could exploit this vulnerability to execute arbitrary commands on your system, potentially leading to data leaks, system crashes, or even complete control over the server. The consequences can be absolutely devastating for your application's integrity and security.

Put simply

Think of it like a restaurant that takes your order without verifying what you wrote. If you asked for a pizza but scribbled "set the place on fire" instead, the kitchen might just go ahead and follow those orders! This vulnerability arises because the pullit package uses eval to process an attacker-supplied Git branch name, allowing the execution of arbitrary OS commands if malicious input is provided.

What to do

An attacker could exploit this vulnerability to execute arbitrary commands on your system, potentially leading to data leaks, system crashes, or even complete control over the server. The consequences can be absolutely devastating for your application's integrity and security. Upgrade the pullit package to version 1.4.0 or later immediately to eliminate this vulnerability. Additionally, consider reviewing your code for any other instances of eval or untrusted inputs that may pose similar risks. Always validate and sanitize user inputs! You've got this! Tackling this flaw will keep your projects secure and earn you some serious security hero status! 🦸‍♂️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02693 · 85.8th percentile
Published
2023-03-27T00:00Z
EPSS history
Timeline
  • 27 MAR 00:00Z
    The pullit package before 1.4.0 for Node.js allows OS Command Injection because eval is used on an attacker-supplied Git branch name
    cvelistv5