You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A malicious package could escape the directory set by --destdir. This requires the installation of a package from a malicious or compromised source. Files in such packages would not be installed in the path given by --destdir, but on a different location on the host.
Warning
Installing packages from untrusted sources is never safe. While the files can now always be found using lseopkg, any file installed by the package manager has the potential to compromise your complete system. We strongly recommend using Flatpak to install 3rd party packages and only installing native Solus packages from sources you trust.
Important
The flag --destdir is not a sandbox feature and does not provide any additional security. Its intended use is to install packages from the Solus repository into a subdirectory. It is never safe to use --destdir on untrusted packages.
The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize ../ sequences that can resolve to a location that is outside of that directory.
Learn more on MITRE.
Impact
A malicious package could escape the directory set by
--destdir. This requires the installation of a package from a malicious or compromised source. Files in such packages would not be installed in the path given by--destdir, but on a different location on the host.Warning
Installing packages from untrusted sources is never safe. While the files can now always be found using
lseopkg, any file installed by the package manager has the potential to compromise your complete system. We strongly recommend using Flatpak to install 3rd party packages and only installing native Solus packages from sources you trust.Important
The flag
--destdiris not a sandbox feature and does not provide any additional security. Its intended use is to install packages from the Solus repository into a subdirectory. It is never safe to use--destdiron untrusted packages.Patches
The issue has been fixed in v4.4.0.
Workarounds
Users only installing packages from the Solus repositories are not affected.