{"id":"CVE-2023-5369","state":"PUBLISHED","title":"copy_file_range insufficient capability rights check","description":"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.","publishedAt":"2023-10-04T03:48:53.559Z","updatedAt":"2025-02-13T17:20:10.344Z","severity":null,"assigner":"freebsd","products":["FreeBSD FreeBSD"],"affected":[{"vendor":"FreeBSD","product":"FreeBSD","defaultStatus":"unknown","versions":[{"version":"13.2-RELEASE","status":"affected","lessThan":"p4","versionType":"release"}],"modules":["capsicum"]}],"references":["https://security.FreeBSD.org/advisories/FreeBSD-SA-23:13.capsicum.asc","https://security.netapp.com/advisory/ntap-20231124-0009/"],"weaknesses":["CWE-273"],"ingestedAt":"2026-10-29T20:06:42.242Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/5xxx/CVE-2023-5369.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-5369","state":"PUBLISHED","datePublished":"2023-10-04T03:48:53.559Z","dateUpdated":"2025-02-13T17:20:10.344Z","assignerShortName":"freebsd","assignerOrgId":"63664ac6-956c-4cba-a5d0-f46076e16109","dateReserved":"2023-10-03T21:25:17.658Z"},"containers":{"cna":{"title":"copy_file_range insufficient capability rights check","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"FreeBSD","product":"FreeBSD","defaultStatus":"unknown","versions":[{"version":"13.2-RELEASE","status":"affected","lessThan":"p4","versionType":"release"}],"modules":["capsicum"]}],"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/"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-273","description":"CWE-273 Improper Check for Dropped Privileges","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"freebsd","orgId":"63664ac6-956c-4cba-a5d0-f46076e16109","dateUpdated":"2023-11-24T09:06:40.179Z"},"credits":[{"lang":"en","type":"finder","user":"00000000-0000-4000-9000-000000000000","value":"David Chisnall"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-23:13.capsicum.asc","tags":["vendor-advisory","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20231124-0009/","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T07:59:43.255Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-20T14:51:19.056359Z","id":"CVE-2023-5369","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-20T14:53:20.875Z"}}]}}}