CVE-2015-4035: Input Validation

Published May 20, 2015
·
Updated

It was found that xzgrep did not correctly process file names containing a semicolon. A local attacker able to trick a user to run xzgrep on a specially crafted file could use this flaw to execute arbitrary code as the user running xzgrep.

$ touch /tmp/semi\;colon $ xzgrep anystring /tmp/semi\;colon xz: /tmp/semi: No such file or directory /usr/bin/xzgrep: line 199: colon: command not found

Additional details:

http://seclists.org/oss-sec/2015/q2/484

Other sources

scripts/xzgrep.in in xzgrep 5.2.x before 5.2.0, before 5.0.0 does not properly process file names containing semicolons, which allows remote attackers to execute arbitrary code by having a user run xzgrep on a crafted file name.

MITRE

Affected Software

5 affected componentsFixes available
redhat/xz<5.0.0
5.0.0
redhat/xz<5.2.0
5.2.0
Tukaani XZ<=4.999.9
redhat Enterprise Linux=5.0
redhat Enterprise Linux=6.0

Event History

Jul 25, 2017
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
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-2015-4035?

The CVE-2015-4035 vulnerability is considered to have a high severity due to its potential for arbitrary code execution.

2

How do I fix CVE-2015-4035?

To fix CVE-2015-4035, update to xz package version 5.0.0 or higher for Red Hat systems.

3

Who is affected by CVE-2015-4035?

Users running xzgrep on versions of the xz package up to 5.2.0 are affected by CVE-2015-4035.

4

Can CVE-2015-4035 be exploited remotely?

CVE-2015-4035 requires local access, as a user must be tricked into running the affected command on a specially crafted file.

5

What systems are vulnerable to CVE-2015-4035?

CVE-2015-4035 affects various versions of the xz package, particularly on Red Hat Enterprise Linux systems below version 5.0.0.

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