GLSA 201707-08: feh: Arbitrary remote code execution

Severity:normal
Title:feh: Arbitrary remote code execution
Date:07/08/2017
Bugs: #616470
ID:201707-08

Synopsis

A vulnerability in feh might allow remote attackers to execute arbitrary code.

Background

feh is an X11 image viewer aimed mostly at console users.

Affected packages

Package Vulnerable Unaffected Architecture(s)
media-gfx/feh < 2.18.3 >= 2.18.3 All supported architectures

Description

Tobias Stoeckmann discovered it was possible to trigger an out-of-boundary heap write with the image viewer feh while receiving an IPC message.

Impact

A remote attacker, pretending to be the E17 window manager, could possibly trigger an out-of-boundary heap write in feh while receiving an IPC message. This could result in execution of arbitrary code with the privileges of the process or a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All feh users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=media-gfx/feh-2.18.3"
    

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-201707-08.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!