CVE-2014-4978: Medium severity stormy studios knet vulnerability

Published Jul 15, 2014
·
Updated

The following was reported: ... The function "rsfiltergraph" located in file ./librawstudio/rs-filter.c contains the following code:

gstringappendprintf(str, "}\n"); gfilesetcontents("/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

Other sources

The rsfiltergraph function in librawstudio/rs-filter.c in rawstudio might allow local users to truncate arbitrary files via a symlink attack on (1) /tmp/rs-filter-graph.png or (2) /tmp/rs-filter-graph.

— MITRE

Affected Software

4 affected components
debian/rawstudio<=2.0-1.1, <=2.0-1
debian/rawstudio
rawstudio rawstudio=2.0-1.1
Fedoraproject Fedora=22

Event History

Jul 16, 2014
Data Sourced
via Red Hat·09:24 AM
DescriptionSeverityAffected Software
Dec 29, 2017
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2014-4978?

CVE-2014-4978 is classified as a high severity vulnerability due to the potential for remote code execution.

2

How do I fix CVE-2014-4978?

To fix CVE-2014-4978, update Rawstudio to version 2.0-1.1 or higher.

3

Which versions of Rawstudio are affected by CVE-2014-4978?

CVE-2014-4978 affects Rawstudio versions prior to 2.0-1.1.

4

What systems are impacted by CVE-2014-4978?

CVE-2014-4978 impacts systems running Rawstudio on Debian and Fedora platforms.

5

Is there any exploit for CVE-2014-4978 available?

Yes, there is potential for exploitation of CVE-2014-4978 through the insecure handling of user input.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203