AdamOswald/face

react-native-svg-12.1.0.tgz: 1 vulnerabilities (highest severity is: 7.5)

Closed this issue · 4 comments

Vulnerable Library - react-native-svg-12.1.0.tgz

Path to vulnerable library: /module/sprites-as-a-service-0.5.0/frontend/node_modules/nth-check/package.json

Found in HEAD commit: 1def381581db59d139b24ef0a32eed6f8e3b2af8

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in Remediation Available
CVE-2021-3803 High 7.5 nth-check-1.0.2.tgz Transitive 12.3.0

Details

CVE-2021-3803

Vulnerable Library - nth-check-1.0.2.tgz

performant nth-check parser & compiler

Library home page: https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz

Path to dependency file: /module/sprites-as-a-service-0.5.0/frontend/package.json

Path to vulnerable library: /module/sprites-as-a-service-0.5.0/frontend/node_modules/nth-check/package.json

Dependency Hierarchy:

  • react-native-svg-12.1.0.tgz (Root Library)
    • css-select-2.1.0.tgz
      • nth-check-1.0.2.tgz (Vulnerable Library)

Found in HEAD commit: 1def381581db59d139b24ef0a32eed6f8e3b2af8

Found in base branch: master

Vulnerability Details

nth-check is vulnerable to Inefficient Regular Expression Complexity

Publish Date: 2021-09-17

URL: CVE-2021-3803

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

Release Date: 2021-09-17

Fix Resolution (nth-check): 2.0.1

Direct dependency fix Resolution (react-native-svg): 12.3.0

Step up your Open Source Security Game with Mend here

Nice to meet you, @mend-bolt-for-github[bot]. Thank you for creating an issue. There are some tasks for you:

  • Need at least one label
  • Need at least one assignee
  • Need a milestone

To close issue send comment "close", to reopen - "reopen"

Nice, one of tasks is done

Micro-Learning Topic: Inefficient regular expression (Detected by phrase)

Matched on "Inefficient Regular Expression"

What is this? (2min video)

A regular expression that requires exponential time to match certain inputs can be a performance bottleneck, and may be vulnerable to denial-of-service attacks.

Try a challenge in Secure Code Warrior

Micro-Learning Topic: Vulnerable library (Detected by phrase)

Matched on "Vulnerable Library"

What is this? (2min video)

Use of vulnerable components will introduce weaknesses into the application. Components with published vulnerabilities will allow easy exploitation as resources will often be available to automate the process.

Try a challenge in Secure Code Warrior

Thanks for issue, @mend-bolt-for-github[bot]! @AdamOswald, thank you for closing this issue, I have less work. I will look forward to our next meeting😜

If you want to reopen the issue - type "reopen"