Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1223341 - (CVE-2015-4035) CVE-2015-4035 xzgrep: incorrect parsing of filenames containing a semicolon
CVE-2015-4035 xzgrep: incorrect parsing of filenames containing a semicolon
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20150518,repor...
: Security
Depends On:
Blocks: 1223342
  Show dependency treegraph
 
Reported: 2015-05-20 07:28 EDT by Martin Prpič
Modified: 2015-06-04 06:00 EDT (History)
3 users (show)

See Also:
Fixed In Version: xz 5.0.0, xz 5.2.0
Doc Type: Bug Fix
Doc Text:
It was discovered that the xzgrep's xz helper script did not properly sanitize certain file names. A local attacker could use this flaw to inject and execute arbitrary commands by tricking a user into running the xzgrep script on a file with a specially crafted file name.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Martin Prpič 2015-05-20 07:28:21 EDT
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
Comment 2 Stefan Cornelius 2015-06-03 03:11:00 EDT
Statement:

This issue affects the versions of xz as shipped with Red Hat Enterprise Linux 5 and 6. Red Hat Product Security has rated this issue as having Moderate security impact. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

Note You need to log in before you can comment on or make changes to this bug.