CVE-2023-30846
HIGH 7.5CVSS 3.1Potential leak of authentication data to 3rd parties
typed-rest-client is a library for Node Rest and Http Clients with typings for use with TypeScript. Users of the typed-rest-client library version 1.7.3 or lower are vulnerable to leak authentication data to 3rd parties. The flow of the vulnerability is as follows: First, send any request with BasicCredentialHandler, BearerCredentialHandler or PersonalAccessTokenCredentialHandler. Second, the target host may return a redirection (3xx), with a link to a second host. Third, the next request will use the credentials to authenticate with the second host, by setting the Authorization header. The expected behavior is that the next request will NOT set the Authorization header. The problem was fixed in version 1.8.0. There are no known workarounds.
- Published
- 26 Apr 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-522
- Also known as
- GHSA-558p-m34m-vpmq
- Sources
- NVDJSONOSV GHSA-558p-m34m-vpmqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | microsoft | typed-rest-clientcpe:2.3:a:microsoft:typed-rest-client:*:*:*:*:*:node.js:*:* |
< 1.8.0 | 1.8.0 |
| OSV | npm | typed-rest-client | < 1.8.0 | 1.8.0 |
References
- https://github.com/microsoft/typed-rest-client/commit/f9ff755631b982ee1303dfc3e3c823d0d31233e8 · Patch, WEB
- https://github.com/microsoft/typed-rest-client/security/advisories/GHSA-558p-m34m-vpmq · Vendor Advisory, WEB
- https://security.netapp.com/advisory/ntap-20230601-0008/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-30846 · ADVISORY
- https://github.com/microsoft/typed-rest-client/pull/207 · WEB
- https://github.com/microsoft/typed-rest-client · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 26 Apr 2023)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 27 Apr 2023)