Skip to content

CVE-2021-27290 (High) detected in ssri-7.1.0.tgz, ssri-6.0.1.tgz #166

Description

@mend-bolt-for-github

CVE-2021-27290 - High Severity Vulnerability

Vulnerable Libraries - ssri-7.1.0.tgz, ssri-6.0.1.tgz

ssri-7.1.0.tgz

Standard Subresource Integrity library -- parses, serializes, generates, and verifies integrity metadata according to the SRI spec.

Library home page: https://registry.npmjs.org/ssri/-/ssri-7.1.0.tgz

Path to dependency file: /mpfrontend/package.json

Path to vulnerable library: /mpfrontend/node_modules/@vue/cli-service/node_modules/ssri/package.json

Dependency Hierarchy:

  • cli-service-4.1.2.tgz (Root Library)
    • ssri-7.1.0.tgz (Vulnerable Library)
ssri-6.0.1.tgz

Standard Subresource Integrity library -- parses, serializes, generates, and verifies integrity metadata according to the SRI spec.

Library home page: https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz

Path to dependency file: /mpfrontend/package.json

Path to vulnerable library: /mpfrontend/node_modules/ssri/package.json

Dependency Hierarchy:

  • cli-service-4.1.2.tgz (Root Library)
    • copy-webpack-plugin-5.1.1.tgz
      • cacache-12.0.3.tgz
        • ssri-6.0.1.tgz (Vulnerable Library)

Found in HEAD commit: e0f32a53848c20e2982b3645e7d6acb9c6f36833

Found in base branch: master

Vulnerability Details

ssri 5.2.2-8.0.0, fixed in 8.0.1, processes SRIs using a regular expression which is vulnerable to a denial of service. Malicious SRIs could take an extremely long time to process, leading to denial of service. This issue only affects consumers using the strict option.

Publish Date: 2021-03-12

URL: CVE-2021-27290

CVSS 3 Score Details (7.5)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-vx3p-948g-6vhq

Release Date: 2021-03-12

Fix Resolution (ssri): 7.1.1

Direct dependency fix Resolution (@vue/cli-service): 4.2.0

Fix Resolution (ssri): 7.1.1

Direct dependency fix Resolution (@vue/cli-service): 4.2.0


Step up your Open Source Security Game with Mend here

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions