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 1549287 - (CVE-2014-10070) CVE-2014-10070 zsh: privilege escalation via environment variables
CVE-2014-10070 zsh: privilege escalation via environment variables
Status: CLOSED WONTFIX
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20180226,reported=2...
: Security
Depends On: 1549288 1549290
Blocks: 1549289
  Show dependency treegraph
 
Reported: 2018-02-26 16:47 EST by Pedro Sampaio
Modified: 2018-05-14 10:00 EDT (History)
6 users (show)

See Also:
Fixed In Version: zsh 5.0.7
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-03-13 13:07:51 EDT
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 Pedro Sampaio 2018-02-26 16:47:08 EST
Released in zsh 5.0.7 a security fix that disallow evaluation of the initial values of integer variables imported from the environment (they are instead treated as literal numbers). That could allow local privilege escalation, under some specific and atypical conditions where zsh is being invoked in privilege elevation contexts when the environment has not been properly sanitized, such as when zsh is invoked by sudo on systems where "env_reset" has been disabled.

Upstream patch:

https://sourceforge.net/p/zsh/code/ci/546203a770cec329e73781c3c8ab1078390aee72
Comment 1 Pedro Sampaio 2018-02-26 16:47:35 EST
Created zsh tracking bugs for this issue:

Affects: fedora-all [bug 1549288]
Comment 4 Richard Maciel Costa 2018-03-13 13:01:21 EDT
Mitigation:

Don't allow environment variables 'OPTIND' and 'TRY_BLOCK_ERROR' to be inherited by shells called through zsh.
Mitigated by default on Red Hat Enterprise Linux versions 5, 6 and 7, since this is the default configuration on those versions.
Comment 6 Andrej Nemec 2018-05-14 10:00:27 EDT
Statement:

Red Hat Product Security has rated this issue as having security impact of Low. This issue is not currently planned to be addressed in future updates. 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.