Security Fixes
-
Someone with write access to the cache directory (a predictable
PYLINTHOME
on a multi-user host) can no longer plant a symlink or hard link there to make
pylint overwrite, or append to, another file the user running pylint can write.
The stats cache and the crash report are now opened in exclusive creation mode,
which refuses any existing path, andPYLINTHOMEis created with mode
0700. If you cannot upgrade, do not pointPYLINTHOMEto an untrusted,
shared, or group-writable directory. The default,~/.cache/pylinton Linux,
is writable only by the user running pylint.Refs #11889