CVE-2023-30846
published critical CVSS 3.1 · 9.1typed-rest-client vulnerable to potential leak of authentication data to 3rd parties
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| microsoft | — | typed-rest-client< 1.8.0 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| microsoft | typed-rest-client | < 1.8.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-522 CWE-522: Insufficiently Protected Credentials
References
3Provider assertions
3GitHub_M · cna
typed-rest-client vulnerable to potential leak of authentication data to 3rd parties
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3361a9fb2b04f219684ffddc2b1b182cde3bfb1b0b1061d9696caccf8bced194
- Ingested
- 23 Sep 2026, 08:08:38 UTC
- Source record
- Official CVE record