CVE-2024-47879 OpenRefine's PreviewExpressionCommand, which is eval, lacks protection against cross-site request forgery (CSRF)

High 7.6 Published Updated

Attackers can execute arbitrary code via CSRF in OpenRefine's preview-expression command if a victim visits a malicious site.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-47879?

CVE-2024-47879 is a high-severity vulnerability in OpenRefine, published on 24 Oct 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

OpenRefine is a free, open source tool for working with messy data. Prior to version 3.8.3, lack of cross-site request forgery protection on the `preview-expression` command means that visiting a malicious website could cause an attacker-controlled expression to be executed. The expression can contain arbitrary Clojure or Python code. The attacker must know a valid project ID of a project that contains at least one row, and the attacker must convince the victim to open a malicious webpage. Version 3.8.3 fixes the issue.

Weakness: CWE-94, CWE-352

Which versions are affected by CVE-2024-47879?

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

PackageAffectedFixed in
org.openrefine:main MavenAll versions3.8.3
org.openrefine:main MavenAll versions3.8.3

Products include Openrefine Openrefine.

How do I fix CVE-2024-47879?

Upgrade org.openrefine:main to 3.8.3 or later.

Is CVE-2024-47879 being exploited?

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

Sources

Also known as DEBIAN-CVE-2024-47879, GHSA-3jm4-c6qf-jrh3, UBUNTU-CVE-2024-47879.

Is CVE-2024-47879 in your software?

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

Check your SBOMs for free