| CVE |
Vendors |
Products |
Updated |
CVSS v3.1 |
| In the Linux kernel, the following vulnerability has been resolved:
ALSA: pcm: Prevent O_APPEND open on OSS streams
ALSA PCM core accepts to re-use the existing stream when O_APPEND is
passed, and it's been used for dmix, etc. However, this mode isn't
supposed to be used for OSS: the OSS stream allows re-configuration
via its hw_params/hw_refine procedure even while it's being mmapped,
so it implies the usage of only a single stream. Because of this
assumption, the sanity check is skipped for OSS streams, and if user
may attach to an existing OSS stream with O_APPEND, it may result in a
UAF of the mapped pages which could be used as a privilege escalation
exploit.
For addressing it, this patch simply prohibits the O_APPEND behavior
on the OSS stream. O_APPEND is never used for OSS layer itself, so
this can't break for the right applications. |
| During parallel state execution, the state compiler pickled the __context__ dictionary without validation. Objects with malicious __reduce__ or __getstate__ methods could execute code when pickled. An authenticated attacker who can inject objects into __context__ through state files or custom modules can execute arbitrary code on a Salt master or minion. |
| pkg.installed and pkg.install skipped GPG signature verification for packages installed with the sources parameter on RPM-based systems (yum, dnf, dnf5, and zypper), even with the default skip_verify: False. A package installed by file path through sources was never checked for a valid signature, so an unsigned or tampered RPM could be installed even though signature verification was expected. |
| On Windows the minion uses TCP loopback for its local event bus, and any local process could connect and inject events without authentication. The minion acted on manage_schedule events without verifying where they came from. A low-privileged local user on Windows can add and run scheduled jobs under the minion's service account, which is typically SYSTEM, leading to local privilege escalation. |
| ssh.set_auth_key followed symlinks when writing a user's authorized_keys file and then changed ownership of the target. An unprivileged local user on a managed minion can plant a symlink so that the root-running minion creates a file at an arbitrary location owned by that user, leading to local privilege escalation. |
| The auth.del_token runner joined the token directory with a caller-supplied token value without validating that the result stayed inside the token directory. An eauth user with permission to call auth.del_token can delete any file accessible to the Salt master process, including PKI keys and system configuration files. |
| The Salt TCP transport created a msgpack unpacker with no size limits before any authentication took place. An unauthenticated attacker can open many concurrent connections and exhaust the master's memory, causing a denial of service. |
| queue.insert_runner did not record who queued a job, and queue.process_runner ran queued jobs without checking the original requester's permissions. An eauth user with only queue.insert_runner permission can queue any runner function, which then runs with the master's full privileges. |
| When SSDP master discovery is enabled, a minion accepted the first responder on the local network as its master without a mandatory fingerprint check. An attacker on the same network can pose as the master and gain command execution on the minion without any Salt credentials. |
| The salt-ssh option filter that blocks ProxyCommand used a case-sensitive check, but OpenSSH treats option names case-insensitively. An eauth user with permission to use client: ssh can bypass the filter and run arbitrary commands on the Salt master during an SSH invocation. |
| The CherryPy REST API reflected the request Origin header in Access-Control-Allow-Origin while also allowing credentials, and the CORS preflight handler set a session token on unauthenticated OPTIONS requests. Any website can make credentialed cross-origin requests using an authenticated administrator's browser session, and the preflight handler can bypass the authentication check. |
| wheel.key.gen_keys accepted a caller-supplied keydir with no validation that the resulting path stayed within the master's pki_dir. An authenticated eauth user with permission to call wheel.key.gen_keys can write RSA key files to arbitrary locations writable by the master process. |
| A potential security vulnerability identified with HPE IceWall MFA products could be exploited allow improper authentication. |
| The runner_check and wheel_check call sites in the master passed only keyword arguments to the ACL check, so positional-argument constraints in external_auth were never evaluated. An authenticated eauth user subject to argument-level runner or wheel ACLs can bypass those restrictions. |
| The cache runner functions (store, fetch, list, flush) accepted caller-supplied bank and cachedir parameters with no path validation. An authenticated eauth user with any cache.* permission can read or forge eauth token data and delete arbitrary directories as the master process. |
| peer_run validated only the minion identity and function name. It did not restrict the arguments passed to the runner, and function names were matched by prefix. A minion authorized for one runner function can call other functions in the same runner with arbitrary arguments, which can lead to remote code execution on the master. |
| salt.utils.path.join normalized path components but did not verify that the joined path stayed within the intended root, so relative traversal sequences could escape the cache root. A compromised or malicious Salt master can supply a crafted destination in a file-serving response that causes a minion to write attacker-controlled content to arbitrary paths with the privileges of the salt-minion process. |
| The eauth token directory was created world-listable (mode 0755). Each token file is named with the bearer token value, so the directory listing exposes valid tokens. Any local user on the Salt master can enumerate valid eauth tokens and use them to authenticate to the Salt API with the permissions of the token's original owner. |
| rpm_lowpkg.diff interpolated the package_path and path parameters directly into a shell command without sanitization. An authenticated user with Salt master access or eauth permission for rpm_lowpkg.diff can run arbitrary shell commands with the privileges of the salt-minion process. |
| network.get_route, network.get_bufsize, and network.mod_bufsize built shell commands by interpolating user-supplied arguments (ip, iface). An authenticated user with Salt master access or eauth permission for network.* functions can run arbitrary shell commands with the privileges of the salt-minion process. |