portage-ng / portage / app-shells / zsh / 5.9.2
portage-ng glsa
4 advisories reference app-shells/zsh · none place version 5.9.2 in a vulnerable range
▸ GLSA 202407-01 Zsh: Prompt Expansion Vulnerability this version unaffected normal local 2024-07-01

A vulnerability has been discovered in Zsh, which can lead to execution of arbitrary code.

Announced
2024-07-01
Revised
2024-07-01
Access
local
Bugs
#833252
Advisory
https://security.gentoo.org/glsa/202407-01

Affected packages

PackageArchVulnerableUnaffected
app-shells/zsh*< 5.8.1>= 5.8.1

Background

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

Description

Multiple vulnerabilities have been discovered in Zsh. Please review the CVE identifiers referenced below for details.

Impact

A vulnerability in prompt expansion could be exploited through e.g. VCS_Info to execute arbitrary shell commands without a user's knowledge.

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.8.1"

References

▸ GLSA 202003-55 Zsh: Privilege escalation this version unaffected normal local, remote 2020-03-25

A vulnerability in Zsh might allow an attacker to escalate privileges.

Announced
2020-03-25
Revised
2020-03-25
Access
local, remote
Bugs
#711136
Advisory
https://security.gentoo.org/glsa/202003-55

Affected packages

PackageArchVulnerableUnaffected
app-shells/zsh*< 5.8>= 5.8

Background

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

Description

It was discovered that Zsh was insecure dropping privileges when unsetting PRIVILEGED option.

Impact

An attacker could escalate privileges.

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.8"

References

▸ GLSA 201903-02 Zsh: User-assisted execution of arbitrary code this version unaffected normal local, remote 2019-03-10

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

Announced
2019-03-10
Revised
2019-03-10
Access
local, remote
Bugs
#665278
Advisory
https://security.gentoo.org/glsa/201903-02

Affected packages

PackageArchVulnerableUnaffected
app-shells/zsh*< 5.6>= 5.6

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

▸ GLSA 201805-10 Zsh: Multiple vulnerabilities this version unaffected normal local 2018-05-26

Multiple vulnerabilities have been found in Zsh, the worst of which could allow local attackers to execute arbitrary code.

Announced
2018-05-26
Revised
2018-05-26
Access
local
Bugs
#649614 #651860 #655708
Advisory
https://security.gentoo.org/glsa/201805-10

Affected packages

PackageArchVulnerableUnaffected
app-shells/zsh*< 5.5>= 5.5

Background

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

Description

Multiple vulnerabilities have been discovered in Zsh. Please review the CVE identifiers referenced below for details.

Impact

A local attacker could execute arbitrary code, escalate privileges, or cause a Denial of Service condition.

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.5"

References