{"url":"http://public2.vulnerablecode.io/api/packages/528664?format=json","purl":"pkg:npm/stellar-sdk@0.2.23","type":"npm","namespace":"","name":"stellar-sdk","version":"0.2.23","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":"8.2.3","latest_non_vulnerable_version":"8.2.3","affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/41182?format=json","vulnerability_id":"VCID-4bzf-aesy-2ubp","summary":"Improper Authentication\njs-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, 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, 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.","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2021-32738","reference_id":"","reference_type":"","scores":[{"value":"0.00069","scoring_system":"epss","scoring_elements":"0.21385","published_at":"2026-06-09T12:55:00Z"},{"value":"0.00069","scoring_system":"epss","scoring_elements":"0.21418","published_at":"2026-06-04T12:55:00Z"},{"value":"0.00069","scoring_system":"epss","scoring_elements":"0.21498","published_at":"2026-06-05T12:55:00Z"},{"value":"0.00069","scoring_system":"epss","scoring_elements":"0.21484","published_at":"2026-06-06T12:55:00Z"},{"value":"0.00069","scoring_system":"epss","scoring_elements":"0.21436","published_at":"2026-06-07T12:55:00Z"},{"value":"0.00069","scoring_system":"epss","scoring_elements":"0.21375","published_at":"2026-06-08T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2021-32738"},{"reference_url":"https://github.com/stellar/js-stellar-sdk/commit/6f0bb889c2d10b431ddd5f4a1bcdd519c80430b3","reference_id":"","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/stellar/js-stellar-sdk/commit/6f0bb889c2d10b431ddd5f4a1bcdd519c80430b3"},{"reference_url":"https://github.com/stellar/js-stellar-sdk/releases/tag/v8.2.3","reference_id":"","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/stellar/js-stellar-sdk/releases/tag/v8.2.3"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32738","reference_id":"CVE-2021-32738","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32738"},{"reference_url":"https://github.com/advisories/GHSA-6cgh-hjpw-q3gq","reference_id":"GHSA-6cgh-hjpw-q3gq","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-6cgh-hjpw-q3gq"},{"reference_url":"https://github.com/stellar/js-stellar-sdk/security/advisories/GHSA-6cgh-hjpw-q3gq","reference_id":"GHSA-6cgh-hjpw-q3gq","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"},{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/stellar/js-stellar-sdk/security/advisories/GHSA-6cgh-hjpw-q3gq"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/58346?format=json","purl":"pkg:npm/stellar-sdk@8.2.3","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/stellar-sdk@8.2.3"}],"aliases":["CVE-2021-32738","GHSA-6cgh-hjpw-q3gq"],"risk_score":3.1,"exploitability":"0.5","weighted_severity":"6.2","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-4bzf-aesy-2ubp"}],"fixing_vulnerabilities":[],"risk_score":"3.1","resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/stellar-sdk@0.2.23"}