Skip to content

simplepeer-5.11.6.min.js: 1 vulnerabilities (highest severity is: 7.6) [trunk] #120

@mend-developer-platform-dev

Description

@mend-developer-platform-dev
📂 Vulnerable Library - simplepeer-5.11.6.min.js

Simple one-to-one WebRTC video/voice and data channels

Library home page: https://cdnjs.cloudflare.com/ajax/libs/simple-peer/5.11.6/simplepeer.min.js

Path to vulnerable library: /src/Core/Framework/Test/Plugin/_fixture/apps/with-webpack/Resources/app/storefront/build/webpack.config.js

Findings

Finding Severity 🎯 CVSS Exploit Maturity EPSS Library Type Fixed in Remediation Available Reachability
CVE-2021-41248 🔴 High 7.6 Not Defined < 1% simplepeer-5.11.6.min.js Direct graphiql - 1.4.7

Details

🔴CVE-2021-41248

Vulnerable Library - simplepeer-5.11.6.min.js

Simple one-to-one WebRTC video/voice and data channels

Library home page: https://cdnjs.cloudflare.com/ajax/libs/simple-peer/5.11.6/simplepeer.min.js

Path to vulnerable library: /src/Core/Framework/Test/Plugin/_fixture/apps/with-webpack/Resources/app/storefront/build/webpack.config.js

Dependency Hierarchy:

  • simplepeer-5.11.6.min.js (Vulnerable Library)

Vulnerability Details

GraphiQL is the reference implementation of this monorepo, GraphQL IDE, an official project under the GraphQL Foundation. All versions of graphiql older than graphiql@1.4.7 are vulnerable to compromised HTTP schema introspection responses or schema prop values with malicious GraphQL type names, exposing a dynamic XSS attack surface that can allow code injection on operation autocomplete. In order for the attack to take place, the user must load a vulnerable schema in graphiql. There are a number of ways that can occur. By default, the schema URL is not attacker-controllable in graphiql or in its suggested implementations or examples, leaving only very complex attack vectors. If a custom implementation of graphiql's fetcher allows the schema URL to be set dynamically, such as a URL query parameter like ?endpoint= in graphql-playground, or a database provided value, then this custom graphiql implementation is vulnerable to phishing attacks, and thus much more readily available, low or no privelege level xss attacks. The URLs could look like any generic looking graphql schema URL. It should be noted that desktop clients such as Altair, Insomnia, Postwoman, do not appear to be impacted by this. This vulnerability does not impact codemirror-graphql, monaco-graphql or other dependents, as it exists in onHasCompletion.ts in graphiql. It does impact all forks of graphiql, and every released version of graphiql.

Publish Date: Nov 04, 2021 08:15 PM

URL: CVE-2021-41248

Threat Assessment

Exploit Maturity:Not Defined

EPSS:< 1%

Score: 7.6


Suggested Fix

Type: Upgrade version

Origin: GHSA-x4r7-m2q9-69c8

Release Date: Nov 04, 2021 08:15 PM

Fix Resolution : graphiql - 1.4.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions