Bugzilla – Bug 943223
VUL-1: CVE-2015-6918: salt: git state leaking authentication details to log (CWE-532)
Last modified: 2015-10-26 21:05:27 UTC
The Salt 2015.5.5 release notes contain the following: http://docs.saltstack.com/en/latest/topics/releases/2015.5.5.html > PR #26486: (thusoy) Git: Don't leak https user/pw to log @ 2015-08-20T16:04:52Z > > ISSUE #26484: (thusoy) Git state leaks HTTPS user/pw to log | refs: #26486 > ISSUE #26482: (thusoy) Git states doesn't allow user-only auth | refs: #26483 > PR #26483: (thusoy) Handle user-only http auth in git module | refs: #26486 https://github.com/saltstack/salt/issues/26484 > Calling git.clone with https user/pass will leak the authentication details to the log. https://github.com/saltstack/salt/commit/28aa9b105804ff433d8f663b2f9b804f2b75495a > Git: Don't leak https user/pw to log This pretty much matches this common weakness: CWE-532: Information Exposure Through Log Files https://cwe.mitre.org/data/definitions/532.html
Asked salt security team for whether they are planning an advisory.
https://bugzilla.redhat.com/show_bug.cgi?id=1257154
bugbot adjusting priority
More fixes on this issue will be in 2015.5.6, upstream said there will be an announcement and a CVE.
Upstream: 2014.7 branch is not vulnerable.
upstream patch https://github.com/saltstack/salt/commit/28aa9b105804ff433d8f663b2f9b804f2b75495a Which codebase is affected?
openSUSE:13.1 salt 0.16.4 not affected openSUSE:13.2 salt 2014.1.11 not affected openSUSE:Factory salt 2015.5.5 affected devel:languages:python/salt 2015.5.5 affected
@andreas stieger, thanks for looking into this, I will package 2015.5.6 as soon as the tarball is released
fixed with update to version 2015.8.0 https://build.opensuse.org/request/show/333025
This re-appeared in 2015.5.6 and 2015.8.1 release notes so there may be further fixes: https://docs.saltstack.com/en/latest/topics/releases/2015.5.6.html https://docs.saltstack.com/en/latest/topics/releases/2015.8.1.html > Fix global key management for git state We must assume openSUSE:Leap:42.1/salt 2015.8.0 to be affected.
opensuse leap has just updated to 2015.8.1 https://build.opensuse.org/package/show?project=openSUSE%3ALeap%3A42.1&package=salt
Brilliant, closing.