SB2022031443 - SUSE update for zsh
Published: March 14, 2022
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 12 secuirty vulnerabilities.
1) Privilege escalation (CVE-ID: CVE-2014-10070)
The vulnerability allows a local attacker to gain elevated privileges on the target system.The weakness exists due to improper security restrictions when initial evaluating the values of imported integer variables. A local attacker can gain elevated privileges.
2) Buffer overflow (CVE-ID: CVE-2014-10071)
The vulnerability allows a local attacker to cause DoS condition on the target system.The weakness exists in the exec.c source code file due to buffer overflow. A local attacker can send long file descriptors (fds), in the >& fd syntax, trigger memory corruption and cause the service to crash.
3) Buffer overflow (CVE-ID: CVE-2014-10072)
The vulnerability allows a local unauthenticated attacker to cause DoS condition on the target system.The weakness exists in the utils.c source code file due to buffer overflow. A local attacker can trigger memory corruption and cause the service to crash.
4) Off-by-one error (CVE-ID: CVE-2016-10714)
The vulnerability allows a local unauthenticated attacker to cause DoS condition on the target system.The weakness exists due to an off-by-one error. A local attacker can use undersized buffers for PATH_MAX characters and cause the service to crash.
5) NULL pointer dereference (CVE-ID: CVE-2017-18205)
The vulnerability allows a local unauthenticated attacker to cause DoS condition on the target system.The weakness exists due to a NULL pointer dereference when processing a cd command while in sh compatibility mode. A local attacker can cause the service to crash.
6) Buffer overflow (CVE-ID: CVE-2017-18206)
The vulnerability allows a local attacker to cause DoS condition on the target system.The weakness exists in the utils.c source code file due to insufficient checks on buffer lengths for symlink expansion. A local attacker can send specially crafted input, trigger memory corruption and cause the service to crash.
7) Authorization bypass (CVE-ID: CVE-2018-0502)
The vulnerability allows a local attacker to execute a program without proper authorization on the target system.
The vulnerability exists due to improper handling of the beginning of a shebang (#!) script file. A local attacker can execute a shebang script file that submits malicious input, pass content from the second line of the file to execve() and execute a program without proper authorization on the system.
8) Stack-based buffer overflow (CVE-ID: CVE-2018-1071)
The vulnerability allows a local attacker to cause DOS condition on the target system.The weakness exists in the exec.c:hashcmd() function due to stack-based buffer overflow. A local attacker can trigger memory corruption and cause the service to crash.
9) Buffer overflow (CVE-ID: CVE-2018-1083)
The vulnerability allows a local attacker to gain elevated privileges on the target system.The weakness exists in the compctl.c source code file due to insufficient bounds checking on the PATH_MAX-sized buffer used for file completion candidates. A local attacker can create a malicious directory path, trick the victim into using the autocomplete functionality to traverse the path, trigger buffer overflow and execute arbitrary code with root privileges.
Successful exploitation of the vulnerability may result in system compromise.
10) Authorization bypass (CVE-ID: CVE-2018-13259)
The vulnerability allows a local attacker to execute a program without proper authorization on the target system.
The vulnerability exists due to improper truncating of shebang (#!) lines that exceed 64 characters. A local attacker can access the shell and submit a shebang line longer than 64 characters, cause the software to make an execve() call to a program name that is a substring of the intended one and execute a program without proper authorization on the system.
11) Improper input validation (CVE-ID: CVE-2018-7549)
The vulnerability allows a local attacker to cause DoS condition on the target system.The weakness exists in the params.c source code file due to improper handling of hash tables. A local attacker can copy an empty hash table with the typeset -p command and cause the service to crash.
12) Improper Check for Dropped Privileges (CVE-ID: CVE-2019-20044)
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to Zsh fails to overwrite the saved uid, so the original privileges, dropped by the --no-PRIVILEGED option, can be restored by
executing MODULE_PATH=/dir/with/module zmodload with a module that calls
setuid(). A local user can execute arbitrary commands on the system with elevated privileges.
Remediation
Install update from vendor's website.