CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Samba

CVE-2024-12087
Samba Rsync vulnerability

A path traversal vulnerability exists in rsync. It stems from behavior enabled by the `--inc-recursive` option, a default-enabled option for many client options and can be enabled by the server even if not explicitly enabled by the client. When using the `--inc-recursive` option, a lack of proper symlink verification coupled with deduplication checks occurring on a per-file-list basis could allow a server to write files outside of the client's intended destination directory. A malicious server could write malicious files to arbitrary locations named after valid directories/paths on the client.

Affected products

Rsync, Almalinux, Arch Linux, Linux, Nixos, Suse Linux, Smartos, Enterprise Linux, Enterprise Linux Eus, Enterprise Linux For Arm 64 and more. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Samba Rsync runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Samba products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.