diff options
author | Mathijs van Veluw <[email protected]> | 2024-08-11 19:39:56 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-08-11 19:39:56 +0200 |
commit | b557c117247b0def307623b22203bd09c89bf05f (patch) | |
tree | 643823931b4d9a662286f79beb43965d8f7fdcca /build.rs | |
parent | a1204cc9350366a06d9a2dc8554aedf43aa6f442 (diff) | |
download | vaultwarden-1.32.0.tar.gz vaultwarden-1.32.0.zip |
Fix data disclosure on organization endpoints (#4837)1.32.0
- All users were able to request organizational details from any org,
even if they were not a member (anymore).
Now it will check if that user is a member of the org or not.
- The `/organization/<uuid>/keys` endpoint returned also the private keys.
This should not be the case. Also, according to the upstream server
code the endpoint changed, but the clients do not seem to use it.
I added it anyway just in case they will in the future.
- Also require a valid login before being able to retreve those org
keys. Upstream does not do this, but i see no reason why not.
Fixes: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-39925
Diffstat (limited to 'build.rs')
0 files changed, 0 insertions, 0 deletions