{"id":"CVE-2023-5369","published":"2023-10-04T03:48:53Z","modified":"2025-02-13T17:20:10Z","title":"copy_file_range insufficient capability rights check","vendor":"FreeBSD","product":"FreeBSD","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00197,"percentile":0.09568,"provenance":"source"},"cwes":[{"id":"CWE-273","name":"Improper Check for Dropped Privileges"}],"references":[{"url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-23:13.capsicum.asc","tags":["vendor-advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20231124-0009/","tags":[]}],"priority":{"score":1.9,"factors":[{"name":"EPSS percentile","points":1.91}]},"vendorSlug":"freebsd","affectedVersions":[{"vendor":"FreeBSD","product":"FreeBSD","versions":[">= 13.2-RELEASE, < p4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-09-20T14:51:19.056359Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-57685","exploited":false,"provenance":"source"}}