SCA: security update for react-adal (GHSA-7mpx-vg3c-cmr4)

high Tenable Self-Hosted Container Security Plugin ID 412150

Description

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

- This affects all versions of package react-adal. It is possible for a specially crafted JWT token and
request URL can cause the nonce, session and refresh values to be incorrectly validated, causing the
application to treat an attacker-generated JWT token as authentic. The logical defect is caused by how the
nonce, session and refresh values are stored in the browser local storage or session storage. Each key is
automatically appended by ||. When the received nonce and session keys are generated, the list of values
is stored in the browser storage, separated by ||, with || always appended to the end of the list. Since
|| will always be the last 2 characters of the stored values, an empty string ("") will always be in the
list of the valid values. Therefore, if an empty session parameter is provided in the callback URL, and a
specially-crafted JWT token contains an nonce value of "" (empty string), then adal.js will consider the
JWT token as authentic. (CVE-2020-7787)

See Also

https://github.com/advisories/GHSA-7mpx-vg3c-cmr4

Plugin Details

Severity: High

ID: 412150

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

Score: 3.5

Percentile: 51.65

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

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

CVSS Score Source: CVE-2020-7787

CVSS v3

Risk Factor: High

Base Score: 8.2

Temporal Score: 7.4

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/13/2021

Vulnerability Publication Date: 12/9/2020

Reference Information

CVE: CVE-2020-7787

cwe: CWE-287