CVE-2022-41401: Main OpenRefine Server-Side Request Forgery Vulnerability Vulnerability
MODERATECVE-2022-41401 is a MODERATE (CVSS 6.5) openrefine server-side request forgery vulnerability vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Main libraries in the Maven ecosystem. The issue involves openrefine server-side request forgery vulnerability. Remediation is available by upgrading affected packages to version 3.6.0.
CVE-2022-41401 at a Glance
Security Impact
CVSS: 6.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:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2022-41401
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.6.0</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-2022-41401, 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.6.0), 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-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. 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-2022-41401 Affected Main Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.openrefine:main
|
Maven |
< 3.6.0
|
3.6.0
|
References
Frequently Asked Questions
What is CVE-2022-41401?
Which Main versions are affected?
What version fixes CVE-2022-41401?
Is main affected?
What is the CVSS score of CVE-2022-41401?
What CWE is associated with CVE-2022-41401?
How can I check Maven dependencies for CVE-2022-41401?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q7mc-fc87-v7w7",
"modified" : "2023-08-08T22:37:00Z",
"published" : "2023-08-04T18:30:39Z",
"aliases" : [ "CVE-2022-41401" ],
"summary" : "OpenRefine Server-Side Request Forgery vulnerability",
"details" : "OpenRefine <= v3.5.2 contains a Server-Side Request Forgery (SSRF) vulnerability, which permits unauthorized users to exploit the system, potentially leading to unauthorized access to internal resources and sensitive file disclosure.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.openrefine:main"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.6.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-41401"
}, {
"type" : "WEB",
"url" : "https://github.com/OpenRefine/OpenRefine/commit/8cb2fec45dd90fda8ed9608c691f6bb8ed721cd2"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/OpenRefine/OpenRefine"
}, {
"type" : "WEB",
"url" : "https://github.com/OpenRefine/OpenRefine/blob/30d6edb7b6586623bda09456c797c35983fb80ff/main/tests/server/src/com/google/refine/importing/ImportingUtilitiesTests.java#L180"
}, {
"type" : "WEB",
"url" : "https://github.com/OpenRefine/OpenRefine/blob/cb55cdfdf6f9ca916839778dc847cce803688998/main/src/com/google/refine/importing/ImportingUtilities.java#L103"
}, {
"type" : "WEB",
"url" : "https://github.com/ixSly/CVE-2022-41401"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-918" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-04T21:25:42Z",
"nvd_published_at" : "2023-08-04T17:15:09Z"
}
}