Skip to main content
← All vulnerabilities
CVE-2023-5369

copy_file_range insufficient capability rights check

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in p4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • FreeBSD FreeBSD

    From 13.2-RELEASE · fixed in p4

References 2

security.freebsd.org

security.netapp.com