Repository navigation
Description
Description
In the previous case #62681 and others like it the new statement from SALT is to install the Onedir version of salt. This is a version of salt that will have a self-contained version of python and all the salt components. Yet from a security aspect, it does not explain how it handles the added components (salt-provided version of python) when a security issue occurs.
With the original salt rpm the majority of the required packages were provided from EPEL or Core REPO's. So updates to dependencies like python were being handled by OS.
Now per https://docs.saltproject.io/salt/install-guide/en/latest/topics/upgrade.html#onedir salt is basically advising all users to move to a onedir installation
Onedir is Salt’s new packaging system (as of 3005). Onedir stands for “one directory” because the goal is to provide a single directory containing all the executables that Salt needs. It includes the version of Python needed by Salt and its required dependencies. The onedir packages simplify the installation process because they allow you to use Salt out of the box without installing Python or other dependencies first. See What is onedir? for more information.
Beginning with the release of Salt 3005 (Phosphorus), the Salt Project will begin replacing the old packaging system with the Tiamat packaging system. The Salt Project strongly recommends upgrading to onedir to continue receiving Salt version updates. See Upgrade to onedir for more information.
What is Salts model for handling security vulns found in the dependency packages that salt is bundling?
Suggested Fix
Include documentation around onedir on how dependency updating will occur. For example, if a vuln is in a dependency (example bundled python) we will strike to have an update for salt 1 month after the upstream fix has been provided. Or be clear if you don't offer any assurances as at. This should be known as this a big departure in salt and users be aware.
Type of documentation
This could be Salt documentation, Salt modules, the Salt Repo or the Getting Started guide.
Location or format of documentation
Insert page URL if applicable.
Additional context
Add any other context or screenshots about the feature request here.
Activity
OrangeDog commentedon Oct 10, 2022
Also, all users are now responsible for patching and updating any additional dependencies that previously would also have been provided by the os -
pygit2,MySQLdb,docker-py, etc.barbaricyawps commentedon Oct 10, 2022
@Ch3LL , could you take a look at this and provide commentary on the ask? If you send me the info, I can find a way to integrate it into the Salt Install Guide or another doc set. I've opened up a separate issue in the Salt Install Guide to track this task: https://gitlab.com/saltstack/open/docs/salt-install-guide/-/issues/57
Ch3LL commentedon Oct 10, 2022
re-assigning to @dwoz as he will have a better understanding here.
ssoto2 commentedon Nov 11, 2022
Is there any update on this? Sorry don't mean to be pushy and I know I am asking this in community support but IMHO it is hard not to believe that this is a big question to enterprise customers also as this opened a large security issue and this is basically being forced on users for 3005 but there is no bootstrap docs, security docs, and the only way to have a temp short term solution is to this is to install at a lower version until more clarity is provided by salt.
1 remaining item
golpa commentedon Sep 20, 2024
Yearly bump? This is no longer theoretical problem. When you install salt you end up with critical vulnerable versions of software for at least 2 weeks now. A lot of institutions have security plans requiring critical vulnerabilities to be addressed within 2 weeks or less
dwoz commentedon Oct 15, 2026
Thanks for the original report. This issue has been open for more than three years without recent activity and carries a severity label below
severity-high. As part of a backlog cleanup, we're closing older low- and medium-severity issues so triage can focus on reports against currently supported releases.Closing isn't a judgement that the problem wasn't real — only that the codebase has moved through several releases since this was filed, and much of the surrounding code has changed.
If you — or anyone else — can still reproduce this on the 3008.x LTS release, please leave a comment with a reproduction and a maintainer will reopen. The original reporter can also reopen directly.
dwoz commentedon Oct 17, 2026
Reopening — there is an open PR tracking a fix for this: #69554.
dwoz commentedon Oct 28, 2026
Closing — consolidated into #70585. The checkbox for this item is in the appropriate theme section of that tracker. Please pick up the sub-item there.