CVE-2018-1083

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-1083
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1083.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-1083
Related
Published
2018-03-28T13:29:00Z
Modified
2024-12-05T15:09:20.929569Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Zsh before version 5.4.2-test-1 is vulnerable to a buffer overflow in the shell autocomplete functionality. A local unprivileged user can create a specially crafted directory path which leads to code execution in the context of the user who tries to use autocomplete to traverse the before mentioned path. If the user affected is privileged, this leads to privilege escalation.

References

Affected packages

Alpine:v3.10 / 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.4.2-r1

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

Alpine:v3.11 / 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.4.2-r1

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

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.4.2-r1

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

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.4.2-r1

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

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.4.2-r1

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

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.4.2-r1

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

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.4.2-r1

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

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.4.2-r1

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

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.4.2-r1

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

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.4.2-r1

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

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.4.2-r1

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

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.4.2-r1

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

Alpine:v3.4 / 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.2-r2

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

Alpine:v3.5 / 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.2-r4

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

Alpine:v3.6 / 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.3.1-r1

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

Alpine:v3.7 / 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.4.2-r1

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

Alpine:v3.8 / 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.4.2-r1

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

Alpine:v3.9 / 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.4.2-r1

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

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.4.2-4

Ecosystem specific

{
    "urgency": "low"
}

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.4.2-4

Ecosystem specific

{
    "urgency": "low"
}

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.4.2-4

Ecosystem specific

{
    "urgency": "low"
}

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
Last affected

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