Linux Security
    Linux Security
    Linux Security

    ArchLinux: 201804-5: zsh: arbitrary code execution

    Date 15 Apr 2018
    1820
    Posted By Anthony Pell
    The package zsh before version 5.5-1 is vulnerable to arbitrary code execution.
    Arch Linux Security Advisory ASA-201804-5
    =========================================
    
    Severity: High
    Date    : 2018-04-11
    CVE-ID  : CVE-2018-1100
    Package : zsh
    Type    : arbitrary code execution
    Remote  : No
    Link    : https://security.archlinux.org/AVG-669
    
    Summary
    =======
    
    The package zsh before version 5.5-1 is vulnerable to arbitrary code
    execution.
    
    Resolution
    ==========
    
    Upgrade to 5.5-1.
    
    # pacman -Syu "zsh>=5.5-1"
    
    The problem has been fixed upstream in version 5.5.
    
    Workaround
    ==========
    
    None.
    
    Description
    ===========
    
    A stack-based buffer overflow has been found in zsh <= 5.4.2, in the
    checkmailpath() function, where unchecked strings from the MAILCHECK
    variable are copied to a buffer.  A local, unprivileged user can create
    a specially crafted message file, which, if used to set a custom "you
    have new mail" message, leads to code execution in the context of the
    user who receives the message. If the user affected is privileged, this
    leads to privilege escalation.
    
    Impact
    ======
    
    A local attacker might be able to execute arbitrary code in the context
    of another user.
    
    References
    ==========
    
    https://www.zsh.org/mla/workers/2018/msg00411.html
    https://sourceforge.net/p/zsh/code/ci/31f72205630687c1cef89347863aab355296a27f/
    https://security.archlinux.org/CVE-2018-1100
    
    

    LinuxSecurity Poll

    'Tis the season of giving! How have you given back to the open-source community?

    No answer selected. Please try again.
    Please select either existing option or enter your own, however not both.
    Please select minimum 0 answer(s) and maximum 3 answer(s).
    /main-polls/49-tis-the-season-of-giving-how-have-you-given-back-to-the-open-source-community?task=poll.vote&format=json
    49
    radio
    [{"id":"171","title":"I've contributed to the development of an open-source project.","votes":"22","type":"x","order":"1","pct":34.92,"resources":[]},{"id":"172","title":"I've reviewed open-source code for security bugs.","votes":"13","type":"x","order":"2","pct":20.63,"resources":[]},{"id":"173","title":"I've made a donation to an open-source project.","votes":"28","type":"x","order":"3","pct":44.44,"resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] ["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"] 350

    Please vote first in order to view vote results.


    VIEW MORE POLLS

    bottom 200

    Please enable / Bitte aktiviere JavaScript!
    Veuillez activer / Por favor activa el Javascript![ ? ]

    We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.