SCA: security update for yapi-vendor (GHSA-2h3h-vw8r-82rp)

medium Tenable Self-Hosted Container Security Plugin ID 408928

Description

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

- Weak JSON Web Token (JWT) signing secret generation in YMFE YApi through 1.9.2 allows recreation of other
users' JWT tokens. This occurs because Math.random in Node.js is used. (CVE-2021-27884)

See Also

https://github.com/advisories/GHSA-2h3h-vw8r-82rp

Plugin Details

Severity: Medium

ID: 408928

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

Percentile: 6.91

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Low

Base Score: 3.6

Temporal Score: 2.7

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

CVSS Score Source: CVE-2021-27884

CVSS v3

Risk Factor: Medium

Base Score: 5.1

Temporal Score: 4.5

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/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: 3/26/2021

Vulnerability Publication Date: 3/1/2021

Reference Information

CVE: CVE-2021-27884

cwe: CWE-330