{"cve":"CVE-2021-32738","nvd":{"published":"2021-07-02T19:15:08.063","modified":"2026-06-17T03:53:31.930","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5},"cwes":["CWE-347","CWE-287"],"references":["https://github.com/stellar/js-stellar-sdk/releases/tag/v8.2.3","https://github.com/stellar/js-stellar-sdk/security/advisories/GHSA-6cgh-hjpw-q3gq","https://github.com/stellar/js-stellar-sdk/releases/tag/v8.2.3","https://github.com/stellar/js-stellar-sdk/security/advisories/GHSA-6cgh-hjpw-q3gq"],"products":["stellar:js-stellar-sdk"],"source":"nvd","synced_at":"2026-10-19T21:20:07.141963181+00:00"},"epss":{"cve":"CVE-2021-32738","score":0.00514,"percentile":0.43787,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-6cgh-hjpw-q3gq","url":"https://osv.dev/vulnerability/GHSA-6cgh-hjpw-q3gq","summary":"Utils.readChallengeTx does not verify the server account signature","modified":"2026-07-08T06:29:28.803567951Z","packages":[{"ecosystem":"npm","name":"stellar-sdk","purl":"pkg:npm/stellar-sdk","ranges":["<8.2.3"],"fixed":["8.2.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}