Back to CVE catalog
CVE-2017-5669

Unrestricted address calculation in do_shmat in Linux kernel

Multiple products

At a glance

The do_shmat function in ipc/shm.c in the Linux kernel through 4.9.12 does not restrict the address calculated by a certain rounding operation, which allows local users to map page zero, and consequently bypass a protection mechanism that exists for the mmap system call, by making crafted shmget and shmat system calls in a privileged context.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS summary v3.1

7.8High
Published:
Updated:
EPSS:
0.4%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Local

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:Debiandebian linuxAffected versions:
8.0Show full version range for debian linux
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:Canonicalubuntu linuxAffected versions:
12.04Show full version range for ubuntu linux
14.04
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:linuxlinux kernelAffected versions:
< 4.11Show full version range for linux kernel
  • CPE applicability can depend on other products or environments. Consult the full source configuration.

1–3 of 3 · Page 1 of 1

CVSS scores and metrics3
[email protected] · NVD (Primary)Primary7.8 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

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

Source vector

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

Source vector

AV:L/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