-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to retrieve Ark server version #770
Comments
@mattmoyer Hey Matt, do you see this kind of feature being a security concern? One point that was brought up was that if there's an endpoint for the version, a client could do version sniffing and then use known vulnerabilities. I'm wondering if it's really that much different than |
Thinking about this more, it's probably ok (especially since Getting the request from the client to the ark server pod could be challenging, depending on the networking setup. We should assume that most invocations of We may want to consider adding new configuration options to
We also will want to be careful not to expose the metrics endpoint - presumably that should remain private/protected (although as I understand it, if you run a pod on the cluster and there aren't any network policy rules, the pod can access the metrics endpoint, and we don't have any authn/authz for it...). |
Decision: add a |
@nrb I don't think it's a serious security concern. It can be nice to avoid version fingerprinting for publicly-exposed services, but for something like Ark (or the Kubernetes API) that's generally only exposed internally, I think it's generally accepted that the inspectability is worth making it easier to fingerprint. |
Right now, it's not immediately apparent that the output of
ark version
is the client only, and getting the version of the server is done viakubectl
.We should consider adding an endpoint so the client can report the version, much in the same way
kubectl version
works.The text was updated successfully, but these errors were encountered: