On 2013-07-03 08:06, martin f krafft wrote:
> also sprach Peng Zhao <
peng...@madeiracloud.com> [2013.07.03.1127
> +0200]:
>> Sounds like there are some security issues to do so and Salt's code
>> has some bugs that makes it vulnerable.
>
> At the moment, there are no known bugs, but it is true that Salt ues
> homebrew, which isn't really optimal.
>
> There's a discussion at
>
https://github.com/saltstack/salt/commit/5dd304276ba5745ec21fc1e6686a0b28da29e6fc
>
> And I created an issue to track progress on switching Salt to TLS:
While I'm no crypto geek, I'm not so sure TLS is something to be so
warm and fuzzy about - would we really be much better with the flaws TLS
has had over the last few years? Am I mistaken and ignorant of updates
for which these issues are no longer of concern? From my research, TLS
can be locked down and holes plugged (to some degree) through specific
configuration, but this does not seem to be sufficient or to be relied
upon.
There many more enlightening posts/articles available, but here is one
with info on the topic:
https://community.qualys.com/blogs/securitylabs/2013/03/19/rc4-in-tls-is-broken-now-what
Maybe it is considered the safer option, given that we know more about
its vulnerabilities?
Overall, it seems that the responsible thing to do would be to run salt
as is, over a crypt'd network linked via OpenVPN or IPSec? (provided you
could handle client/server configuration as needed). Salt should
definitely use less home brew in this area, and more common practice
with standard libraries, but maybe this is also the space where we
invest in helping libzmq secure itself.
Firewall filtering could be added on top of this, to only allow traffic
from the secured VPN subnet, and if you wanted to be really responsible,
having that also setup/run through a dedicated firewall (and not just
software running on the master). I would feel more comfortable with this
type of setup than putting salt through TLS. In fact, I would probably
still apply the above with salt on TLS, so that, as the mod noted
concern for, salt were not a service running 'out in the open' on de
tubez.
Thoughts / criticisms?