{
    "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": ">=",
                                            "version_name": "5.3 kernel",
                                            "version_value": "5.3.0-11.12"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "5.3 kernel",
                                            "version_value": "5.3.0-22.24"
                                        },
                                        {
                                            "version_affected": "<",
                                            "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": [
            {
                "refsource": "MISC",
                "url": "https://usn.ubuntu.com/usn/usn-4183-1",
                "name": "https://usn.ubuntu.com/usn/usn-4183-1"
            },
            {
                "refsource": "MISC",
                "url": "https://usn.ubuntu.com/usn/usn-4184-1",
                "name": "https://usn.ubuntu.com/usn/usn-4184-1"
            },
            {
                "refsource": "MISC",
                "url": "https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=601a64857b3d7040ca15c39c929e6b9db3373ec1",
                "name": "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"
    }
}