Arbitrary Code Injection Affecting org.openrefine:database package, versions [3.4-beta,3.8.3)


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.09% (39th 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-ORGOPENREFINE-8304145
  • published25 Oct 2024
  • disclosed24 Oct 2024
  • creditUnknown

Introduced: 24 Oct 2024

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

How to fix?

Upgrade org.openrefine:database to version 3.8.3 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Injection via the enable_load_extension property in the SQLite integration due to improper user input sanitization in the getDatabaseUrl function. An attacker can execute arbitrary code on the server by loading malicious DLLs through crafted JDBC URLs.

Workaround

This vulnerability can be mitigated by setting enable_load_extension to off, using the READONLY open mode, and enforcing stricter security limits.

References

CVSS Scores

version 4.0
version 3.1