OpenRefineGHSA-qfwq-6jh6-8xx4
OpenRefine has a path traversal in LoadLanguageCommand
Fix: upgrade to 3.8.3 or later
The load-language command expects a lang parameter from which it constructs the path of the localization file to load, of the form translations-$LANG.json.
When doing so, it does not check that the resulting path is in the expected directory, which means that this command could be exploited to read other JSON files on the file system.
The command should be patched by checking that the normalized path is in the expected directory.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| org.openrefine:openrefine Maven | < 3.8.3 | 3.8.3 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-22
- Also known as
- CVE-2024-49760