It was reported [1] that lsyncd is vulnerable to command injection. If a filename has "`" (backticks), what betwwen backticks will be executed with lsyncd process privileges. Upstream patch is at [2]. [1]: https://github.com/axkibe/lsyncd/issues/220 [2]: https://github.com/creshal/lsyncd/commit/18f02ad013b41a72753912155ae2ba72f2a53e52
Created lsyncd tracking bugs for this issue: Affects: epel-all [bug 1165079] Affects: fedora-all [bug 1165080]
CVE request: http://www.openwall.com/lists/oss-security/2014/11/19/1
MITRE assigned CVE-2014-8990 to this issue: http://seclists.org/oss-sec/2014/q4/699 Note that there is a concern from MITRE that the fix is incomplete: The MITRE CVE team does not have a Lua expert. The code change adds: local path1 = event.path:gsub ('"', '\\"'):gsub ('`', '\\`'):gsub ('%$','\\%$') local path2 = event2.path:gsub ('"', '\\"'):gsub ('`', '\\`'):gsub ('%$','\\%$') This does not seem to be the typical fix approach for unsafe input to a shell. Has anyone concluded that this is an incomplete fix that ought to be modified before the 2.1.6 release?
(In reply to Martin Prpic from comment #3) > MITRE assigned CVE-2014-8990 to this issue: > > http://seclists.org/oss-sec/2014/q4/699 > > Note that there is a concern from MITRE that the fix is incomplete: > An alternate patch was proposed on oss-sec: http://seclists.org/oss-sec/2014/q4/796
lsyncd-2.1.4-4.fc20.1 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
lsyncd-2.1.4-4.fc19.1 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
lsyncd-2.1.5-6.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
lsyncd-2.1.5-6.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
lsyncd-2.1.4-4.el5.1.1 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.
lsyncd-2.1.4-4.el6.1.1 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
lsyncd-2.1.5-0.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
This should be resolved now in all versions available in fedora/epel.