{"id":"CVE-2023-5369","aliases":["CVE-2023-5369"],"related":[],"kind":"vulnerability","state":"published","title":"copy_file_range insufficient capability rights check","summary":"Before correction, the copy_file_range system 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Before correction, the copy_file_range system 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.","source":"cvelist"},{"lang":"es","text":"Antes de la corrección, la llamada al sistema copy_file_range verificó solo las capabilities CAP_READ y CAP_WRITE en los descriptores de archivos de entrada y salida, respectivamente. Usar un desplazamiento es lógicamente equivalente a buscar, y la llamada al sistema debe requerir adicionalmente la capability CAP_SEEK. Esta verificación de privilegios incorrecta permitió que los procesos aislados con solo lectura o escritura pero sin capacidad de búsqueda en un descriptor de archivo leyeran o escribieran datos en una ubicación arbitraria dentro del archivo correspondiente a ese descriptor de archivo.","source":"nvd"}],"published":"2023-10-04T03:48:53.559Z","modified":"2026-06-17T06:48:26.670Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":7.1,"rating":"HIGH"}],"cwes":["CWE-273"],"affected":[{"ranges":[{"type":"release","introduced":"13.2-RELEASE","fixed":"p4","status":"affected"}],"vendor":"FreeBSD","product":"FreeBSD","source":"cvelist"},{"ranges":[{"status":"affected","version":"13.2"}],"vendor":"freebsd","product":"freebsd","cpe":"cpe:2.3:o:freebsd:freebsd:13.2:-:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-23:13.capsicum.asc","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20231124-0009/","tags":["x-transferred"],"sources":["cvelist","nvd"]}],"credits":["David Chisnall"],"assigner":"freebsd","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-09-20T14:51:19.056Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-5369","url":"https://www.cve.org/CVERecord?id=CVE-2023-5369","licence":"CVE Terms of Use","modified":"2025-02-13T17:20:10.344Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-5369","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5369","licence":"Public domain","modified":"2026-06-17T06:48:26.670Z"}],"updatedAt":"2026-11-25T22:58:28.440Z","epss":{"score":0.00265,"percentile":0.11357,"date":"2026-11-30T12:00:22.000Z"}}