Lucene search

K
cvelistCanonicalCVELIST:CVE-2019-15792
HistoryNov 12, 2019 - 12:00 a.m.

CVE-2019-15792 Type confusion in shiftfs

2019-11-1200:00:00
CWE-843
canonical
www.cve.org
7

CVSS3

7.1

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

AI Score

8.3

Confidence

High

EPSS

0

Percentile

15.7%

In shiftfs, a non-upstream patch to the Linux kernel included in the Ubuntu 5.0 and 5.3 kernel series, shiftfs_btrfs_ioctl_fd_replace() calls fdget(oldfd), then without further checks passes the resulting file* into shiftfs_real_fdget(), which casts file->private_data, a void* that points to a filesystem-dependent type, to a “struct shiftfs_file_info *”. As the private_data is not required to be a pointer, an attacker can use this to cause a denial of service or possibly execute arbitrary code.

CNA Affected

[
  {
    "product": "Shiftfs in the Linux kernel",
    "vendor": "Ubuntu",
    "versions": [
      {
        "changes": [
          {
            "at": "5.3.0-22.24",
            "status": "unaffected"
          }
        ],
        "lessThan": "5.3 kernel*",
        "status": "affected",
        "version": "5.3.0-11.12",
        "versionType": "custom"
      },
      {
        "lessThan": "5.0.0-35.38",
        "status": "affected",
        "version": "5.0 kernel",
        "versionType": "custom"
      }
    ]
  }
]

CVSS3

7.1

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

AI Score

8.3

Confidence

High

EPSS

0

Percentile

15.7%