Advisories for Maven/Org.openrefine.dependencies/Butterfly package

2024

Butterfly has path/URL confusion in resource handling leading to multiple weaknesses

The Butterfly framework uses the java.net.URL class to refer to (what are expected to be) local resource files, like images or templates. This works: "opening a connection" to these URLs opens the local file. However, if a file:/ URL is directly given where a relative path (resource name) is expected, this is also accepted in some code paths; the app then fetches the file, from a remote machine if indicated, …