CVE-2024-39925
An issue was discovered in Vaultwarden (formerly Bitwarden_RS) 1.30.3. It lacks an offboarding process for members who leave an organization. As a result, the shared organization key is not rotated when a member departs. Consequently, the departing member, whose access should be revoked, retains a copy of the organization key. Additionally, the application fails to adequately protect some encrypted data stored on the server. Consequently, an authenticated user could gain unauthorized access to encrypted data of any organization, even if the user is not a member of the targeted organization. However, the user would need to know the corresponding organizationId. Hence, if a user (whose access to an organization has been revoked) already possesses the organization key, that user could use the key to decrypt the leaked data.
What to do
Fixed builds are available from Alpine: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Alpine Linux 3.24 | vaultwarden | Fixed | 1.32.0-r0 | ALPINE-CVE-2024-39925 |
| Alpine Linux 3.23 | vaultwarden | Fixed | 1.32.0-r0 | ALPINE-CVE-2024-39925 |
| Alpine Linux 3.22 | vaultwarden | Fixed | 1.32.0-r0 | ALPINE-CVE-2024-39925 |
| Alpine Linux 3.21 | vaultwarden | Fixed | 1.32.0-r0 | ALPINE-CVE-2024-39925 |
| Alpine Linux 3.20 | vaultwarden | Fixed | 1.32.0 | ALPINE-CVE-2024-39925 |
References
- https://github.com/dani-garcia/vaultwarden/releases
- https://github.com/dani-garcia/vaultwarden/releases/tag/1.32.0
- https://www.mgm-sp.com/cve/missing-rotation-of-the-organization-key
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.