Gentoo: GLSA-201709-17: CVS: Command injection
Summary
It was discovered that when CVS is configured to use SSH for remote repositories it allows remote attackers to execute arbitrary code through a repository URL with a specially crafted hostname.
Resolution
All CVS users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-vcs/cvs-1.12.12-r12"
References
[ 1 ] CVE-2017-12836 https://nvd.nist.gov/nvd.cfm?cvename=CVE-2017-12836
Availability
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
https://security.gentoo.org/glsa/201709-17
Concerns
Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users' machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.
Background
CVS (Concurrent Versions System) is an open-source network-transparent version control system. It contains both a client utility and a server.
Affected Packages
------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 dev-vcs/cvs < 1.12.12-r12 >= 1.12.12-r12
Impact
===== A remote attacker, by enticing a user to clone a specially crafted repository, could possibly execute arbitrary code with the privileges of the process.
Workaround
There is no known workaround at this time.