Description (CNA)
renameat(2) did not enforce FD_RESOLVE_BENEATH on its directory arguments. A jailed process could rename a directory relative to a restricted descriptor, then escape the jail root via fchdir(2). This requires the directory to reside on a filesystem that is also reachable from the jail's root. A process in a jail that has received a directory file descriptor from another jail can use these techniques to escape the jail's filesystem root restriction.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| FreeBSD / FreeBSD | affected 15.1-RELEASE before p4; affected 15.0-RELEASE before p14; affected 14.5-RELEASE before p1; affected 14.4-RELEASE before p10 |
CWE
CWE-273
References
ADP enrichment
No English description supplied.
No references supplied.