Search

Find a vulnerability

Search criteria Use this form to refine search results.
Full-text search supports keyword queries with ranking and filtering.
You can combine vendor, product, and sources to narrow results.
Enable “Apply ordering” to sort by date instead of relevance.

    6 vulnerabilities found for Shiftfs in the Linux kernel by Ubuntu

    CVE-2019-15793 (GCVE-0-2019-15793)

    Vulnerability from cvelistv5 – Published: 2020-04-23 23:55 – Updated: 2024-09-16 16:58
    VLAI
    Title
    Mishandling of file-system uid/gid with namespaces in shiftfs
    Summary
    In shiftfs, a non-upstream patch to the Linux kernel included in the Ubuntu 5.0 and 5.3 kernel series, several locations which shift ids translate user/group ids before performing operations in the lower filesystem were translating them into init_user_ns, whereas they should have been translated into the s_user_ns for the lower filesystem. This resulted in using ids other than the intended ones in the lower fs, which likely did not map into the shifts s_user_ns. A local attacker could use this to possibly bypass discretionary access control permissions.
    CWE
    • CWE-538 - File and Directory Information Exposure
    Assigner
    References
    Impacted products
    Vendor Product Version
    Ubuntu Shiftfs in the Linux kernel Affected: 5.3.0-11.12 , < 5.3 kernel* (custom)
    Affected: 5.0 kernel , < 5.0.0-35.38 (custom)
    Create a notification for this product.
    Date Public
    2019-11-12 00:00
    Credits
    Jann Horn of Google Project Zero
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-05T00:56:22.425Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://usn.ubuntu.com/usn/usn-4183-1"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://usn.ubuntu.com/usn/usn-4184-1"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=3644b9d5688da86f18e017c9c580b75cf52927bb"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "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"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "value": "Jann Horn of Google Project Zero"
            }
          ],
          "datePublic": "2019-11-12T00:00:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "In shiftfs, a non-upstream patch to the Linux kernel included in the Ubuntu 5.0 and 5.3 kernel series, several locations which shift ids translate user/group ids before performing operations in the lower filesystem were translating them into init_user_ns, whereas they should have been translated into the s_user_ns for the lower filesystem. This resulted in using ids other than the intended ones in the lower fs, which likely did not map into the shifts s_user_ns. A local attacker could use this to possibly bypass discretionary access control permissions."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "NONE",
                "baseScore": 6.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "NONE",
                "privilegesRequired": "LOW",
                "scope": "CHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-538",
                  "description": "CWE-538 File and Directory Information Exposure",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2020-04-23T23:55:24.000Z",
            "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
            "shortName": "canonical"
          },
          "references": [
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://usn.ubuntu.com/usn/usn-4183-1"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://usn.ubuntu.com/usn/usn-4184-1"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=3644b9d5688da86f18e017c9c580b75cf52927bb"
            }
          ],
          "source": {
            "defect": [
              "https://bugs.launchpad.net/bugs/1850867"
            ],
            "discovery": "EXTERNAL"
          },
          "title": "Mishandling of file-system uid/gid with namespaces in shiftfs",
          "x_generator": {
            "engine": "Vulnogram 0.0.9"
          },
          "x_legacyV4Record": {
            "CVE_data_meta": {
              "ASSIGNER": "security@ubuntu.com",
              "DATE_PUBLIC": "2019-11-12 18:00:00 UTC",
              "ID": "CVE-2019-15793",
              "STATE": "PUBLIC",
              "TITLE": "Mishandling of file-system uid/gid with namespaces in shiftfs"
            },
            "affects": {
              "vendor": {
                "vendor_data": [
                  {
                    "product": {
                      "product_data": [
                        {
                          "product_name": "Shiftfs in the Linux kernel",
                          "version": {
                            "version_data": [
                              {
                                "version_affected": "\u003e=",
                                "version_name": "5.3 kernel",
                                "version_value": "5.3.0-11.12"
                              },
                              {
                                "version_affected": "\u003c",
                                "version_name": "5.3 kernel",
                                "version_value": "5.3.0-22.24"
                              },
                              {
                                "version_affected": "\u003c",
                                "version_name": "5.0 kernel",
                                "version_value": "5.0.0-35.38"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    "vendor_name": "Ubuntu"
                  }
                ]
              }
            },
            "credit": [
              {
                "lang": "eng",
                "value": "Jann Horn of Google Project Zero"
              }
            ],
            "data_format": "MITRE",
            "data_type": "CVE",
            "data_version": "4.0",
            "description": {
              "description_data": [
                {
                  "lang": "eng",
                  "value": "In shiftfs, a non-upstream patch to the Linux kernel included in the Ubuntu 5.0 and 5.3 kernel series, several locations which shift ids translate user/group ids before performing operations in the lower filesystem were translating them into init_user_ns, whereas they should have been translated into the s_user_ns for the lower filesystem. This resulted in using ids other than the intended ones in the lower fs, which likely did not map into the shifts s_user_ns. A local attacker could use this to possibly bypass discretionary access control permissions."
                }
              ]
            },
            "generator": {
              "engine": "Vulnogram 0.0.9"
            },
            "impact": {
              "cvss": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "NONE",
                "baseScore": 6.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "NONE",
                "privilegesRequired": "LOW",
                "scope": "CHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N",
                "version": "3.1"
              }
            },
            "problemtype": {
              "problemtype_data": [
                {
                  "description": [
                    {
                      "lang": "eng",
                      "value": "CWE-538 File and Directory Information Exposure"
                    }
                  ]
                }
              ]
            },
            "references": {
              "reference_data": [
                {
                  "name": "https://usn.ubuntu.com/usn/usn-4183-1",
                  "refsource": "MISC",
                  "url": "https://usn.ubuntu.com/usn/usn-4183-1"
                },
                {
                  "name": "https://usn.ubuntu.com/usn/usn-4184-1",
                  "refsource": "MISC",
                  "url": "https://usn.ubuntu.com/usn/usn-4184-1"
                },
                {
                  "name": "https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=3644b9d5688da86f18e017c9c580b75cf52927bb",
                  "refsource": "MISC",
                  "url": "https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=3644b9d5688da86f18e017c9c580b75cf52927bb"
                }
              ]
            },
            "source": {
              "defect": [
                "https://bugs.launchpad.net/bugs/1850867"
              ],
              "discovery": "EXTERNAL"
            }
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "assignerShortName": "canonical",
        "cveId": "CVE-2019-15793",
        "datePublished": "2020-04-23T23:55:24.581Z",
        "dateReserved": "2019-08-29T00:00:00.000Z",
        "dateUpdated": "2024-09-16T16:58:57.384Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2019-15792 (GCVE-0-2019-15792)

    Vulnerability from cvelistv5 – Published: 2020-04-23 23:55 – Updated: 2024-09-16 23:41
    VLAI
    Title
    Type confusion in shiftfs
    Summary
    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.
    CWE
    • CWE-843 - Access of Resource Using Incompatible Type ('Type Confusion')
    Assigner
    References
    Impacted products
    Vendor Product Version
    Ubuntu Shiftfs in the Linux kernel Affected: 5.3.0-11.12 , < 5.3 kernel* (custom)
    Affected: 5.0 kernel , < 5.0.0-35.38 (custom)
    Create a notification for this product.
    Date Public
    2019-11-12 00:00
    Credits
    Jann Horn of Google Project Zero
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-05T00:56:22.476Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://usn.ubuntu.com/usn/usn-4183-1"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://usn.ubuntu.com/usn/usn-4184-1"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=5df147c8140efc71ac0879ae3b0057f577226d4c"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "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"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "value": "Jann Horn of Google Project Zero"
            }
          ],
          "datePublic": "2019-11-12T00:00:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "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-\u003eprivate_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."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.1,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "NONE",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-843",
                  "description": "CWE-843 Access of Resource Using Incompatible Type (\u0027Type Confusion\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2020-04-23T23:55:24.000Z",
            "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
            "shortName": "canonical"
          },
          "references": [
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://usn.ubuntu.com/usn/usn-4183-1"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://usn.ubuntu.com/usn/usn-4184-1"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=5df147c8140efc71ac0879ae3b0057f577226d4c"
            }
          ],
          "source": {
            "defect": [
              "https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1850867"
            ],
            "discovery": "EXTERNAL"
          },
          "title": "Type confusion in shiftfs",
          "x_generator": {
            "engine": "Vulnogram 0.0.9"
          },
          "x_legacyV4Record": {
            "CVE_data_meta": {
              "ASSIGNER": "security@ubuntu.com",
              "DATE_PUBLIC": "2019-11-12 18:00:00 UTC",
              "ID": "CVE-2019-15792",
              "STATE": "PUBLIC",
              "TITLE": "Type confusion in shiftfs"
            },
            "affects": {
              "vendor": {
                "vendor_data": [
                  {
                    "product": {
                      "product_data": [
                        {
                          "product_name": "Shiftfs in the Linux kernel",
                          "version": {
                            "version_data": [
                              {
                                "version_affected": "\u003e=",
                                "version_name": "5.3 kernel",
                                "version_value": "5.3.0-11.12"
                              },
                              {
                                "version_affected": "\u003c",
                                "version_name": "5.3 kernel",
                                "version_value": "5.3.0-22.24"
                              },
                              {
                                "version_affected": "\u003c",
                                "version_name": "5.0 kernel",
                                "version_value": "5.0.0-35.38"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    "vendor_name": "Ubuntu"
                  }
                ]
              }
            },
            "credit": [
              {
                "lang": "eng",
                "value": "Jann Horn of Google Project Zero"
              }
            ],
            "data_format": "MITRE",
            "data_type": "CVE",
            "data_version": "4.0",
            "description": {
              "description_data": [
                {
                  "lang": "eng",
                  "value": "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-\u003eprivate_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."
                }
              ]
            },
            "generator": {
              "engine": "Vulnogram 0.0.9"
            },
            "impact": {
              "cvss": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.1,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "NONE",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H",
                "version": "3.1"
              }
            },
            "problemtype": {
              "problemtype_data": [
                {
                  "description": [
                    {
                      "lang": "eng",
                      "value": "CWE-843 Access of Resource Using Incompatible Type (\u0027Type Confusion\u0027)"
                    }
                  ]
                }
              ]
            },
            "references": {
              "reference_data": [
                {
                  "name": "https://usn.ubuntu.com/usn/usn-4183-1",
                  "refsource": "MISC",
                  "url": "https://usn.ubuntu.com/usn/usn-4183-1"
                },
                {
                  "name": "https://usn.ubuntu.com/usn/usn-4184-1",
                  "refsource": "MISC",
                  "url": "https://usn.ubuntu.com/usn/usn-4184-1"
                },
                {
                  "name": "https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=5df147c8140efc71ac0879ae3b0057f577226d4c",
                  "refsource": "MISC",
                  "url": "https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=5df147c8140efc71ac0879ae3b0057f577226d4c"
                }
              ]
            },
            "source": {
              "defect": [
                "https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1850867"
              ],
              "discovery": "EXTERNAL"
            }
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "assignerShortName": "canonical",
        "cveId": "CVE-2019-15792",
        "datePublished": "2020-04-23T23:55:24.126Z",
        "dateReserved": "2019-08-29T00:00:00.000Z",
        "dateUpdated": "2024-09-16T23:41:36.466Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2019-15791 (GCVE-0-2019-15791)

    Vulnerability from cvelistv5 – Published: 2020-04-23 23:55 – Updated: 2024-09-17 00:11
    VLAI
    Title
    Reference count underflow in shiftfs
    Summary
    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() installs an fd referencing a file from the lower filesystem without taking an additional reference to that file. After the btrfs ioctl completes this fd is closed, which then puts a reference to that file, leading to a refcount underflow.
    CWE
    • CWE-672 - Operation on a Resource after Expiration or Release
    Assigner
    References
    Impacted products
    Vendor Product Version
    Ubuntu Shiftfs in the Linux kernel Affected: 5.3.0-11.12 , < 5.3 kernel* (custom)
    Affected: 5.0 kernel , < 5.0.0-35.38 (custom)
    Create a notification for this product.
    Date Public
    2019-11-12 00:00
    Credits
    Jann Horn of Google Project Zero
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-05T00:56:22.393Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://usn.ubuntu.com/usn/usn-4183-1"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://usn.ubuntu.com/usn/usn-4184-1"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=601a64857b3d7040ca15c39c929e6b9db3373ec1"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "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"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "value": "Jann Horn of Google Project Zero"
            }
          ],
          "datePublic": "2019-11-12T00:00:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "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() installs an fd referencing a file from the lower filesystem without taking an additional reference to that file. After the btrfs ioctl completes this fd is closed, which then puts a reference to that file, leading to a refcount underflow."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.1,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "NONE",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-672",
                  "description": "CWE-672 Operation on a Resource after Expiration or Release",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2020-04-23T23:55:23.000Z",
            "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
            "shortName": "canonical"
          },
          "references": [
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://usn.ubuntu.com/usn/usn-4183-1"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://usn.ubuntu.com/usn/usn-4184-1"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=601a64857b3d7040ca15c39c929e6b9db3373ec1"
            }
          ],
          "source": {
            "defect": [
              "https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1850867"
            ],
            "discovery": "EXTERNAL"
          },
          "title": "Reference count underflow in shiftfs",
          "x_generator": {
            "engine": "Vulnogram 0.0.9"
          },
          "x_legacyV4Record": {
            "CVE_data_meta": {
              "ASSIGNER": "security@ubuntu.com",
              "DATE_PUBLIC": "2019-11-12 18:00:00 UTC",
              "ID": "CVE-2019-15791",
              "STATE": "PUBLIC",
              "TITLE": "Reference count underflow in shiftfs"
            },
            "affects": {
              "vendor": {
                "vendor_data": [
                  {
                    "product": {
                      "product_data": [
                        {
                          "product_name": "Shiftfs in the Linux kernel",
                          "version": {
                            "version_data": [
                              {
                                "version_affected": "\u003e=",
                                "version_name": "5.3 kernel",
                                "version_value": "5.3.0-11.12"
                              },
                              {
                                "version_affected": "\u003c",
                                "version_name": "5.3 kernel",
                                "version_value": "5.3.0-22.24"
                              },
                              {
                                "version_affected": "\u003c",
                                "version_name": "5.0 kernel",
                                "version_value": "5.0.0-35.38"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    "vendor_name": "Ubuntu"
                  }
                ]
              }
            },
            "credit": [
              {
                "lang": "eng",
                "value": "Jann Horn of Google Project Zero"
              }
            ],
            "data_format": "MITRE",
            "data_type": "CVE",
            "data_version": "4.0",
            "description": {
              "description_data": [
                {
                  "lang": "eng",
                  "value": "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() installs an fd referencing a file from the lower filesystem without taking an additional reference to that file. After the btrfs ioctl completes this fd is closed, which then puts a reference to that file, leading to a refcount underflow."
                }
              ]
            },
            "generator": {
              "engine": "Vulnogram 0.0.9"
            },
            "impact": {
              "cvss": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.1,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "NONE",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H",
                "version": "3.1"
              }
            },
            "problemtype": {
              "problemtype_data": [
                {
                  "description": [
                    {
                      "lang": "eng",
                      "value": "CWE-672 Operation on a Resource after Expiration or Release"
                    }
                  ]
                }
              ]
            },
            "references": {
              "reference_data": [
                {
                  "name": "https://usn.ubuntu.com/usn/usn-4183-1",
                  "refsource": "MISC",
                  "url": "https://usn.ubuntu.com/usn/usn-4183-1"
                },
                {
                  "name": "https://usn.ubuntu.com/usn/usn-4184-1",
                  "refsource": "MISC",
                  "url": "https://usn.ubuntu.com/usn/usn-4184-1"
                },
                {
                  "name": "https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=601a64857b3d7040ca15c39c929e6b9db3373ec1",
                  "refsource": "MISC",
                  "url": "https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=601a64857b3d7040ca15c39c929e6b9db3373ec1"
                }
              ]
            },
            "source": {
              "defect": [
                "https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1850867"
              ],
              "discovery": "EXTERNAL"
            }
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "assignerShortName": "canonical",
        "cveId": "CVE-2019-15791",
        "datePublished": "2020-04-23T23:55:23.619Z",
        "dateReserved": "2019-08-29T00:00:00.000Z",
        "dateUpdated": "2024-09-17T00:11:12.912Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2019-15793 (GCVE-0-2019-15793)

    Vulnerability from nvd – Published: 2020-04-23 23:55 – Updated: 2024-09-16 16:58
    VLAI
    Title
    Mishandling of file-system uid/gid with namespaces in shiftfs
    Summary
    In shiftfs, a non-upstream patch to the Linux kernel included in the Ubuntu 5.0 and 5.3 kernel series, several locations which shift ids translate user/group ids before performing operations in the lower filesystem were translating them into init_user_ns, whereas they should have been translated into the s_user_ns for the lower filesystem. This resulted in using ids other than the intended ones in the lower fs, which likely did not map into the shifts s_user_ns. A local attacker could use this to possibly bypass discretionary access control permissions.
    CWE
    • CWE-538 - File and Directory Information Exposure
    Assigner
    References
    Impacted products
    Vendor Product Version
    Ubuntu Shiftfs in the Linux kernel Affected: 5.3.0-11.12 , < 5.3 kernel* (custom)
    Affected: 5.0 kernel , < 5.0.0-35.38 (custom)
    Create a notification for this product.
    Date Public
    2019-11-12 00:00
    Credits
    Jann Horn of Google Project Zero
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-05T00:56:22.425Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://usn.ubuntu.com/usn/usn-4183-1"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://usn.ubuntu.com/usn/usn-4184-1"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=3644b9d5688da86f18e017c9c580b75cf52927bb"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "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"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "value": "Jann Horn of Google Project Zero"
            }
          ],
          "datePublic": "2019-11-12T00:00:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "In shiftfs, a non-upstream patch to the Linux kernel included in the Ubuntu 5.0 and 5.3 kernel series, several locations which shift ids translate user/group ids before performing operations in the lower filesystem were translating them into init_user_ns, whereas they should have been translated into the s_user_ns for the lower filesystem. This resulted in using ids other than the intended ones in the lower fs, which likely did not map into the shifts s_user_ns. A local attacker could use this to possibly bypass discretionary access control permissions."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "NONE",
                "baseScore": 6.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "NONE",
                "privilegesRequired": "LOW",
                "scope": "CHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-538",
                  "description": "CWE-538 File and Directory Information Exposure",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2020-04-23T23:55:24.000Z",
            "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
            "shortName": "canonical"
          },
          "references": [
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://usn.ubuntu.com/usn/usn-4183-1"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://usn.ubuntu.com/usn/usn-4184-1"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=3644b9d5688da86f18e017c9c580b75cf52927bb"
            }
          ],
          "source": {
            "defect": [
              "https://bugs.launchpad.net/bugs/1850867"
            ],
            "discovery": "EXTERNAL"
          },
          "title": "Mishandling of file-system uid/gid with namespaces in shiftfs",
          "x_generator": {
            "engine": "Vulnogram 0.0.9"
          },
          "x_legacyV4Record": {
            "CVE_data_meta": {
              "ASSIGNER": "security@ubuntu.com",
              "DATE_PUBLIC": "2019-11-12 18:00:00 UTC",
              "ID": "CVE-2019-15793",
              "STATE": "PUBLIC",
              "TITLE": "Mishandling of file-system uid/gid with namespaces in shiftfs"
            },
            "affects": {
              "vendor": {
                "vendor_data": [
                  {
                    "product": {
                      "product_data": [
                        {
                          "product_name": "Shiftfs in the Linux kernel",
                          "version": {
                            "version_data": [
                              {
                                "version_affected": "\u003e=",
                                "version_name": "5.3 kernel",
                                "version_value": "5.3.0-11.12"
                              },
                              {
                                "version_affected": "\u003c",
                                "version_name": "5.3 kernel",
                                "version_value": "5.3.0-22.24"
                              },
                              {
                                "version_affected": "\u003c",
                                "version_name": "5.0 kernel",
                                "version_value": "5.0.0-35.38"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    "vendor_name": "Ubuntu"
                  }
                ]
              }
            },
            "credit": [
              {
                "lang": "eng",
                "value": "Jann Horn of Google Project Zero"
              }
            ],
            "data_format": "MITRE",
            "data_type": "CVE",
            "data_version": "4.0",
            "description": {
              "description_data": [
                {
                  "lang": "eng",
                  "value": "In shiftfs, a non-upstream patch to the Linux kernel included in the Ubuntu 5.0 and 5.3 kernel series, several locations which shift ids translate user/group ids before performing operations in the lower filesystem were translating them into init_user_ns, whereas they should have been translated into the s_user_ns for the lower filesystem. This resulted in using ids other than the intended ones in the lower fs, which likely did not map into the shifts s_user_ns. A local attacker could use this to possibly bypass discretionary access control permissions."
                }
              ]
            },
            "generator": {
              "engine": "Vulnogram 0.0.9"
            },
            "impact": {
              "cvss": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "NONE",
                "baseScore": 6.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "NONE",
                "privilegesRequired": "LOW",
                "scope": "CHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N",
                "version": "3.1"
              }
            },
            "problemtype": {
              "problemtype_data": [
                {
                  "description": [
                    {
                      "lang": "eng",
                      "value": "CWE-538 File and Directory Information Exposure"
                    }
                  ]
                }
              ]
            },
            "references": {
              "reference_data": [
                {
                  "name": "https://usn.ubuntu.com/usn/usn-4183-1",
                  "refsource": "MISC",
                  "url": "https://usn.ubuntu.com/usn/usn-4183-1"
                },
                {
                  "name": "https://usn.ubuntu.com/usn/usn-4184-1",
                  "refsource": "MISC",
                  "url": "https://usn.ubuntu.com/usn/usn-4184-1"
                },
                {
                  "name": "https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=3644b9d5688da86f18e017c9c580b75cf52927bb",
                  "refsource": "MISC",
                  "url": "https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=3644b9d5688da86f18e017c9c580b75cf52927bb"
                }
              ]
            },
            "source": {
              "defect": [
                "https://bugs.launchpad.net/bugs/1850867"
              ],
              "discovery": "EXTERNAL"
            }
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "assignerShortName": "canonical",
        "cveId": "CVE-2019-15793",
        "datePublished": "2020-04-23T23:55:24.581Z",
        "dateReserved": "2019-08-29T00:00:00.000Z",
        "dateUpdated": "2024-09-16T16:58:57.384Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2019-15792 (GCVE-0-2019-15792)

    Vulnerability from nvd – Published: 2020-04-23 23:55 – Updated: 2024-09-16 23:41
    VLAI
    Title
    Type confusion in shiftfs
    Summary
    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.
    CWE
    • CWE-843 - Access of Resource Using Incompatible Type ('Type Confusion')
    Assigner
    References
    Impacted products
    Vendor Product Version
    Ubuntu Shiftfs in the Linux kernel Affected: 5.3.0-11.12 , < 5.3 kernel* (custom)
    Affected: 5.0 kernel , < 5.0.0-35.38 (custom)
    Create a notification for this product.
    Date Public
    2019-11-12 00:00
    Credits
    Jann Horn of Google Project Zero
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-05T00:56:22.476Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://usn.ubuntu.com/usn/usn-4183-1"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://usn.ubuntu.com/usn/usn-4184-1"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=5df147c8140efc71ac0879ae3b0057f577226d4c"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "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"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "value": "Jann Horn of Google Project Zero"
            }
          ],
          "datePublic": "2019-11-12T00:00:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "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-\u003eprivate_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."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.1,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "NONE",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-843",
                  "description": "CWE-843 Access of Resource Using Incompatible Type (\u0027Type Confusion\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2020-04-23T23:55:24.000Z",
            "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
            "shortName": "canonical"
          },
          "references": [
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://usn.ubuntu.com/usn/usn-4183-1"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://usn.ubuntu.com/usn/usn-4184-1"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=5df147c8140efc71ac0879ae3b0057f577226d4c"
            }
          ],
          "source": {
            "defect": [
              "https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1850867"
            ],
            "discovery": "EXTERNAL"
          },
          "title": "Type confusion in shiftfs",
          "x_generator": {
            "engine": "Vulnogram 0.0.9"
          },
          "x_legacyV4Record": {
            "CVE_data_meta": {
              "ASSIGNER": "security@ubuntu.com",
              "DATE_PUBLIC": "2019-11-12 18:00:00 UTC",
              "ID": "CVE-2019-15792",
              "STATE": "PUBLIC",
              "TITLE": "Type confusion in shiftfs"
            },
            "affects": {
              "vendor": {
                "vendor_data": [
                  {
                    "product": {
                      "product_data": [
                        {
                          "product_name": "Shiftfs in the Linux kernel",
                          "version": {
                            "version_data": [
                              {
                                "version_affected": "\u003e=",
                                "version_name": "5.3 kernel",
                                "version_value": "5.3.0-11.12"
                              },
                              {
                                "version_affected": "\u003c",
                                "version_name": "5.3 kernel",
                                "version_value": "5.3.0-22.24"
                              },
                              {
                                "version_affected": "\u003c",
                                "version_name": "5.0 kernel",
                                "version_value": "5.0.0-35.38"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    "vendor_name": "Ubuntu"
                  }
                ]
              }
            },
            "credit": [
              {
                "lang": "eng",
                "value": "Jann Horn of Google Project Zero"
              }
            ],
            "data_format": "MITRE",
            "data_type": "CVE",
            "data_version": "4.0",
            "description": {
              "description_data": [
                {
                  "lang": "eng",
                  "value": "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-\u003eprivate_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."
                }
              ]
            },
            "generator": {
              "engine": "Vulnogram 0.0.9"
            },
            "impact": {
              "cvss": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.1,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "NONE",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H",
                "version": "3.1"
              }
            },
            "problemtype": {
              "problemtype_data": [
                {
                  "description": [
                    {
                      "lang": "eng",
                      "value": "CWE-843 Access of Resource Using Incompatible Type (\u0027Type Confusion\u0027)"
                    }
                  ]
                }
              ]
            },
            "references": {
              "reference_data": [
                {
                  "name": "https://usn.ubuntu.com/usn/usn-4183-1",
                  "refsource": "MISC",
                  "url": "https://usn.ubuntu.com/usn/usn-4183-1"
                },
                {
                  "name": "https://usn.ubuntu.com/usn/usn-4184-1",
                  "refsource": "MISC",
                  "url": "https://usn.ubuntu.com/usn/usn-4184-1"
                },
                {
                  "name": "https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=5df147c8140efc71ac0879ae3b0057f577226d4c",
                  "refsource": "MISC",
                  "url": "https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=5df147c8140efc71ac0879ae3b0057f577226d4c"
                }
              ]
            },
            "source": {
              "defect": [
                "https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1850867"
              ],
              "discovery": "EXTERNAL"
            }
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "assignerShortName": "canonical",
        "cveId": "CVE-2019-15792",
        "datePublished": "2020-04-23T23:55:24.126Z",
        "dateReserved": "2019-08-29T00:00:00.000Z",
        "dateUpdated": "2024-09-16T23:41:36.466Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2019-15791 (GCVE-0-2019-15791)

    Vulnerability from nvd – Published: 2020-04-23 23:55 – Updated: 2024-09-17 00:11
    VLAI
    Title
    Reference count underflow in shiftfs
    Summary
    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() installs an fd referencing a file from the lower filesystem without taking an additional reference to that file. After the btrfs ioctl completes this fd is closed, which then puts a reference to that file, leading to a refcount underflow.
    CWE
    • CWE-672 - Operation on a Resource after Expiration or Release
    Assigner
    References
    Impacted products
    Vendor Product Version
    Ubuntu Shiftfs in the Linux kernel Affected: 5.3.0-11.12 , < 5.3 kernel* (custom)
    Affected: 5.0 kernel , < 5.0.0-35.38 (custom)
    Create a notification for this product.
    Date Public
    2019-11-12 00:00
    Credits
    Jann Horn of Google Project Zero
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-05T00:56:22.393Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://usn.ubuntu.com/usn/usn-4183-1"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://usn.ubuntu.com/usn/usn-4184-1"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=601a64857b3d7040ca15c39c929e6b9db3373ec1"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "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"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "value": "Jann Horn of Google Project Zero"
            }
          ],
          "datePublic": "2019-11-12T00:00:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "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() installs an fd referencing a file from the lower filesystem without taking an additional reference to that file. After the btrfs ioctl completes this fd is closed, which then puts a reference to that file, leading to a refcount underflow."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.1,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "NONE",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-672",
                  "description": "CWE-672 Operation on a Resource after Expiration or Release",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2020-04-23T23:55:23.000Z",
            "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
            "shortName": "canonical"
          },
          "references": [
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://usn.ubuntu.com/usn/usn-4183-1"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://usn.ubuntu.com/usn/usn-4184-1"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=601a64857b3d7040ca15c39c929e6b9db3373ec1"
            }
          ],
          "source": {
            "defect": [
              "https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1850867"
            ],
            "discovery": "EXTERNAL"
          },
          "title": "Reference count underflow in shiftfs",
          "x_generator": {
            "engine": "Vulnogram 0.0.9"
          },
          "x_legacyV4Record": {
            "CVE_data_meta": {
              "ASSIGNER": "security@ubuntu.com",
              "DATE_PUBLIC": "2019-11-12 18:00:00 UTC",
              "ID": "CVE-2019-15791",
              "STATE": "PUBLIC",
              "TITLE": "Reference count underflow in shiftfs"
            },
            "affects": {
              "vendor": {
                "vendor_data": [
                  {
                    "product": {
                      "product_data": [
                        {
                          "product_name": "Shiftfs in the Linux kernel",
                          "version": {
                            "version_data": [
                              {
                                "version_affected": "\u003e=",
                                "version_name": "5.3 kernel",
                                "version_value": "5.3.0-11.12"
                              },
                              {
                                "version_affected": "\u003c",
                                "version_name": "5.3 kernel",
                                "version_value": "5.3.0-22.24"
                              },
                              {
                                "version_affected": "\u003c",
                                "version_name": "5.0 kernel",
                                "version_value": "5.0.0-35.38"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    "vendor_name": "Ubuntu"
                  }
                ]
              }
            },
            "credit": [
              {
                "lang": "eng",
                "value": "Jann Horn of Google Project Zero"
              }
            ],
            "data_format": "MITRE",
            "data_type": "CVE",
            "data_version": "4.0",
            "description": {
              "description_data": [
                {
                  "lang": "eng",
                  "value": "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() installs an fd referencing a file from the lower filesystem without taking an additional reference to that file. After the btrfs ioctl completes this fd is closed, which then puts a reference to that file, leading to a refcount underflow."
                }
              ]
            },
            "generator": {
              "engine": "Vulnogram 0.0.9"
            },
            "impact": {
              "cvss": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.1,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "NONE",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H",
                "version": "3.1"
              }
            },
            "problemtype": {
              "problemtype_data": [
                {
                  "description": [
                    {
                      "lang": "eng",
                      "value": "CWE-672 Operation on a Resource after Expiration or Release"
                    }
                  ]
                }
              ]
            },
            "references": {
              "reference_data": [
                {
                  "name": "https://usn.ubuntu.com/usn/usn-4183-1",
                  "refsource": "MISC",
                  "url": "https://usn.ubuntu.com/usn/usn-4183-1"
                },
                {
                  "name": "https://usn.ubuntu.com/usn/usn-4184-1",
                  "refsource": "MISC",
                  "url": "https://usn.ubuntu.com/usn/usn-4184-1"
                },
                {
                  "name": "https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=601a64857b3d7040ca15c39c929e6b9db3373ec1",
                  "refsource": "MISC",
                  "url": "https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=601a64857b3d7040ca15c39c929e6b9db3373ec1"
                }
              ]
            },
            "source": {
              "defect": [
                "https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1850867"
              ],
              "discovery": "EXTERNAL"
            }
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "assignerShortName": "canonical",
        "cveId": "CVE-2019-15791",
        "datePublished": "2020-04-23T23:55:23.619Z",
        "dateReserved": "2019-08-29T00:00:00.000Z",
        "dateUpdated": "2024-09-17T00:11:12.912Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }