KOSASIH / skynetic

This repository was created by Gatsby Cloud
BSD Zero Clause License
1 stars 0 forks source link

gatsby-plugin-manifest-4.15.0.tgz: 2 vulnerabilities (highest severity is: 5.5) #5

Open mend-bolt-for-github[bot] opened 2 years ago

mend-bolt-for-github[bot] commented 2 years ago
Vulnerable Library - gatsby-plugin-manifest-4.15.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/make-dir/node_modules/semver/package.json

Found in HEAD commit: fb766f816ad2f4315881e9e4b6d630e84cad0f1e

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (gatsby-plugin-manifest version) Remediation Possible**
CVE-2022-36313 Medium 5.5 file-type-16.5.3.tgz Transitive 4.15.1
CVE-2022-25883 Medium 5.3 detected in multiple dependencies Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2022-36313 ### Vulnerable Library - file-type-16.5.3.tgz

Detect the file type of a Buffer/Uint8Array/ArrayBuffer

Library home page: https://registry.npmjs.org/file-type/-/file-type-16.5.3.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/file-type/package.json

Dependency Hierarchy: - gatsby-plugin-manifest-4.15.0.tgz (Root Library) - gatsby-core-utils-3.15.0.tgz - :x: **file-type-16.5.3.tgz** (Vulnerable Library)

Found in HEAD commit: fb766f816ad2f4315881e9e4b6d630e84cad0f1e

Found in base branch: main

### Vulnerability Details

An issue was discovered in the file-type package before 16.5.4 and 17.x before 17.1.3 for Node.js. A malformed MKV file could cause the file type detector to get caught in an infinite loop. This would make the application become unresponsive and could be used to cause a DoS attack.

Publish Date: 2022-07-21

URL: CVE-2022-36313

### CVSS 3 Score Details (5.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - 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: 2022-07-21

Fix Resolution (file-type): 16.5.4

Direct dependency fix Resolution (gatsby-plugin-manifest): 4.15.1

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2022-25883 ### Vulnerable Libraries - semver-7.3.7.tgz, semver-6.3.0.tgz

### semver-7.3.7.tgz

The semantic version parser used by npm.

Library home page: https://registry.npmjs.org/semver/-/semver-7.3.7.tgz

Path to dependency file: /package.json

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

Dependency Hierarchy: - gatsby-plugin-manifest-4.15.0.tgz (Root Library) - :x: **semver-7.3.7.tgz** (Vulnerable Library) ### semver-6.3.0.tgz

The semantic version parser used by npm.

Library home page: https://registry.npmjs.org/semver/-/semver-6.3.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/make-dir/node_modules/semver/package.json

Dependency Hierarchy: - gatsby-plugin-manifest-4.15.0.tgz (Root Library) - gatsby-core-utils-3.15.0.tgz - configstore-5.0.1.tgz - make-dir-3.1.0.tgz - :x: **semver-6.3.0.tgz** (Vulnerable Library)

Found in HEAD commit: fb766f816ad2f4315881e9e4b6d630e84cad0f1e

Found in base branch: main

### Vulnerability Details

Versions of the package semver before 7.5.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range, when untrusted user data is provided as a range.

Publish Date: 2023-06-21

URL: CVE-2022-25883

### CVSS 3 Score Details (5.3)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-c2qf-rxjj-qqgw

Release Date: 2023-06-21

Fix Resolution: semver - 5.7.2,6.3.1,7.5.2;org.webjars.npm:semver:7.5.2

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
mend-bolt-for-github[bot] commented 2 months ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

mend-bolt-for-github[bot] commented 2 months ago

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.