Vulnerability in FreeBSD
CVE-2023-5369
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.
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.002, 9.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- FreeBSD — versions 13.2, 13.2-RELEASE
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- security.FreeBSD.org/advisories/FreeBSD-SA-23:13.capsicum.asc (vendor-advisory, Vendor Advisory)
- security.netapp.com/advisory/ntap-20231124-0009/