CWE
77
Advisory Published
Updated

REDHAT-BUG-1468488: Command Injection

First published: Fri Jul 07 2017(Updated: )

Created <span class=""><a href="attachment.cgi?id=1295228&amp;action=diff" name="attach_1295228" title="0001-comics-Remove-support-for-tar-and-tar-like-commands.patch">attachment 1295228</a> <a href="attachment.cgi?id=1295228&amp;action=edit" title="0001-comics-Remove-support-for-tar-and-tar-like-commands.patch">[details]</a></span> 0001-comics-Remove-support-for-tar-and-tar-like-commands.patch From the folks at Project Zero: """ Hi, The comic book backend in evince 3.24.0 is vulnerable to a command injection bug that can be used to execute arbitrary commands when a cbt file is opened: cbt files are simple tar archives containing images. When a cbt file is processed, evince calls "tar -xOf $archive $filename" for every image file in the archive: // backend/comics/comics-document.c: 914 command_line = g_strdup_printf ("%s %s %s", comics_document-&gt;extract_command, quoted_archive, quoted_filename); While both the archive name and the filename are quoted to not be interpreted by the shell, the filename is completely attacker controlled an can start with "--" which leads to tar interpreting it as a command line flag. This can be exploited by creating a tar archive with an embedded file named [...] Please credit Felix Wilhelm from the Google Security Team in all releases, patches and advisories related to this issue. Best, Felix """ All current versions of evince in Fedora and RHEL are vulnerable. The attached patch will be applied to all versions of Fedora except Fedora 26 and rawhide for which we will use a backport of the comics archive handling rework (<a href="https://bugzilla.gnome.org/show_bug.cgi?id=720742">https://bugzilla.gnome.org/show_bug.cgi?id=720742</a>).

Affected SoftwareAffected VersionHow to fix
Evince<3.24.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of REDHAT-BUG-1468488?

    The severity of REDHAT-BUG-1468488 is considered moderate, impacting usability while not compromising system security.

  • How do I fix REDHAT-BUG-1468488?

    To fix REDHAT-BUG-1468488, you need to update GNOME Evince to a version later than 3.24.0.

  • What software is affected by REDHAT-BUG-1468488?

    REDHAT-BUG-1468488 specifically affects GNOME Evince version 3.24.0 and earlier.

  • What is the nature of the vulnerability in REDHAT-BUG-1468488?

    The vulnerability in REDHAT-BUG-1468488 is related to the removal of support for certain tar and tar-like commands in GNOME Evince.

  • Who reported REDHAT-BUG-1468488?

    The bug REDHAT-BUG-1468488 was reported by contributors within the GNOME community.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203