Arbitrary Command Injection Affecting apex-publish-static-files package, versions <2.0.1


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
1.32% (86th 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 Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-APEXPUBLISHSTATICFILES-72552
  • published4 Nov 2018
  • disclosed30 Oct 2018
  • creditAbdillah Muhamad

Introduced: 30 Oct 2018

CVE-2018-16462  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade apex-publish-static-files to version 2.0.1 or higher.

Overview

apex-publish-static-files Uploads all files from a local directory to Oracle APEX.

Affected versions of this package are vulnerable to Arbitrary Command Injection. It does not sanitize the connectionString argument, and subsequently passes it to execSync(), thus allowing arbitrary shell command injection.

CVSS Scores

version 3.1