Description
VeraCrypt through 1.26.31 on Linux contains an improper path restriction vulnerability in the elevated CoreService, which passes the path and owner UID from a SetFileOwnerRequest directly to chown() in CoreUnix::SetFileOwner without target validation on Linux. An attacker with an active elevated CoreService session and same-UID access who reopens the request pipe through /proc/<pid>/fd/<n> can take ownership of arbitrary system files such as /etc/passwd and /etc/shadow, achieving full root compromise.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
veracrypt VeraCrypt
Default version status: unaffected
0 to ≤ 1.26.31affected
pkg:github/veracrypt/VeraCrypt