Vulnerabilities in pkg:maven/org.openrefine/main
PACKAGECVE-2023-37476 is a MODERATE (CVSS 5.5) openrefine vulnerable to zip slip vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Main libraries in the Maven ecosystem. The issue involves openrefine vulnerable to zip slip in project import. Remediation is available by upgrading affected packages to version 3.7.4.
pkg:maven/org.openrefine/main
Vulnerability advisories affecting package pkg:maven/org.openrefine/main. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-m88m-crr9-jvqq | CVE-2023-37476 | MODERATE | OpenRefine vulnerable to zip slip in project import |
| GHSA-3jm4-c6qf-jrh3 | CVE-2024-47879 | HIGH | OpenRefine's PreviewExpressionCommand, which is eval, lacks protection against cross-site request forgery (CSRF) |
| GHSA-f6fv-fjg8-4m6w | CVE-2018-19859 | MODERATE | OpenRefine Directory Traversal |
| GHSA-q7mc-fc87-v7w7 | CVE-2022-41401 | MODERATE | OpenRefine Server-Side Request Forgery vulnerability |
CVE-2023-37476 at a Glance
Security Impact
CVSS: 5.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L).
How to Fix CVE-2023-37476
To remediate this vulnerability, upgrade all affected Main dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.openrefine</groupId>
<artifactId>main</artifactId>
<version>3.7.4</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.openrefine
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2023-37476, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.openrefine
Analyze the terminal output to locate any version of Main in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.7.4), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.openrefine command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Main, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-37476 Affected Main Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.openrefine:main
|
Maven |
< 3.7.4
|
3.7.4
|
References
Frequently Asked Questions
What is CVE-2023-37476?
Which Main versions are affected?
What version fixes CVE-2023-37476?
Is main affected?
What is the CVSS score of CVE-2023-37476?
What CWE is associated with CVE-2023-37476?
How can I check Maven dependencies for CVE-2023-37476?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-m88m-crr9-jvqq",
"modified" : "2025-06-10T19:58:06Z",
"published" : "2023-07-18T18:47:27Z",
"aliases" : [ "CVE-2023-37476" ],
"summary" : "OpenRefine vulnerable to zip slip in project import",
"details" : "### Impact\n\nA carefully crafted malicious OpenRefine project tar file can be used to trigger arbitrary code execution if a user can be convinced to import it.\n\n### Patches\n\nThe vulnerability exists in all versions of OpenRefine up to and including 3.7.3. Users should update to OpenRefine 3.7.4 as soon as possible.\n\n### Workarounds\n\nOnly import OpenRefine projects from trusted sources.\n\n### References\n\nA similar [issue](https://github.com/OpenRefine/OpenRefine/issues/1840) existed in the Create Project feature ([CVE-2018-19859](https://nvd.nist.gov/vuln/detail/CVE-2018-19859)), which was fixed by PR [#1901](https://github.com/OpenRefine/OpenRefine/pull/1901).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.openrefine:main"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.7.4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/OpenRefine/OpenRefine/security/advisories/GHSA-m88m-crr9-jvqq"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-37476"
}, {
"type" : "WEB",
"url" : "https://github.com/OpenRefine/OpenRefine/commit/e9c1e65d58b47aec8cd676bd5c07d97b002f205e"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/OpenRefine/OpenRefine"
}, {
"type" : "WEB",
"url" : "https://github.com/OpenRefine/OpenRefine/releases/tag/3.7.4"
}, {
"type" : "WEB",
"url" : "https://www.sonarsource.com/blog/openrefine-zip-slip"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-18T18:47:27Z",
"nvd_published_at" : "2023-07-17T22:15:09Z"
}
}