CVE-2023-41887 Remote Code exec in project import with mysql jdbc url attack

Critical 9.8 Published Updated

Unauthenticated attackers can execute arbitrary code on the server via malicious JDBC URLs during project import in OpenRefine.

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

What is CVE-2023-41887?

CVE-2023-41887 is a critical code injection vulnerability in OpenRefine, published on 15 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

OpenRefine is a powerful free, open source tool for working with messy data. Prior to version 3.7.5, a remote code execution vulnerability allows any unauthenticated user to execute code on the server. Version 3.7.5 has a patch for this issue.

Weakness: CWE-89

Which versions are affected by CVE-2023-41887?

2 open source packages ship an affected version, including org.openrefine:database. It affects 1 product.

PackageAffectedFixed in
org.openrefine:database MavenAll versions3.7.5
org.openrefine:database MavenAll versions3.7.5

Products include Openrefine Openrefine.

How do I fix CVE-2023-41887?

Upgrade org.openrefine:database to 3.7.5 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2023-41887 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-41887 exists.

Sources

Also known as DEBIAN-CVE-2023-41887, GHSA-p3r5-x3hr-gpg5, UBUNTU-CVE-2023-41887.

Is CVE-2023-41887 in your software?

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

Check your SBOMs for free