CVE-2019-20044

Source
https://nvd.nist.gov/vuln/detail/CVE-2019-20044
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-20044.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-20044
Related
Published
2020-02-24T14:15:11Z
Modified
2024-12-05T15:20:37.946086Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

In Zsh before 5.8, attackers able to execute commands can regain privileges dropped by the --no-PRIVILEGED option. Zsh fails to overwrite the saved uid, so the original privileges can be restored by executing MODULE_PATH=/dir/with/module zmodload with a module that calls setuid().

References

Affected packages

Alpine:v3.12 / zsh

Package

Name
zsh
Purl
pkg:apk/alpine/zsh?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.8-r0

Affected versions

4.*

4.3.11-r1
4.3.12-r0
4.3.15-r0
4.3.16-r0
4.3.17-r0

5.*

5.0.0-r0
5.0.2-r0
5.0.2-r1
5.0.2-r2
5.0.4-r0
5.0.5-r0
5.0.6-r0
5.0.7-r0
5.0.8-r0
5.0.8-r1
5.1-r0
5.1.1-r0
5.1.1-r1
5.2-r0
5.2-r1
5.2-r2
5.2-r3
5.3.1-r0
5.4.1-r0
5.4.2-r0
5.4.2-r1
5.5-r0
5.5.1-r0
5.5.1-r1
5.6.2-r0
5.7.1-r0

Alpine:v3.13 / zsh

Package

Name
zsh
Purl
pkg:apk/alpine/zsh?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.8-r0

Affected versions

4.*

4.3.11-r1
4.3.12-r0
4.3.15-r0
4.3.16-r0
4.3.17-r0

5.*

5.0.0-r0
5.0.2-r0
5.0.2-r1
5.0.2-r2
5.0.4-r0
5.0.5-r0
5.0.6-r0
5.0.7-r0
5.0.8-r0
5.0.8-r1
5.1-r0
5.1.1-r0
5.1.1-r1
5.2-r0
5.2-r1
5.2-r2
5.2-r3
5.3.1-r0
5.4.1-r0
5.4.2-r0
5.4.2-r1
5.5-r0
5.5.1-r0
5.5.1-r1
5.6.2-r0
5.7.1-r0

Alpine:v3.14 / zsh

Package

Name
zsh
Purl
pkg:apk/alpine/zsh?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.8-r0

Affected versions

4.*

4.3.11-r1
4.3.12-r0
4.3.15-r0
4.3.16-r0
4.3.17-r0

5.*

5.0.0-r0
5.0.2-r0
5.0.2-r1
5.0.2-r2
5.0.4-r0
5.0.5-r0
5.0.6-r0
5.0.7-r0
5.0.8-r0
5.0.8-r1
5.1-r0
5.1.1-r0
5.1.1-r1
5.2-r0
5.2-r1
5.2-r2
5.2-r3
5.3.1-r0
5.4.1-r0
5.4.2-r0
5.4.2-r1
5.5-r0
5.5.1-r0
5.5.1-r1
5.6.2-r0
5.7.1-r0

Alpine:v3.15 / zsh

Package

Name
zsh
Purl
pkg:apk/alpine/zsh?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.8-r0

Affected versions

4.*

4.3.11-r1
4.3.12-r0
4.3.15-r0
4.3.16-r0
4.3.17-r0

5.*

5.0.0-r0
5.0.2-r0
5.0.2-r1
5.0.2-r2
5.0.4-r0
5.0.5-r0
5.0.6-r0
5.0.7-r0
5.0.8-r0
5.0.8-r1
5.1-r0
5.1.1-r0
5.1.1-r1
5.2-r0
5.2-r1
5.2-r2
5.2-r3
5.3.1-r0
5.4.1-r0
5.4.2-r0
5.4.2-r1
5.5-r0
5.5.1-r0
5.5.1-r1
5.6.2-r0
5.7.1-r0

Alpine:v3.16 / zsh

Package

Name
zsh
Purl
pkg:apk/alpine/zsh?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.8-r0

Affected versions

4.*

4.3.11-r1
4.3.12-r0
4.3.15-r0
4.3.16-r0
4.3.17-r0

5.*

5.0.0-r0
5.0.2-r0
5.0.2-r1
5.0.2-r2
5.0.4-r0
5.0.5-r0
5.0.6-r0
5.0.7-r0
5.0.8-r0
5.0.8-r1
5.1-r0
5.1.1-r0
5.1.1-r1
5.2-r0
5.2-r1
5.2-r2
5.2-r3
5.3.1-r0
5.4.1-r0
5.4.2-r0
5.4.2-r1
5.5-r0
5.5.1-r0
5.5.1-r1
5.6.2-r0
5.7.1-r0

Alpine:v3.17 / zsh

Package

Name
zsh
Purl
pkg:apk/alpine/zsh?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.8-r0

Affected versions

4.*

4.3.11-r1
4.3.12-r0
4.3.15-r0
4.3.16-r0
4.3.17-r0

5.*

5.0.0-r0
5.0.2-r0
5.0.2-r1
5.0.2-r2
5.0.4-r0
5.0.5-r0
5.0.6-r0
5.0.7-r0
5.0.8-r0
5.0.8-r1
5.1-r0
5.1.1-r0
5.1.1-r1
5.2-r0
5.2-r1
5.2-r2
5.2-r3
5.3.1-r0
5.4.1-r0
5.4.2-r0
5.4.2-r1
5.5-r0
5.5.1-r0
5.5.1-r1
5.6.2-r0
5.7.1-r0

Alpine:v3.18 / zsh

Package

Name
zsh
Purl
pkg:apk/alpine/zsh?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.8-r0

Affected versions

4.*

4.3.11-r1
4.3.12-r0
4.3.15-r0
4.3.16-r0
4.3.17-r0

5.*

5.0.0-r0
5.0.2-r0
5.0.2-r1
5.0.2-r2
5.0.4-r0
5.0.5-r0
5.0.6-r0
5.0.7-r0
5.0.8-r0
5.0.8-r1
5.1-r0
5.1.1-r0
5.1.1-r1
5.2-r0
5.2-r1
5.2-r2
5.2-r3
5.3.1-r0
5.4.1-r0
5.4.2-r0
5.4.2-r1
5.5-r0
5.5.1-r0
5.5.1-r1
5.6.2-r0
5.7.1-r0

Alpine:v3.19 / zsh

Package

Name
zsh
Purl
pkg:apk/alpine/zsh?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.8-r0

Affected versions

4.*

4.3.11-r1
4.3.12-r0
4.3.15-r0
4.3.16-r0
4.3.17-r0

5.*

5.0.0-r0
5.0.2-r0
5.0.2-r1
5.0.2-r2
5.0.4-r0
5.0.5-r0
5.0.6-r0
5.0.7-r0
5.0.8-r0
5.0.8-r1
5.1-r0
5.1.1-r0
5.1.1-r1
5.2-r0
5.2-r1
5.2-r2
5.2-r3
5.3.1-r0
5.4.1-r0
5.4.2-r0
5.4.2-r1
5.5-r0
5.5.1-r0
5.5.1-r1
5.6.2-r0
5.7.1-r0

Alpine:v3.20 / zsh

Package

Name
zsh
Purl
pkg:apk/alpine/zsh?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.8-r0

Affected versions

4.*

4.3.11-r1
4.3.12-r0
4.3.15-r0
4.3.16-r0
4.3.17-r0

5.*

5.0.0-r0
5.0.2-r0
5.0.2-r1
5.0.2-r2
5.0.4-r0
5.0.5-r0
5.0.6-r0
5.0.7-r0
5.0.8-r0
5.0.8-r1
5.1-r0
5.1.1-r0
5.1.1-r1
5.2-r0
5.2-r1
5.2-r2
5.2-r3
5.3.1-r0
5.4.1-r0
5.4.2-r0
5.4.2-r1
5.5-r0
5.5.1-r0
5.5.1-r1
5.6.2-r0
5.7.1-r0

Alpine:v3.21 / zsh

Package

Name
zsh
Purl
pkg:apk/alpine/zsh?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.8-r0

Affected versions

4.*

4.3.11-r1
4.3.12-r0
4.3.15-r0
4.3.16-r0
4.3.17-r0

5.*

5.0.0-r0
5.0.2-r0
5.0.2-r1
5.0.2-r2
5.0.4-r0
5.0.5-r0
5.0.6-r0
5.0.7-r0
5.0.8-r0
5.0.8-r1
5.1-r0
5.1.1-r0
5.1.1-r1
5.2-r0
5.2-r1
5.2-r2
5.2-r3
5.3.1-r0
5.4.1-r0
5.4.2-r0
5.4.2-r1
5.5-r0
5.5.1-r0
5.5.1-r1
5.6.2-r0
5.7.1-r0

Debian:11 / zsh

Package

Name
zsh
Purl
pkg:deb/debian/zsh?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.8-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / zsh

Package

Name
zsh
Purl
pkg:deb/debian/zsh?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.8-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / zsh

Package

Name
zsh
Purl
pkg:deb/debian/zsh?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.8-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/zsh-users/zsh

Affected ranges

Type
GIT
Repo
https://github.com/zsh-users/zsh
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

5.*

5.1.1-test-2
5.3.1-test-2
5.4
5.4.1

Other

post-opt-arg
pre-func-move
pre-opt-arg

zsg-4.*

zsg-4.1.1-test-2

zsh-3.*

zsh-3.1.6-dev-21
zsh-3.1.6-dev-22
zsh-3.1.7
zsh-3.1.7-pre-2
zsh-3.1.7-pre-3
zsh-3.1.7-pre-4
zsh-3.1.7-prep-1
zsh-3.1.8
zsh-3.1.9
zsh-3.1.9-dev-1
zsh-3.1.9-dev-2
zsh-3.1.9-dev-3
zsh-3.1.9-dev-4
zsh-3.1.9-dev-5
zsh-3.1.9-dev-6
zsh-3.1.9-dev-7
zsh-3.1.9-dev-8

zsh-4.*

zsh-4.0.1
zsh-4.0.1-pre-1
zsh-4.0.1-pre-3
zsh-4.0.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sh-5.0.7-dev-4
zsh-5.0.8
zsh-5.0.8-test-2
zsh-5.0.8-test-3
zsh-5.1
zsh-5.1-test-1
zsh-5.1.1
zsh-5.1.1-test-1
zsh-5.1.1-test-2
zsh-5.1.1-test-3
zsh-5.2
zsh-5.2-test-1
zsh-5.2-test-2
zsh-5.2-test-3
zsh-5.3
zsh-5.3.1
zsh-5.4
zsh-5.4.1
zsh-5.4.2
zsh-5.4.2-test-1
zsh-5.4.2-test-2
zsh-5.5
zsh-5.5.1
zsh-5.5.1-test-1
zsh-5.5.1-test-2
zsh-5.6
zsh-5.6.1
zsh-5.6.2
zsh-5.6.2-test-2
zsh-5.6.2-test-3
zsh-5.7
zsh-5.7.1
zsh-5.7.1-test-1
zsh-5.7.1-test-2
zsh-5.7.1-test-3