In the Zstandard command-line utility prior to v1.4.1, output files were created with default permissions. Correct file permissions (matching the input) would only be set at completion time. Output files could therefore be readable or writable to unintended parties.
A product defines a set of insecure permissions that are inherited by objects that are created by the program.
During installation, installed file permissions are set to allow anyone to modify those files.
Link | Tags |
---|---|
https://github.com/facebook/zstd/issues/1630 | issue tracking exploit third party advisory |
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981404 | issue tracking mailing list exploit third party advisory |
https://www.facebook.com/security/advisories/cve-2021-24031 | vendor advisory |