CVE-2004-2093 Memory corruption in n/a
Local attackers can trigger a buffer overflow via a long environment variable, causing a crash or potential code execution in rsync.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2004-2093?
CVE-2004-2093 is a medium-severity memory corruption vulnerability in n/a, published on 19 May 2005. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Buffer overflow in the open_socket_out function in socket.c for rsync 2.5.7 and earlier allows local users to cause a denial of service (crash) and possibly execute arbitrary code via a long RSYNC_PROXY environment variable. NOTE: since rsync is not setuid, this issue does not provide any additional privileges beyond those that are already available to the user. Therefore this issue may be REJECTED in the future.
Which versions are affected by CVE-2004-2093?
How do I fix CVE-2004-2093?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2004-2093 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-2093 exists.
Public exploit code: 1 Exploit-DB entry.
Sources
Also known as DEBIAN-CVE-2004-2093, GHSA-2h3h-37pp-x96w.