CVE-2023-22671

Ghidra/RuntimeScripts/Linux/support/launch.sh in NSA Ghidra through 10.2.2 passes user-provided input into eval, leading to command injection when calling…

Critical · published January 6, 2023

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

🔥 The path to command injection is surprisingly direct! Ghidra versions up to 10.2.2 hand user input over to eval like it's a trusted friend, opening the door for attackers to run malicious commands. 🚨 Think of it like a chef blindly following any recipe handed to them without checking the ingredients — if someone hands over a recipe calling for 'everything', they're in for a culinary disaster! An attacker could inject dangerous commands that might compromise your entire system — imagine them rummaging through your files, altering processes, or even wiping your data clean! This vulnerability is absolutely devastating if exploited.

Put simply

Think of it like a chef blindly following any recipe handed to them without checking the ingredients — if someone hands over a recipe calling for 'everything', they're in for a culinary disaster! This vulnerability in Ghidra's launch.sh script allows user input to be evaluated unsafely, enabling command injection during the analyzeHeadless operation when using untrusted input.

What to do

An attacker could inject dangerous commands that might compromise your entire system — imagine them rummaging through your files, altering processes, or even wiping your data clean! This vulnerability is absolutely devastating if exploited. Upgrade to Ghidra version 10.2.3 or later immediately! Additionally, ensure that user input is properly sanitized and not directly passed into eval to keep your system safe. You've got this! With these steps, you can secure your system and keep your data safe! 🛡️

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.02967 · 87.1th percentile
Published
2023-01-06T00:00Z
EPSS history
Timeline
  • 06 JAN 00:00Z
    Ghidra/RuntimeScripts/Linux/support/launch.sh in NSA Ghidra through 10.2.2 passes user-provided input into eval, leading to command injection when calling…
    cvelistv5