SCA: security update for @actions/core (GHSA-7r3h-m5j6-3q42)

medium Tenable Cloud Security Plugin ID 412224

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- The GitHub Actions ToolKit provides a set of packages to make creating actions easier. The
`core.exportVariable` function uses a well known delimiter that attackers can use to break out of that
specific variable and assign values to other arbitrary variables. Workflows that write untrusted values to
the `GITHUB_ENV` file may cause the path or other environment variables to be modified without the
intention of the workflow or action author. Users should upgrade to `@actions/core v1.9.1`. If you are
unable to upgrade the `@actions/core` package, you can modify your action to ensure that any user input
does not contain the delimiter `_GitHubActionsFileCommandDelimeter_` before calling `core.exportVariable`.
(CVE-2022-35954)

See Also

https://github.com/advisories/GHSA-7r3h-m5j6-3q42

Plugin Details

Severity: Medium

ID: 412224

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3

Vector: CVSS2#AV:N/AC:L/Au:S/C:N/I:P/A:N

CVSS Score Source: CVE-2022-35954

CVSS v3

Risk Factor: Medium

Base Score: 5

Temporal Score: 4.4

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 8/18/2022

Vulnerability Publication Date: 8/13/2022

Reference Information

CVE: CVE-2022-35954