Remote Code Execution (RCE) Affecting bash package, versions [,2.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-BASH-2368336
  • published26 Jan 2022
  • disclosed20 Apr 1999
  • creditUnknown

Introduced: 20 Apr 1999

CVE-1999-0491  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade bash to version 2.5 or higher.

Overview

Affected versions of this package are vulnerable to Remote Code Execution (RCE). The prompt parsing in bash allows a local user to execute commands as another user by creating a directory with the name of the command to execute.

CVSS Scores

version 3.1