Users of 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:
BasicCredentialHandler
, BearerCredentialHandler
or PersonalAccessTokenCredentialHandler
Authorization
header.The expected behavior is that the next request will NOT set the Authorization
header.
The problem was fixed on April 1st 2020.
There is no workaround.
This is similar to the following issues in nature: 1. HTTP authentication leak in redirects - I used the same solution as CURL did. 2. CVE-2018-1000007.
{ "nvd_published_at": "2023-04-26T21:15:09Z", "severity": "CRITICAL", "github_reviewed_at": "2023-04-27T14:02:11Z", "github_reviewed": true, "cwe_ids": [ "CWE-522" ] }