Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 201903-02 ] Zsh
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message
GLSA
Advocate
Advocate


Joined: 12 May 2004
Posts: 2226

PostPosted: Sun Mar 10, 2019 3:26 am    Post subject: [ GLSA 201903-02 ] Zsh Reply with quote

Gentoo Linux Security Advisory

Title: Zsh: User-assisted execution of arbitrary code (GLSA 201903-02)
Severity: normal
Exploitable: local, remote
Date: 2019-03-10
Bug(s): #665278
ID: 201903-02

Synopsis

Input validation errors in Zsh could result in arbitrary code
execution.


Background

A shell designed for interactive use, although it is also a powerful
scripting language.


Affected Packages

Package: app-shells/zsh
Vulnerable: < 5.6
Unaffected: >= 5.6
Architectures: All supported architectures


Description

Two input validation errors have been discovered in how Zsh parses
scripts:
  • Parsing a malformed shebang line could cause Zsh to call a program
    listed in the second line (CVE-2018-0502)
  • Shebang lines longer than 64 characters are truncated
    (CVE-2018-13259)


Impact

An attacker could entice a user to execute a specially crafted script
using Zsh, possibly resulting in execution of arbitrary code with the
privileges of the process.


Workaround

There is no known workaround at this time.

Resolution

All Zsh users should upgrade to the latest version:
Code:
# emerge --sync
      # emerge --ask --oneshot --verbose ">=app-shells/zsh-5.6"
   


References

CVE-2018-0502
CVE-2018-13259
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum