CVE-2023-5369: copy_file_range insufficient capability rights check
Before correction, the copyfilerange system call checked only for the CAPREAD and CAPWRITE 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 CAPSEEK capability.
This 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 Software
Event History
Frequently Asked Questions
What is the vulnerability ID of this vulnerability?
The vulnerability ID is CVE-2023-5369.
What is the severity of CVE-2023-5369?
The severity of CVE-2023-5369 is high with a score of 7.1.
How does the vulnerability impact FreeBSD?
The vulnerability affects FreeBSD version 13.2.
What is the Common Vulnerabilities and Exposures (CVE) numbering system used for?
The Common Vulnerabilities and Exposures (CVE) system is used to uniquely identify and track vulnerabilities in software.
Where can I find more information about CVE-2023-5369?
You can find more information about CVE-2023-5369 at https://security.FreeBSD.org/advisories/FreeBSD-SA-23:13.capsicum.asc.