Arbitrary File Read Affecting @sdscoep/web-review package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary File Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-SDSCOEPWEBREVIEW-1053230
  • published21 Dec 2020
  • disclosed20 Dec 2020
  • creditSam Sanoop of Snyk Security Team

Introduced: 20 Dec 2020

CVE NOT AVAILABLE CWE-284  (opens in a new tab)
First added by Snyk

How to fix?

There is no fixed version for @sdscoep/web-review.

Overview

@sdscoep/web-review is a npm package which will compile reports consisting of multiple criteria.

Affected versions of this package are vulnerable to Arbitrary File Read. It is possible to read arbitrary file by using the "file:///" URI as a url.

PoC

const webReview = require("@sdscoep/web-review");

webReview.exec([ { url: "file:///etc/passwd", resolution: ["480x320"], } ]);

CVSS Scores

version 3.1