CVE-2023-30846

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-30846
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-30846.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-30846
Aliases
Related
Published
2023-04-26T21:15:09Z
Modified
2025-07-02T00:26:15.982104Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/microsoft/typed-rest-client

Affected ranges

Type
GIT
Repo
https://github.com/microsoft/typed-rest-client
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*

1.0.6
1.0.7
1.4.0
1.5.0