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-27290 (High) detected in ssri-6.0.1.tgz #249

Open
mend-bolt-for-github bot opened this issue Mar 23, 2021 · 0 comments
Open

CVE-2021-27290 (High) detected in ssri-6.0.1.tgz #249

mend-bolt-for-github bot opened this issue Mar 23, 2021 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link

mend-bolt-for-github bot commented Mar 23, 2021

CVE-2021-27290 - High Severity Vulnerability

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: amplify-cli/packages/amplify-provider-awscloudformation/package.json

Path to vulnerable library: amplify-cli/packages/amplify-provider-awscloudformation/node_modules/npm/node_modules/ssri/package.json,amplify-cli/packages/amplify-cli/node_modules/aws-appsync-codegen/node_modules/npm/node_modules/ssri/package.json,amplify-cli/packages/amplify-codegen/node_modules/npm/node_modules/ssri/package.json

Dependency Hierarchy:

  • aws-appsync-codegen-0.17.5.tgz (Root Library)
    • npm-6.14.12.tgz
      • ssri-6.0.1.tgz (Vulnerable Library)

Found in HEAD commit: 36593a81a670be8e3c49fb5833643c2c0ffdf4b3

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: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27290

Release Date: 2021-03-12

Fix Resolution: v8.0.1

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

No branches or pull requests

0 participants