The following was reported: ... The function "rs_filter_graph" located in file ./librawstudio/rs-filter.c contains the following code: g_string_append_printf(str, "}\n"); g_file_set_contents("/tmp/rs-filter-graph", str->str, str->len, NULL); ignore = system("dot -Tpng >/tmp/rs-filter-graph.png </tmp/rs-filter-graph"); ignore = system("gnome-open /tmp/rs-filter-graph.png"); This code makes insecure use of two temporary files: /tmp/rs-filter-graph.png /tmp/rs-filter-graph This allows the truncation of arbitrary files which are owned by the user running rawstudio - for example: ln -s ~/.important /tmp/rs-filter-graph ln -s /etc/shadow /tmp/rs-filter-graph.png
Created rawstudio tracking bugs for this issue: Affects: fedora-all [bug 1120094]
CVE request: http://seclists.org/oss-sec/2014/q3/160
(In reply to Vasyl Kaigorodov from comment #2) > CVE request: http://seclists.org/oss-sec/2014/q3/160 MITRE assigned CVE-2014-4978 to this issue.
Upstream seems dead, last commit is on February, maybe it's time to retire the package.
This is upstream - not dead :) Please note that this function can not be called by end users without modifying Rawstudio source. We disabled it in march 2011. Fix is here for future references: https://github.com/rawstudio/rawstudio/commit/9c2cd3c93c05d009a91d84eedbb85873b0cb505d - but IMO the fix is not very important. End users cannot call this without adding a "FilterGraph" menuitem to ui.xml.
rawstudio-2.1-0.1.20150511git983bda1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
Closing