SCA: security update for angular-expressions (GHSA-j6px-jwvv-vpwq)

high Tenable Self-Hosted Container Security Plugin ID 416190

Description

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

- angular-expressions is "angular's nicest part extracted as a standalone module for the browser and node".
In angular-expressions before version 1.1.2 there is a vulnerability which allows Remote Code Execution if
you call "expressions.compile(userControlledInput)" where "userControlledInput" is text that comes from
user input. The security of the package could be bypassed by using a more complex payload, using a
".constructor.constructor" technique. In terms of impact: If running angular-expressions in the browser,
an attacker could run any browser script when the application code calls
expressions.compile(userControlledInput). If running angular-expressions on the server, an attacker could
run any Javascript expression, thus gaining Remote Code Execution. This is fixed in version 1.1.2 of
angular-expressions A temporary workaround might be either to disable user-controlled input that will be
fed into angular-expressions in your application or allow only following characters in the
userControlledInput. (CVE-2021-21277)

See Also

https://github.com/advisories/GHSA-j6px-jwvv-vpwq

Plugin Details

Severity: High

ID: 416190

Version: Revision 1.5

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

Score: 4.9

Percentile: 57.15

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 4.8

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

CVSS Score Source: CVE-2021-21277

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 2/1/2021

Vulnerability Publication Date: 2/1/2021

Reference Information

CVE: CVE-2021-21277