Bitwarden Self-Hosted Docker Image contains Vulnerable Package Installed.
Steps To Reproduce
All bitwarden docker images was scanned via Trivy scanner and here are the findings:
| Vulnerable Package / Old version | CVE | Severity |
|---|---|---|
| Microsoft.AspNetCore.App.Runtime.linux-x64 | CVE-2022-38013 | HIGH |
| System.Drawing.Common | CVE-2021-24112 | CRITICAL |
| zlib1g | CVE-2022-37434 | CRITICAL |
| NuGet.Protocol | CVE-2022-41032 | HIGH |
also system packages installed running on older version.
Expected Result
All packages installed in the docker images running on latest version.
Actual Result
Getting High and Critical findings from Trivy, which the docker images running on old version and vulnerable packages
Screenshots or Videos
No response
Additional Context
No response
Build Version
2023.2.0
Environment
Self-Hosted
Environment Details
- Environment : Kubernetes 1.25
Issue Tracking Info
- [ ] I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
Hello,
Thank you for your report! Please note that vulnerability scans that check package versions are often inaccurate as they do not look at backported fixes distributed by distribution vendors or other upstream sources.
I will flag this for further review from our development team. Please also note that we run a HackerOne program where you can submit any type of vulnerability report for analysis from our team:
https://hackerone.com/bitwarden
Since a few days even google chrome states a "secure browsing" error and says that the site is considered as dangerous and not secure. This also happens on a completly new setup url/port. As soon as I switch the docker package behind that url/port to something new it runs just smooth without a warning.
Hi, i was check the docker imageof bitwarden/setup and I have 5 critical vulenrbaility on this images, do you have more informaiton about the patch management of this vulenrbaility ?
Thank you
@D-orlando84 this is a misidentification. The Bitwarden setup image does not contain the Golang runtime. It does, however, contain a utility called gosu which allows Bitwarden to run application code as a non-privileged user. This is often misidentified as the Golang runtime, and tagged based on similar version numbers as having a vulnerability. As the Golang runtime is not included in the image, the Bitwarden container is not vulnerable to these CVEs.