CVE-2024-39924
An issue was discovered in Vaultwarden (formerly Bitwarden_RS) 1.30.3. A vulnerability has been identified in the authentication and authorization process of the endpoint responsible for altering the metadata of an emergency access. It permits an attacker with granted emergency access to escalate their privileges by changing the access level and modifying the wait time. Consequently, the attacker can gain full control over the vault (when only intended to have read access) while bypassing the necessary wait period.
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-39924 |
| Alpine Linux 3.23 | vaultwarden | Fixed | 1.32.0-r0 | ALPINE-CVE-2024-39924 |
| Alpine Linux 3.22 | vaultwarden | Fixed | 1.32.0-r0 | ALPINE-CVE-2024-39924 |
| Alpine Linux 3.21 | vaultwarden | Fixed | 1.32.0-r0 | ALPINE-CVE-2024-39924 |
| Alpine Linux 3.20 | vaultwarden | Fixed | 1.32.0 | ALPINE-CVE-2024-39924 |
References
- https://github.com/dani-garcia/vaultwarden/blob/1.30.3/src/api/core/emergency_access.rs#L115-L148
- https://github.com/dani-garcia/vaultwarden/releases/tag/1.32.0
- https://www.mgm-sp.com/cve/missing-authentication-check-for-emergency-access
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.