typed-rest-client@0.15.1 vulnerabilities

Node Rest and Http Clients for use with TypeScript

Direct Vulnerabilities

Known vulnerabilities in the typed-rest-client package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Insufficiently Protected Credentials

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.

How to fix Insufficiently Protected Credentials?

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

<1.8.0