Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 529678 (CVE-2014-8990)

Summary: <app-admin/lsyncd-2.1.6: command injection through backticks in a filename
Product: Gentoo Security Reporter: Agostino Sarubbo <ago>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED FIXED    
Severity: normal CC: dschridde+gentoobugs, maintainer-needed, patrick
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.redhat.com/show_bug.cgi?id=1165078
Whiteboard: B2 [glsa cve]
Package list:
Runtime testing required: ---
Bug Depends on: 562898    
Bug Blocks:    

Description Agostino Sarubbo gentoo-dev 2014-11-18 11:15:25 UTC
From ${URL} :

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


@maintainer(s): after the bump, in case we need to stabilize the package, please let us know if it is ready for the stabilization or not.
Comment 1 GLSAMaker/CVETool Bot gentoo-dev 2015-01-04 19:17:07 UTC
CVE-2014-8990 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-8990):
  default-rsyncssh.lua in Lsyncd 2.1.5 and earlier allows remote attackers to
  execute arbitrary commands via shell metacharacters in a filename.
Comment 2 Patrick Lauer gentoo-dev 2016-08-26 05:39:56 UTC
2.1.6 is in tree
Comment 3 Aaron Bauman (RETIRED) gentoo-dev 2017-02-01 09:27:06 UTC
GLSA request filed.
Comment 4 GLSAMaker/CVETool Bot gentoo-dev 2017-02-10 23:11:41 UTC
This issue was resolved and addressed in
 GLSA 201702-05 at https://security.gentoo.org/glsa/201702-05
by GLSA coordinator Thomas Deutschmann (whissi).