Insufficiently Protected Credentials Affecting typed-rest-client package, versions <1.8.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.27% (69th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-TYPEDRESTCLIENT-5487993
  • published 27 Apr 2023
  • disclosed 27 Apr 2023
  • credit Unknown

How to fix?

Upgrade typed-rest-client to version 1.8.0 or higher.

Overview

typed-rest-client is a Node Rest and Http Clients for use with TypeScript

Affected versions of this package are vulnerable to Insufficiently Protected Credentials when sending any request with BasicCredentialHandler, BearerCredentialHandler or PersonalAccessTokenCredentialHandler. The target host may return a redirection (3xx), with a link to a second host and 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.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
7.5 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    None
  • Availability (A)
    None
Expand this section

NVD

7.5 high