CVE-2020-8128 Server-Side Request Forgery and Inclusion of Functionality from Untrusted Control Sphere in jsreport

Critical 9.8 Published Updated

Attackers can exploit SSRF and unintended require flaws in jsreport to execute arbitrary code on the server.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-8128?

CVE-2020-8128 is a critical server-side request forgery vulnerability in jsreport, published on 14 Feb 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An unintended require and server-side request forgery vulnerabilities in jsreport version 2.5.0 and earlier allow attackers to execute arbitrary code.

Weakness: CWE-918, CWE-829

Which versions are affected by CVE-2020-8128?

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

PackageAffectedFixed in
jsreport npmAll versions2.6.0
jsreport npmAll versions2.6.0

Products include Jsreport Jsreport.

How do I fix CVE-2020-8128?

Upgrade jsreport to 2.6.0 or later.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2020-8128 being exploited?

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

Sources

Also known as GHSA-5fjj-cfh2-ghc5.

Is CVE-2020-8128 in your software?

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

Check your SBOMs for free