GitHub Advisoryadvisory · Maven

GHSA-qfwq-6jh6-8xx4 OpenRefine has a path traversal in LoadLanguageCommand

HIGH Published 2024-10-24 Modified 2024-11-06 Official page ↗
Aliases
CVE-2024-49760
Ecosystem
Maven
Packages
org.openrefine:openrefine
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
Weaknesses
CWE-22
Reviewed
2024-10-24

Affected packages

• Maven org.openrefine:openrefine: < 3.8.3 → fixed in 3.8.3

Description

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.

Related

Alias · CVE (1)

  • CVE-2024-49760 OpenRefine is a free, open source tool for working with messy data. vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References