CVE-2023-5369

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. 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.

Category

7.1
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.08%
Vendor Advisory FreeBSD.org
Affected: FreeBSD FreeBSD
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-5369?
CVE-2023-5369 has been scored as a high severity vulnerability.
How to fix CVE-2023-5369?
To fix CVE-2023-5369, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-5369 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2023-5369 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-5369?
CVE-2023-5369 affects FreeBSD FreeBSD.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.