CVE-2020-7740 Server-side Request Forgery (SSRF)

High 8.2 Published Updated

An attacker can exploit lack of input validation in node-pdf-generator to perform Server-Side Request Forgery attacks against external servers.

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

What is CVE-2020-7740?

CVE-2020-7740 is a high-severity server-side request forgery vulnerability in node-pdf-generator, published on 6 Oct 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

This affects all versions of package node-pdf-generator. Due to lack of user input validation and sanitization done to the content given to node-pdf-generator, it is possible for an attacker to craft a url that will be passed to an external server allowing an SSRF attack.

Weakness: CWE-918, CWE-20

Which versions are affected by CVE-2020-7740?

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

PackageAffectedFixed in
node-pdf-generator npmAll versions to 0.0.6None
node-pdf-generator npmAll versions to 0.0.6None

Products include Node-Pdf-Generator Project Node-Pdf-Generator.

How do I fix CVE-2020-7740?

No fix has been published for CVE-2020-7740 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2020-7740 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-hcq6-h8v2-r5wm.

Is CVE-2020-7740 in your software?

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

Check your SBOMs for free