Executive Summary

Summary
Title Zsh: User-assisted execution of arbitrary code
Informations
Name GLSA-201903-02 First vendor Publication 2019-03-10
Vendor Gentoo Last vendor Modification 2019-03-10
Severity (Vendor) N/A Revision N/A

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:L/Au:N/C:P/I:P/A:P)
Cvss Base Score 7.5 Attack Range Network
Cvss Impact Score 6.4 Attack Complexity Low
Cvss Expoit Score 10 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

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.

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:
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-shells/zsh-5.6"

References

[ 1 ] CVE-2018-0502 : https://nvd.nist.gov/vuln/detail/CVE-2018-0502
[ 2 ] CVE-2018-13259 : https://nvd.nist.gov/vuln/detail/CVE-2018-13259

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website:

https://security.gentoo.org/glsa/201903-02

Original Source

Url : http://security.gentoo.org/glsa/glsa-201903-02.xml

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-20 Improper Input Validation

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 186
Os 3

Nessus® Vulnerability Scanner

Date Description
2019-01-03 Name : The remote Fedora host is missing a security update.
File : fedora_2018-16bb8b00c5.nasl - Type : ACT_GATHER_INFO
2019-01-03 Name : The remote Fedora host is missing a security update.
File : fedora_2018-5ad8e216d2.nasl - Type : ACT_GATHER_INFO
2018-10-11 Name : The remote Amazon Linux 2 host is missing a security update.
File : al2_ALAS-2018-1089.nasl - Type : ACT_GATHER_INFO
2018-09-17 Name : The remote Fedora host is missing a security update.
File : fedora_2018-8b1b2373b4.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
Date Informations
2019-03-10 05:18:44
  • First insertion