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 (High) detected in degenerator-2.2.0.tgz, pac-resolver-4.2.0.tgz #1672

Closed
mend-bolt-for-github bot opened this issue Jan 2, 2022 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

CVE-2021-23406 - High Severity Vulnerability

Vulnerable Libraries - degenerator-2.2.0.tgz, pac-resolver-4.2.0.tgz

degenerator-2.2.0.tgz

Compiles sync functions into async generator functions

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

Path to dependency file: /package.json

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

Dependency Hierarchy:

  • cloudinary-1.28.0.tgz (Root Library)
    • proxy-agent-4.0.1.tgz
      • pac-proxy-agent-4.1.0.tgz
        • pac-resolver-4.2.0.tgz
          • degenerator-2.2.0.tgz (Vulnerable Library)
pac-resolver-4.2.0.tgz

Generates an asynchronous resolver function from a PAC file

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

Path to dependency file: /package.json

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

Dependency Hierarchy:

  • cloudinary-1.28.0.tgz (Root Library)
    • proxy-agent-4.0.1.tgz
      • pac-proxy-agent-4.1.0.tgz
        • pac-resolver-4.2.0.tgz (Vulnerable Library)

Found in HEAD commit: 707c1e43c37859475e172b5c0fb57cd377dabf94

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, degenerator - 3.0.1


Step up your Open Source Security Game with WhiteSource here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Jan 2, 2022
@scriptex scriptex closed this as completed Jan 2, 2022
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

1 participant