NetSight
high7.1

CVE-2024-49760

OpenRefine has a path traversal in LoadLanguageCommand

Impact

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 packages

EcosystemPackageAffectedFixed in
mavenorg.openrefine:openrefine< 3.8.33.8.3

Affected products

VendorProductAffected versions
OpenrefineOpenrefine
before 3.8.3

Weakness classification

References