SCA: security update for semantic-release (GHSA-x2pg-mjhr-2m5x)

high Tenable Cloud Security Plugin ID 420227

Description

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

- semantic-release is an open source npm package for automated version management and package publishing. In
affected versions secrets that would normally be masked by semantic-release can be accidentally disclosed
if they contain characters that are excluded from uri encoding by `encodeURI`. Occurrence is further
limited to execution contexts where push access to the related repository is not available without
modifying the repository url to inject credentials. Users are advised to upgrade. Users unable to upgrade
should ensure that secrets that do not contain characters that are excluded from encoding with `encodeURI`
when included in a URL are already masked properly. (CVE-2022-31051)

See Also

https://github.com/advisories/GHSA-x2pg-mjhr-2m5x

Plugin Details

Severity: High

ID: 420227

Version: Revision 1.4

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: 3

Percentile: 23.18

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2022-31051

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/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: 6/9/2022

Vulnerability Publication Date: 6/9/2022

Reference Information

CVE: CVE-2022-31051

cwe: CWE-200