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
* Several fixes for security issues
(bsc#1244561, CVE-2024-38822)
(bsc#1244564, CVE-2024-38823)
(bsc#1244565, CVE-2024-38824)
(bsc#1244566, CVE-2024-38825)
(bsc#1244567, CVE-2025-22240)
(bsc#1244568, CVE-2025-22236)
(bsc#1244570, CVE-2025-22241)
(bsc#1244571, CVE-2025-22237)
(bsc#1244572, CVE-2025-22238)
(bsc#1244574, CVE-2025-22239)
(bsc#1244575, CVE-2025-22242)
Request server hardening
- Each minion get's it's own aes session for request server
communication.
- Request client always includes id and token, these are always
validated server side.
- Add timestamp and enforce configurable ttl for request server
messages.
Other relevant commit messages:
- Add deprecation message to salt.auth.pki
- Add test and fix for file_recv cve
- Prevent traversal in local_cache::save_minions
- Fix traversal in gitfs find_file
- Fix traversals in salt.utils.virt
- Fix traversal in pub_ret
- On-demand pillar fix
- Include url validation tests
- Minion event filtering
- Reasonable failures when pillars timeout
- Adjust and fix code and tests after backporting
to openSUSE/release/3006.0
Co-authored-by: Pablo Suárez Hernández <[email protected]>
* Fix test_pillar_timeout unit test in Salt Shaker
* Fix tests failures on functional/channel/test_req_channel.py
* Fix gitfs test failures due uncomplete cleanup
* Fix cp.push module function and its integration test (#68053)
fix file_recv path verification for subdirs
Adapt backport to fit openSUSE/release/3006.0
* Make send_req_async wait longer (#68085)
Allow send_req_async to wait longer when sending a return back to the
master. The minion should wait at least as long as the max possible
return timeout.
Update creds when session key changes
Add unit test to validate session key rotation
Add changelog for #68079
* Remove token to prevent decoding errors (#68084)
Clean up verify_load calls in master request server
Remove tok in salt.channel.ReqServer.validate_token so it is not passed
to the request handlers.
Add tests around payload token removal
Add changelog for #68076
* Fix checking of non-url style git remotes (#68089)
Handle [email protected]/.. style remotes
Fix checking of non-url style git remotes
Fixes handling of git@hostname:/path/repo style remotes. Takes initial
version from #68082 and fixes it. Still uses the shortcut of converting
the remote to ssh:// URL style.
Split out converting remote to URL
Splits out converting remotes to URL form to allow testing of that
conversion - without doing that risk issues with the regex
Add additional test cases
Add additional test cases based on gitfs docs and what they say should
be valid
Make utility functions classmethods
Fix key vs remote wart
Allow subdirs in GitFS find_file check (#68083)
Add test for find_file in sub directories
Add changelog for #68072
---------
Co-authored-by: Daniel A. Wozniak <[email protected]>
Co-authored-by: hurzhurz <[email protected]>
The salt.auth.pki module does not properly authenticate callers. The "password" field contains a public certificate which is validated against a CA certificate by the module. This is not pki authentication, as the caller does not need access to the corresponding private key for the authentication attempt to be accepted.
Minion event bus authorization bypass. An attacker with access to a minion key can craft a message which may be able to execute a job on other minions (>= 3007.0).
23
+
24
+
CVSS 8.1 AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:L
25
+
26
+
CVE-2025-22237
27
+
An attacker with access to a minion key can exploit the 'on demand' pillar functionality with a specially crafted git url which could cause and arbitrary command to be run on the master with the same privileges as the master process.
28
+
29
+
CVSS 6.7 AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
30
+
31
+
CVE-2025-22238
32
+
Directory traversal attack in minion file cache creation. The master's default cache is vulnerable to a directory traversal attack. Which could be leveraged to write or overwrite 'cache' files outside of the cache directory.
33
+
34
+
CVSS 4.2 AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N
35
+
36
+
CVE-2025-22239
37
+
Arbitrary event injection on Salt Master. The master's "_minion_event" method can be used by and authorized minion to send arbitrary events onto the master's event bus.
38
+
39
+
CVSS 8.1 AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:L
40
+
41
+
CVE-2025-22240
42
+
Arbitrary directory creation or file deletion. In the find_file method of the GitFS class, a path is created using os.path.join using unvalidated input from the “tgt_env” variable. This can be exploited by an attacker to delete any file on the Master's process has permissions to
43
+
44
+
CVSS 6.3 AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
45
+
46
+
CVE-2025-22241
47
+
File contents overwrite the VirtKey class is called when “on-demand pillar” data is requested and uses un-validated input to create paths to the “pki directory”. The functionality is used to auto-accept Minion authentication keys based on a pre-placed “authorization file” at a specific location and is present in the default configuration.
48
+
49
+
CVSS 5.6 AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N
50
+
51
+
CVE-2025-22242
52
+
Worker process denial of service through file read operation. .A vulnerability exists in the Master's “pub_ret” method which is exposed to all minions. The un-sanitized input value “jid” is used to construct a path which is then opened for reading. An attacker could exploit this vulnerabilities by attempting to read from a filename that will not return any data, e.g. by targeting a pipe node on the proc file system.
53
+
54
+
CVSS 5.6 AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:H
55
+
56
+
This release also includes sqlite 3.50.1 to address CVE-2025-29087
0 commit comments