-Infinity
0
Severity
6.5
Null Pointer Dereference
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

A NULL pointer dereference flaw has been found in the aclcheckdnshostname() and aclvalidatespnvalue() functions in source4/dsdb/samdb/ldbmodules/acl.c of the Active Directory domain controller ACL module in the Samba package. The checks read the account name after a request that removes it, and they do not test that the value is present. A low-privileged network attacker or user who can update the DNS host name or service principal name of their own computer account can include a removal of sAMAccountName in that same LDAP modify. The directory process crashes. Repeating the modify keeps the directory service unavailable.

1 / 3
Source: NVD
First published (updated )
Severity
4

The aclcheckdnshostname() function and the aclvalidatespnvalue() function in source4/dsdb/samdb/ldbmodules/acl.c read samAccountName->length without testing that the pointer is NULL. dsdbmsggetsinglevalue() in source4/dsdb/samdb/ldbmodules/util.c supplies that pointer.

On an LDAP modify, dsdbmsggetsinglevalue() starts from the sAMAccountName stored on the object. A delete of sAMAccountName in the same request, or a replace with no values, makes the function return success and a NULL pointer. aclmodify() walks the attributes in the order the client sent them. A validated write of dNSHostName or servicePrincipalName is checked while that NULL pointer is already the account-name value, and before the write-property check on the sAMAccountName element. The acl module is loaded ahead of samldb and objectclassattrs, which are the modules that reject removal of a mandatory sAMAccountName. On an add, the same helper returns NULL when the new object does not contain sAMAccountName. In aclvalidatespnvalue(), the dnsHostName and original dnsHostName pointers are tested before use. The sAMAccountName pointer is not.

The process handling the LDAP request terminates. The AD DC restarts that LDAP process. Repeating the request crashes it again, so the directory service stays unavailable for as long as the requests continue. The stored object is left unchanged because the fault happens before the modify is committed.

The caller is an authenticated domain principal that can perform a validated write of dNSHostName or servicePrincipalName on a computer object. The default computer class security descriptor grants that self-write to Principal Self and Creator Owner. A domain-joined computer has this right on its own account. The same request deletes sAMAccountName or replaces it with no values. Write property on the object is not required. A caller who already has write property returns before the read.

The modify path is reachable on a Samba AD DC in the default configuration.

The unchecked read was added with the validated-write work for CVE-2022-32743. Joseph Sutton added the dNSHostName read in commit b95431ab2303eb258e37e88d8841f2fb79fc4af5 on 2022-06-01, and the servicePrincipalName read in commit e1c52ac05a9ff505d2e5eac2f1ece4e95844ee71 on 2022-06-07. dsdbmsggetsinglevalue() was added in commit 49ac07e786df58b914ee85e2db773c0ba8d4e171 on 2022-06-07. Samba 4.17.0, released on 2022-09-13, is the first release that contains the code. The same read is absent from Samba 4.16.4, 4.15.9, and 4.14.14.

aclcheckspn() calls aclvalidatespnvalue() for servicePrincipalName. aclcheckdnshostname() has the same unchecked read for dNSHostName.

First published (updated )
Severity
8.7
AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

rsync < 3.5.2 Denial of Service via hashsearch() Checksum Collisions

1 / 3
Source: Microsoft
First published (updated )

cifs-utils 7.9 fixes a mount-option injection vulnerability in mount.cifs that can allow local privilege escalation in affected privileged mounting configurations.

Affected versions: cifs-utils-4.2 - cifs-utils-7.8

Users are recommended to upgrade to version cifs-utils 7.9, which fixes the issue. Distributors can alternatively backport the fixes.

Credit: Johnathan Benge (reporter) Paulo Alcantara (patch author)

cifs-utils 7.9 release: webpage: https://wiki.samba.org/index.php/LinuxCIFSutils tarball: https://download.samba.org/pub/linux-cifs/cifs-utils/ git: git://git.samba.org/cifs-utils.git gitweb: http://git.samba.org/?p=cifs-utils.git;a=summary

Severity
8.1
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

[Unknown description]

1 / 3
Source: OSV
First published (updated )
Severity
7

On shares using the vfscephrgw module, the module's openat() implementation ignored the (possibly case-corrected) filename supplied by the file server and instead re-opened the name originally sent by the client.

When a client opened an existing file using a different case than it exists on disk with a create disposition of FILEOPENIF, the case-insensitive lookup failed inside the module. The file server then treated the request as a file creation, checking only the caller's permission to add a file to the parent directory and skipping the access check on the existing object. The subsequent open then collided with, and re-opened, the existing object.

As a result an authenticated user could read or overwrite files owned by another user, despite those files having restrictive permissions.

First published (updated )
Severity
9.1
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

rsync 3.1.0 < 3.5.0 Access Control Bypass via DNS Resolution Failure

1 / 2
Source: Microsoft
First published (updated )
Severity
8.7
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

rsync before 3.5.0 contains an algorithmic complexity vulnerability in the hashsearch() function that allows a remote attacker to cause a denial of service by delivering a carefully constructed file list. A sender can exploit the quadratic-time worst-case behavior in hash lookups to exhaust receiver CPU resources with a modest number of crafted entries, causing a sustained denial of service.

1 / 2
Source: Red Hat
First published (updated )
Severity
8.7
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

rsync 3.4.2 < 3.5.0 DoS via --zt Zstandard Compression Thread Exhaustion

1 / 3
Source: Microsoft
First published (updated )
Severity
8.8
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

rsync 3.0.1 < 3.5.0 Heap Out-of-Bounds Write via readargs()

1 / 3
Source: Microsoft
First published (updated )
Severity
8.3
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H

rsync 3.2.3 < 3.5.0 Out-of-Bounds Write via parsesizearg()

1 / 3
Source: Microsoft
First published (updated )
Severity
8.8
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

rsync 3.0.0 < 3.5.0 Out-of-Bounds Write via FLAGHLINKED Handling

1 / 2
Source: Microsoft
First published (updated )
Severity
6.9
Null Pointer Dereference
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

rsync 3.0.0 < 3.5.0 Daemon Crash via Malformed File List Entry

1 / 2
Source: Microsoft
First published (updated )
Severity
9.2
Path Traversal
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

rsync 2.3.3 < 3.5.0 Path Traversal via --partial-dir/--backup-dir Symlink

1 / 3
Source: Microsoft
First published (updated )
Severity
8.8
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

rsync 3.2.5 < 3.5.0 Heap Out-of-Bounds Write via files-from Entry

1 / 3
Source: Microsoft
First published (updated )
Severity
7.1
Integer Overflow
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

rsync 3.1.0 < 3.5.0 Signed Integer Overflow via MSGIOTIMEOUT

1 / 2
Source: Microsoft
First published (updated )
Severity
8.6
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

rsync 3.1.0 before 3.5.0 contains an authorization bypass in auth users directive parsing. The auth users parser uses comma-only tokenization when splitting the user list, which fails to correctly handle entries of the form @Group Name where the group name contains a space. The space within the group name causes the parser to split the entry at the space boundary, discarding the deny rule associated with the group. An authenticated user whose username or group membership would be denied by an @Group Name auth users entry can connect to a restricted module because the deny rule is silently discarded during parsing.

1 / 2
Source: Red Hat
First published (updated )
Severity
8.7
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

rsync 2.0.0 < 3.5.0 Connection Slot Exhaustion DoS via Handshake Stall

1 / 3
Source: Microsoft
First published (updated )
Severity
8.2
Race Condition
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

rsync before 3.5.0 contains a symlink race condition vulnerability in the sender's directory scanning logic that allows attackers to cause the sender to enumerate and transfer files outside the module root's intended subtree. Attackers who can create or manipulate symlinks in a path component of the scanned tree can replace a symlink with a directory entry pointing outside the module root between the lstat() call and the subsequent opendir() call, exposing files beyond the intended root in both daemon-mode and non-daemon sender-side scanning.

First published (updated )
Severity
5.7
Race Condition
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

rsync before 3.5.0 contains a symlink race condition vulnerability in the --remove-source-files feature that allows attackers with symlink creation access to cause arbitrary file deletion. Attackers can atomically substitute a symlink for a source file between transfer completion and the unlink() call, causing rsync to delete the symlink target rather than the intended source file.

First published (updated )
Severity
7.2
Race Condition
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

rsync before 3.5.0 contains a symlink race condition vulnerability that allows local attackers to cause rsync to apply arbitrary ACLs or extended attributes to unintended files by substituting a symlink at a predictable destination path between the file write and the subsequent aclsetfile() or lsetxattr() call. Attackers can exploit this timing window to redirect ACL and xattr application through a crafted symlink to files outside the intended destination tree, potentially granting elevated permissions and enabling local privilege escalation.

First published (updated )
Severity
5.7
Race Condition
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

rsync before 3.5.0 contains a symlink race condition vulnerability in the sender's source tree traversal that allows an attacker who can manipulate a parent directory of the source tree to redirect file reads to unintended paths. Attackers can atomically replace a parent directory component with a symlink pointing outside the source root between path resolution and file open operations to disclose file contents outside the intended transfer root.

First published (updated )
Severity
5.8
Race Condition
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H

rsync before 3.5.0 contains a time-of-check to time-of-use (TOCTOU) race condition vulnerability in the non-daemon receiver's destination directory handling that allows an attacker who can manipulate destination path parent components to redirect file writes to unintended locations. Attackers can substitute a symlink for a component of the destination path between the path resolution and chdir() call, causing the receiver's working directory to be established outside the intended destination tree so that subsequent relative-path file writes land in unintended filesystem locations.

First published (updated )
Severity
7.2
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

rsync before 3.5.0 contains an arbitrary file write vulnerability that allows attackers to write files outside the intended destination tree by specifying an absolute path via --temp-dir or --link-dest options. The rename-confinement logic is bypassed when these options resolve to paths outside the destination tree, enabling attacker-controlled values to write files to arbitrary locations accessible to the rsync process.

1 / 2
Source: Red Hat
First published (updated )
Severity
6.9
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

rsync before 3.5.0 contains a logic error in --max-alloc handling that allows a sender or configuration setting --max-alloc=0 to disable allocation sanity checks entirely rather than enforcing a zero-byte cap. Attackers can exploit this flaw to cause the receiver to attempt unbounded memory allocations for file list and data structures, potentially exhausting available memory and causing a denial of service.

First published (updated )
Severity
9.1
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

rsync before 3.5.0 contains a path confinement bypass vulnerability that allows remote clients to escape the intended inner-module root confinement by constructing paths that resolve outside the chroot boundary when the module root contains a /./ boundary marker. Attackers can exploit improper handling of the /./ notation or forge delta-basis transfers referencing xname paths that cross the /./ boundary to gain unauthorized read or write access to files outside the module's subtree.

1 / 2
Source: Red Hat
First published (updated )
Severity
7.1
Out-of-bounds Read
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

rsync before 3.5.0 contains an out-of-bounds read vulnerability in the sender-side block matching logic that allows a malicious receiver to trigger memory access before the start of an allocated buffer by sending a crafted checksum block with a length of zero. Attackers can send a specially crafted checksum set containing a zero-length block to cause a negative offset calculation during delta computation, resulting in an out-of-bounds read of file data buffer memory on the sender side.

First published (updated )
Severity
9.1
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

rsync daemon before 3.5.0 contains an IP address spoofing vulnerability that allows unauthenticated remote attackers to bypass IP-based access controls by sending a crafted PROXY protocol header with a forged source address. Attackers who can connect directly to the rsync daemon can inject a spoofed source IP in the PROXY protocol header to circumvent hosts allow/deny rules, gaining unauthorized access that would otherwise be blocked based on their real source address.

1 / 2
Source: Red Hat
First published (updated )
Severity
9.2
OS Command Injection
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

rsync before 3.5.0 contains multiple command and argument injection vulnerabilities that allow attackers to execute arbitrary commands by supplying malicious input through several code paths, including the RSYNCCONNECTPROG environment variable, daemon hooks, the rsync-ssl wrapper, and remote-shell command newline injection. Attackers can inject shell metacharacters or newline characters into unsanitized user-supplied values such as hostnames and hostspecs to execute arbitrary commands under the privileges of the rsync process or the invoking user.

1 / 2
Source: Red Hat
First published (updated )
Severity
7.1
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

rsync before 3.5.0 contains an improper path handling vulnerability that allows a malicious sender to expand the scope of --delete operations beyond the intended destination subtree by sending a crafted file list that causes rsync to reclassify implied parent directory entries or treat synthetic paths as the transfer root. Attackers can exploit multiple variants including implied parent reclassification, synthetic root path construction, legacy protocol behavior below version 30, and non-directory root handling to cause the receiver to delete files outside the authorized destination directory.

1 / 2
Source: Red Hat
First published (updated )

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203