SCA: security update for stellar-sdk (GHSA-6cgh-hjpw-q3gq)

medium Tenable Self-Hosted Container Security Plugin ID 411370

Description

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

- js-stellar-sdk is a Javascript library for communicating with a Stellar Horizon server. The
`Utils.readChallengeTx` function used in SEP-10 Stellar Web Authentication states in its function
documentation that it reads and validates the challenge transaction including verifying that the
`serverAccountID` has signed the transaction. In js-stellar-sdk before version 8.2.3, the function does
not verify that the server has signed the transaction. Applications that also used
`Utils.verifyChallengeTxThreshold` or `Utils.verifyChallengeTxSigners` to verify the signatures including
the server signature on the challenge transaction are unaffected as those functions verify the server
signed the transaction. Applications calling `Utils.readChallengeTx` should update to version 8.2.3, the
first version with a patch for this vulnerability, to ensure that the challenge transaction is completely
valid and signed by the server creating the challenge transaction. (CVE-2021-32738)

See Also

https://github.com/advisories/GHSA-6cgh-hjpw-q3gq

Plugin Details

Severity: Medium

ID: 411370

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

Temporal Score: 3

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

CVSS Score Source: CVE-2021-32738

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

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

Vulnerability Publication Date: 7/2/2021

Reference Information

CVE: CVE-2021-32738