{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2023-5369",
        "ASSIGNER": "secteam@freebsd.org",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Before correction, the\u00a0copy_file_range\u00a0system call checked only for the CAP_READ and CAP_WRITE capabilities on the input and output file descriptors, respectively.  Using an offset is logically equivalent to seeking, and the system call must additionally require the CAP_SEEK capability.\n\nThis incorrect privilege check enabled sandboxed processes with only read or write but no seek capability on a file descriptor to read data from or write data to an arbitrary location within the file corresponding to that file descriptor."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-273 Improper Check for Dropped Privileges",
                        "cweId": "CWE-273"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "FreeBSD",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "FreeBSD",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<",
                                            "version_name": "13.2-RELEASE",
                                            "version_value": "p4"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://security.FreeBSD.org/advisories/FreeBSD-SA-23:13.capsicum.asc",
                "refsource": "MISC",
                "name": "https://security.FreeBSD.org/advisories/FreeBSD-SA-23:13.capsicum.asc"
            },
            {
                "url": "https://security.netapp.com/advisory/ntap-20231124-0009/",
                "refsource": "MISC",
                "name": "https://security.netapp.com/advisory/ntap-20231124-0009/"
            }
        ]
    },
    "generator": {
        "engine": "Vulnogram 0.1.0-dev"
    },
    "source": {
        "discovery": "UNKNOWN"
    },
    "credits": [
        {
            "lang": "en",
            "value": "David Chisnall"
        }
    ]
}