Back to CVE catalog
CVE-2018-0502

Mishandling of beginning of #! script file in zsh

Not specified zsh before 5.6

At a glance

An issue was discovered in zsh before 5.6. The beginning of a #! script file was mishandled, potentially leading to an execve call to a program named on the second line.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS summary v3.0

9.8Critical
Published:
Updated:
EPSS:
2.487%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:Not specifiedzsh before 5.6Affected versions:
zsh before 5.6
Vendor:SUSEHPE Helion OpenStack 8Affected versions:Source does not specify a version range
Vendor:SUSESUSE Enterprise Storage 6Affected versions:Source does not specify a version range
Vendor:SUSESUSE Enterprise Storage 7Affected versions:Source does not specify a version range
Vendor:SUSESUSE Enterprise Storage 7.1Affected versions:Source does not specify a version range
Vendor:SUSESUSE Linux Enterprise Desktop 15Affected versions:Source does not specify a version range
Vendor:SUSESUSE Linux Enterprise Desktop 15 SP1Affected versions:Source does not specify a version range
Vendor:SUSESUSE Linux Enterprise Desktop 15 SP2Affected versions:Source does not specify a version range
Vendor:SUSESUSE Linux Enterprise Desktop 15 SP3Affected versions:Source does not specify a version range
Vendor:SUSESUSE Linux Enterprise Desktop 15 SP4Affected versions:Source does not specify a version range

1–10 of 32 · Page 1 of 4

CVSS scores and metrics5
[email protected] · NVD (Primary)Primary9.8 / 10CriticalCVSS 3.0Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVE-2018-0502 · OSV (source-vector)9.8 / 10CriticalCVSS 3.0Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat · Red Hat VEX (adp)5.3 / 10MediumCVSS 3.0Details
Attack complexity
Low
Confidentiality
Low
Integrity
Low
Availability
Low
Attack vector
Local
Privileges required
Not required
User interaction
Required
Scope
Unchanged

Source vector

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
SUSE · SUSE VEX (adp)7.3 / 10HighCVSS 3.0Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Required
Scope
Unchanged

Source vector

CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
[email protected] · NVD (Primary)7.5 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories12

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences