CVE-2023-30846CWE-522

typed-rest-client vulnerable to potential leak of authentication data to 3rd parties

Critical · published April 26, 2023

CVSS v3.1
9.1
EPSS
2%
Percentile
82.6
In the wild
Unconfirmed
What it is

🚨 A sneaky flaw in the typed-rest-client library could spill your precious authentication credentials to unintended parties! 🔥 Think of it as a restaurant that accidentally shares your reservation details with other diners — you expected privacy, but oops! Your credentials are sent along to whoever ends up at the second stop of a redirection. An attacker could exploit this vulnerability to capture your authentication data, allowing unauthorized access to sensitive services. This leak can lead to a disastrous breach, making it critical to act fast to protect your information.

Put simply

Think of it as a restaurant that accidentally shares your reservation details with other diners — you expected privacy, but oops! Your credentials are sent along to whoever ends up at the second stop of a redirection. This vulnerability arises when using `BasicCredentialHandler`, `BearerCredentialHandler`, or `PersonalAccessTokenCredentialHandler` in versions 1.7.3 or lower. It improperly attaches the `Authorization` header to requests redirected to a second host, which should not happen according to expected behavior.

What to do

An attacker could exploit this vulnerability to capture your authentication data, allowing unauthorized access to sensitive services. This leak can lead to a disastrous breach, making it critical to act fast to protect your information. Upgrade to version 1.8.0 of typed-rest-client immediately to patch this vulnerability. It's crucial to review any existing implementations to ensure they aren't unintentionally exposing sensitive information. No known workarounds are available, so updating is your best bet! You've got this! Taking these steps will help secure your connections and protect your credentials. 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.02224 · 82.6th percentile
Weakness
CWE-522 · Insufficiently Protected Credentials
Published
2023-04-26T20:58Z
EPSS history
Timeline
  • 26 APR 20:58Z
    typed-rest-client vulnerable to potential leak of authentication data to 3rd parties
    cvelistv5