Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2023-30846 (High) detected in typed-rest-client-1.1.2.tgz #184

Open
mend-bolt-for-github bot opened this issue Apr 28, 2023 · 0 comments
Open
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

CVE-2023-30846 - High Severity Vulnerability

Vulnerable Library - typed-rest-client-1.1.2.tgz

Node Rest and Http Clients for use with TypeScript

Library home page: https://registry.npmjs.org/typed-rest-client/-/typed-rest-client-1.1.2.tgz

Path to dependency file: /event-system/package.json

Path to vulnerable library: /node_modules/typed-rest-client/package.json

Dependency Hierarchy:

  • stryker-0.35.1.tgz (Root Library)
    • typed-rest-client-1.1.2.tgz (Vulnerable Library)

Found in HEAD commit: 6ecfa86344702cb200f5d39ba3d704da1ea21e88

Vulnerability 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.

Publish Date: 2023-04-26

URL: CVE-2023-30846

CVSS 3 Score Details (9.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2023-30846

Release Date: 2023-04-26

Fix Resolution (typed-rest-client): 1.8.0

Direct dependency fix Resolution (stryker): 1.0.0


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants