Arbitrary Code Injection Affecting org.webjars.npm:react-pdf package, versions [0,]


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.04% (13th percentile)

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 Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGWEBJARSNPM-6836789
  • published15 May 2024
  • disclosed7 May 2024
  • creditThomasRinsma

Introduced: 7 May 2024

CVE-2024-34342  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

There is no fixed version for org.webjars.npm:react-pdf.

Overview

org.webjars.npm:react-pdf is a package used to display existing PDFs.

Affected versions of this package are vulnerable to Arbitrary Code Injection via the isEvalSupported configuration parameter. An attacker can execute code by convincing a user to open a malicious PDF file. This is only exploitable if isEvalSupported is set to true, which is the default setting.

CVSS Scores

version 3.1