turkdevops / graphql-tools

:wrench: Build, mock, and stitch a GraphQL schema using the schema language
https://www.graphql-tools.com
MIT License
0 stars 1 forks source link

CVE-2022-25645 (High) detected in dset-2.1.0.tgz - autoclosed #167

Closed mend-bolt-for-github[bot] closed 1 year ago

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

CVE-2022-25645 - High Severity Vulnerability

Vulnerable Library - dset-2.1.0.tgz

A tiny (190B) utility for safely writing deep Object values~!

Library home page: https://registry.npmjs.org/dset/-/dset-2.1.0.tgz

Path to dependency file: /package.json

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

Dependency Hierarchy: - @graphql-tools/website-6.2.3.tgz (Root Library) - the-guild-components-1.3.0.tgz - components-1.3.0.tgz - twin.macro-2.4.2.tgz - :x: **dset-2.1.0.tgz** (Vulnerable Library)

Found in HEAD commit: 522129ce265decf86028571eea566ef21c50fd7f

Found in base branch: gh-pages

Vulnerability Details

All versions of package dset are vulnerable to Prototype Pollution via 'dset/merge' mode, as the dset function checks for prototype pollution by validating if the top-level path contains __proto__, constructor or protorype. By crafting a malicious object, it is possible to bypass this check and achieve prototype pollution.

Publish Date: 2022-05-01

URL: CVE-2022-25645

CVSS 3 Score Details (8.1)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - 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: https://github.com/advisories/GHSA-23wx-cgxq-vpwx

Release Date: 2022-05-01

Fix Resolution: dset - 3.1.2


Step up your Open Source Security Game with Mend here

mend-bolt-for-github[bot] commented 1 year 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.