CVE-2023-5369
publishedcopy_file_range insufficient capability rights check
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| FreeBSD | — | FreeBSD13.2-RELEASE to < p4 · Other versions: unknown | Affected | Not stated | freebsd |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| FreeBSD | FreeBSD | 13.2-RELEASE to < p4 (affected · release)Default: unknown | freebsd · cna |
Weaknesses
1- CWE-273 CWE-273 Improper Check for Dropped Privileges
References
2Provider assertions
3freebsd · cna
copy_file_range insufficient capability rights check
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 85a62298bdde2fd4869f151c5f0f2024c847c394f39571cd17af47d66399f542
- Ingested
- 23 Sep 2026, 08:15:19 UTC
- Source record
- Official CVE record