Medium severity · published Nov 15, 2024
CVE-2021-3987
An improper access control vulnerability exists in janeczku/calibre-web
4.3
CVSS
0.3%
EPSS
No
On KEV
Description
An improper access control vulnerability exists in janeczku/calibre-web. The affected version allows users without public shelf permissions to create public shelves. The vulnerability is due to the `create_shelf` method in `shelf.py` not verifying if the user has the necessary permissions to create a public shelf. This issue can lead to unauthorized actions being performed by users.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 28% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CA
Calibre-web · Janeczku
before 0.6.15 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-3987
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-3987
Patch
https://github.com/janeczku/calibre-web/commit/bcdc97641447965af486964537f3821f47b28874
Exploit
https://huntr.com/bounties/29fcc091-87b6-43bc-ab4b-3c0bec3f71df
More from Calibre-web
9.9
CVE-2022-0939
Server-Side Request Forgery (SSRF) in GitHub repository janeczku/calibre-web prior to 0.6.18
9.9
CVE-2022-0767
Server-Side Request Forgery (SSRF) in GitHub repository janeczku/calibre-web prior to 0.6.17
9.8
CVE-2025-7404
Calibre Web 0.6.24 & Autocaliweb 0.7.0 - Blind C
9.8
CVE-2023-2106
Weak Password Requirements in GitHub repository janeczku/calibre-web prior to 0.6.20
9.8
CVE-2022-2525
Improper Restriction of Excessive Authentication Attempts in GitHub repository janeczku/calibre-web prior to 0.6.20
