CVE-2020-7762 Arbitrary File Read

Medium 6.5 Published Updated

An attacker can read arbitrary files from the server via path traversal in the jsreport-chrome-pdf library.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-7762?

CVE-2020-7762 is a medium-severity path traversal vulnerability in jsreport-chrome-pdf, published on 5 Nov 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

This affects the package jsreport-chrome-pdf before 1.10.0.

Weakness: CWE-22

Which versions are affected by CVE-2020-7762?

2 open source packages ship an affected version, including jsreport-chrome-pdf. It affects 1 product.

PackageAffectedFixed in
jsreport-chrome-pdf npmAll versions1.10.0
jsreport-chrome-pdf npmAll versions1.10.0

Products include Jsreport Jsreport-Chrome-Pdf.

How do I fix CVE-2020-7762?

Upgrade jsreport-chrome-pdf to 1.10.0 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2020-7762 being exploited?

There is no known exploitation of CVE-2020-7762 in the wild and no public exploit code.

Sources

Also known as GHSA-934w-hvj4-7fr6, SNYK-JS-JSREPORTCHROMEPDF-1037310.

Is CVE-2020-7762 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free