CVE-2024-55225: Vaultwarden Vaultwarden Vulnerable To User Impersonation Vulnerability
HIGHCVE-2024-55225 is a HIGH vaultwarden vulnerable to user impersonation vulnerability (CWE-863: Incorrect Authorization) affecting Vaultwarden libraries in the crates.io ecosystem. The issue involves vaultwarden vulnerable to user impersonation. Remediation is available by upgrading affected packages to version 1.32.5.
CVE-2024-55225 at a Glance
How to Fix CVE-2024-55225
To remediate this vulnerability, upgrade all affected Vaultwarden dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade vaultwarden to 1.32.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for vaultwarden
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-55225, inspect your project dependencies for Vaultwarden:
inspect dependencies for vaultwarden
Analyze the terminal output to locate any version of Vaultwarden in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.32.5), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Vaultwarden, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-55225 Affected Vaultwarden Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
vaultwarden
|
crates.io |
< 1.32.5
|
1.32.5
|
References
Frequently Asked Questions
What is CVE-2024-55225?
Which Vaultwarden versions are affected?
What version fixes CVE-2024-55225?
Is vaultwarden affected?
What CWE is associated with CVE-2024-55225?
How can I check crates.io dependencies for CVE-2024-55225?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-x7m9-mv49-fv73",
"modified" : "2025-01-10T18:38:01Z",
"published" : "2025-01-09T21:31:32Z",
"aliases" : [ "CVE-2024-55225" ],
"summary" : "Vaultwarden vulnerable to user impersonation",
"details" : "An issue in the component src/api/identity.rs of Vaultwarden prior to v1.32.5 allows attackers to impersonate users, including Administrators, via a crafted authorization request.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "vaultwarden"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.32.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-55225"
}, {
"type" : "WEB",
"url" : "https://github.com/dani-garcia/vaultwarden/commit/20d9e885bfcd7df7828d92c6e59ed5fe7b40a879"
}, {
"type" : "WEB",
"url" : "https://github.com/dani-garcia/vaultwarden/commit/37c14c3c69b244ec50f5c62b4c9260171607c1d8"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/dani-garcia/vaultwarden"
}, {
"type" : "WEB",
"url" : "https://github.com/dani-garcia/vaultwarden/releases/tag/1.32.4"
}, {
"type" : "WEB",
"url" : "https://github.com/dani-garcia/vaultwarden/releases/tag/1.32.5"
}, {
"type" : "WEB",
"url" : "https://insinuator.net/2024/11/vulnerability-disclosure-authentication-bypass-in-vaultwarden-versions-1-32-5"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-276", "CWE-863" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-01-09T23:13:58Z",
"nvd_published_at" : "2025-01-09T21:15:29Z"
}
}