Are they for real with that curl? Normalize better security practices!
I think it's contrary to currently-recommended ops practice (clearly imperative rather than nominally declarative), but how is it bad security practice? If you don't trust the origin, it's not like saving to a temporary file first is going to help you. Unless you're suggesting that everyone should always do their own code review and then compile from source...
Kubernetes ingress-nginx controller vulnerability
21–30 of 52 posts
Re: Kubernetes ingress-nginx controller vulnerability
#22> Hey Everyone, here's a high severity vulnerability report, to check for it, run the folliowing: curl -s https://raw.githubusercontent.com/noideawhatyourerunning/ins... |/bin/bash .... oh man
Here is presumably a security company, in their own blog post outlining a high-severity vulnerability alert, advocating that you run untrusted code from some rando GitHub repo. It also outlines my fear about dealing with some "security consultants", because on the one hand they outline all of the things you need to "box check" for some security audit, but at the same time leave you less secure because they've just opened another giant gaping attack surface for your company - this is exactly what happened with the SolarWinds attack.
Re: Kubernetes ingress-nginx controller vulnerability
#23Are they for real with that curl? Normalize better security practices!
I will argue until the day I die: curl | bash is actually more secure than most traditional software delivery mechanisms. Slightly, but meaningfully. With curl | bash, the URL of the bash script is right there. I can copy it, plug it into my browser, and inspect with ease the shell script that will run. If its on Github or a similar site, I can see in plain language the exact organization who published it (I wouldn't…
Re: Kubernetes ingress-nginx controller vulnerability
#24Are they for real with that curl? Normalize better security practices!
I will argue until the day I die: curl | bash is actually more secure than most traditional software delivery mechanisms. Slightly, but meaningfully. With curl | bash, the URL of the bash script is right there. I can copy it, plug it into my browser, and inspect with ease the shell script that will run. If its on Github or a similar site, I can see in plain language the exact organization who published it (I wouldn't…
Re: Kubernetes ingress-nginx controller vulnerability
#25Earlier quoted context omitted.
> but how is it bad security practice? Companies / organizations / team members go rogue sometimes. We've seen this even recently with e.g. kicad, freenode, the timezone database, etc. Just because you trust the source doesn't mean you should trust all of the scripts they tell you to run. Even if it's a good-faith script, you have no idea if it's making assumptions about your system that are not true and opening you…
> Curl to a file first, inspect the script, consider it within the context of your own system, then run it if you deem it's safe. But you can still do that if you want? It is not like this is a hidden executable or something.
Re: Kubernetes ingress-nginx controller vulnerability
#26Can we fix the title to include ingress-nginx instead? The upstream URL seems more clear as well: https://github.com/kubernetes/ingress-nginx/issues/7837
Re: Kubernetes ingress-nginx controller vulnerability
#27Re: Kubernetes ingress-nginx controller vulnerability
#28Re: Kubernetes ingress-nginx controller vulnerability
#29> Hey Everyone, here's a high severity vulnerability report, to check for it, run the folliowing: curl -s https://raw.githubusercontent.com/noideawhatyourerunning/ins... |/bin/bash .... oh man
Don't forget to add a "sudo" in there for extra goodness. :D
Re: Kubernetes ingress-nginx controller vulnerability
#30> Hey Everyone, here's a high severity vulnerability report, to check for it, run the folliowing: curl -s https://raw.githubusercontent.com/noideawhatyourerunning/ins... |/bin/bash .... oh man
Honestly, this kind of made my blood boil, and just points out how difficult security can be. Here is presumably a security company , in their own blog post outlining a high-severity vulnerability alert , advocating that you run untrusted code from some rando GitHub repo. It also outlines my fear about dealing with some "security consultants", because on the one hand they outline all of the things you need to "box ch…