-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[🐛 Bug]: The environment variable SE_VNC_PASSWORD contains sensitive data #2060
Comments
@mrbusche, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
It has been always hardcoded somewhere, before it was in the script, and now in the Dockerfile. Why is that different now? |
Now it's an explicit ENV variable being set, I don't believe that was the previous functionality based on the commit history I have looked at. |
Before it was RUN mkdir -p ${HOME}/.vnc \
&& x11vnc -storepasswd secret ${HOME}/.vnc/passwd I guess the scan tool evaluates it as ENV and contains PASSWORD or something. |
We have "allowed" the specific image to run, so we're not at a hard stop. If you could fix for the next release that would be great. |
@mrbusche, may I know any vulnerability reported in Base image at line |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
What happened?
In #2056 an environment variable
SE_VNC_PASSWORD
was added which is flagged by security scanners. The first release with this commit is https://github.com/SeleniumHQ/docker-selenium/releases/tag/4.16.1-20231212If I create the image locally as is with
ENV SE_VNC_PASSWORD=secret
the secret is flagged. If I create withENV SE_VNC_PASSWORD=
then it is not flagged. Is it possible to set the variable without a default value?Command used to start Selenium Grid with Docker (or Kubernetes)
Relevant log output
Operating System
all
Docker Selenium version (tag or chart version)
4.16.1-20231212
The text was updated successfully, but these errors were encountered: