CVE-2013-5653: Infoleak

Published Sep 29, 2016
·
Updated

It was found that getenv and filenameforall ignore -dSAFER possibly allowing filesystem enumeration.

Upstream bug:

http://bugs.ghostscript.com/showbug.cgi?id=694724

Upstream patch:

http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=ab109aaeb3ddba59518b036fb288402a65cf7ce8

Reference: http://seclists.org/oss-sec/2016/q3/651

Reproducer:

%!PS (HOME) getenv { print (\n) print } { (variable not found\n) print } ifelse

Other sources

The getenv and filenameforall functions in Ghostscript 9.10 ignore the "-dSAFER" argument, which allows remote attackers to read data via a crafted postscript file.

MITRE

Affected Software

2 affected components
Artifex Afpl Ghostscript=9.10
Debian Debian Linux=8.0

Event History

Sep 29, 2016
Data Sourced
via Red Hat·10:03 AM
DescriptionSeverityAffected Software
Mar 7, 2017
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Data Sourced
via NVD·03:59 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2013-5653?

CVE-2013-5653 has a high severity rating due to its potential for filesystem enumeration.

2

Which versions of Ghostscript are affected by CVE-2013-5653?

CVE-2013-5653 affects Ghostscript version 9.10.

3

How do I fix CVE-2013-5653?

To fix CVE-2013-5653, you should upgrade to a version of Ghostscript that includes the relevant security patches.

4

What is the main issue with CVE-2013-5653?

The main issue with CVE-2013-5653 is that certain functions are ignoring security settings, allowing unauthorized filesystem access.

5

Which operating system is mentioned in relation to CVE-2013-5653?

The Debian GNU/Linux version 8.0 is mentioned as being affected by CVE-2013-5653.

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