CVE-2021-3987: Improper Access Control in janeczku/calibre-web
5.4
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.12338%
CWE
Published
11/15/2024
Updated
11/19/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| calibreweb | pip | < 0.6.15 | 0.6.15 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability documentation explicitly identifies the create_shelf method in shelf.py as the source of the flaw. The GitHub commit diff shows the patch added a permission check (current_user.role_edit_shelfs()) specifically in this function for POST requests. The absence of this authorization check in pre-patch versions directly matches the CWE-284 and CWE-862 descriptions of missing access control.