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-2021-23406 (Critical) detected in pac-resolver-3.0.0.tgz, degenerator-1.0.4.tgz #308

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

Comments

@mend-for-github-com
Copy link
Contributor

mend-for-github-com bot commented Jan 7, 2023

CVE-2021-23406 - Critical Severity Vulnerability

Vulnerable Libraries - pac-resolver-3.0.0.tgz, degenerator-1.0.4.tgz

pac-resolver-3.0.0.tgz

Generates an asynchronous resolver function from a PAC file

Library home page: https://registry.npmjs.org/pac-resolver/-/pac-resolver-3.0.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/pac-resolver/package.json

Dependency Hierarchy:

  • snyk-1.406.0.tgz (Root Library)
    • proxy-agent-3.1.1.tgz
      • pac-proxy-agent-3.0.1.tgz
        • pac-resolver-3.0.0.tgz (Vulnerable Library)
degenerator-1.0.4.tgz

Turns sync functions into async generator functions

Library home page: https://registry.npmjs.org/degenerator/-/degenerator-1.0.4.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/degenerator/package.json

Dependency Hierarchy:

  • snyk-1.406.0.tgz (Root Library)
    • proxy-agent-3.1.1.tgz
      • pac-proxy-agent-3.0.1.tgz
        • pac-resolver-3.0.0.tgz
          • degenerator-1.0.4.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

This affects the package pac-resolver before 5.0.0. This can occur when used with untrusted input, due to unsafe PAC file handling. NOTE: The fix for this vulnerability is applied in the node-degenerator library, a dependency written by the same maintainer.

Publish Date: 2021-08-24

URL: CVE-2021-23406

CVSS 3 Score Details (9.8)

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: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-9j49-mfvp-vmhm

Release Date: 2021-08-24

Fix Resolution (pac-resolver): 5.0.0

Direct dependency fix Resolution (snyk): 1.518.0

Fix Resolution (degenerator): 5.0.0

Direct dependency fix Resolution (snyk): 1.518.0


⛑️ Automatic Remediation will be attempted for this issue.

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Jan 7, 2023
@mend-for-github-com mend-for-github-com bot changed the title CVE-2021-23406 (High) detected in pac-resolver-3.0.0.tgz, degenerator-1.0.4.tgz CVE-2021-23406 (Critical) detected in pac-resolver-3.0.0.tgz, degenerator-1.0.4.tgz Jun 29, 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