Improper Input Validation Affecting @actions/core package, versions <1.2.6


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

EPSS
0.1% (42nd 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 Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ACTIONSCORE-1015402
  • published2 Oct 2020
  • disclosed2 Oct 2020
  • creditUnknown

Introduced: 2 Oct 2020

CVE-2020-15228  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade @actions/core to version 1.2.6 or higher.

Overview

@actions/core is a package that provides core functions for setting results, logging, registering secrets and exporting variables across actions.

Affected versions of this package are vulnerable to Improper Input Validation. addPath and exportVariable functions communicate with the Actions Runner over stdout by generating a string in a specific format. Workflows that log untrusted data to stdout may invoke these commands, resulting in the path or environment variables being modified without the intention of the workflow or action author. The runner will release an update that disables the set-env and add-path workflow commands in the near future.

References

CVSS Scores

version 3.1