GLSA 201701-67: a2ps: Arbitrary code execution

Severity:normal
Title:a2ps: Arbitrary code execution
Date:01/29/2017
Bugs: #506352
ID:201701-67

Synopsis

A vulnerability in a2ps' fixps script might allow remote attackers to execute arbitrary code.

Background

a2ps is an Any to PostScript filter.

Affected packages

Package Vulnerable Unaffected Architecture(s)
app-text/a2ps < 4.14-r5 >= 4.14-r5 All supported architectures

Description

a2ps’ fixps script does not invoke gs with the -dSAFER option.

Impact

Remote attackers, by enticing a user to process a specially crafted PostScript file, could delete arbitrary files or execute arbitrary code with the privileges of the process.

Workaround

There is no known workaround at this time.

Resolution

All a2ps users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=app-text/a2ps-4.14-r5"
    

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-201701-67.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!