Vulnerability · Published Nov 15, 2024 · Assigned by @huntr_ai
CVE-2021-3987Improper Access Control in janeczku/calibre-web
Medium 5.4
In plain English
A medium-severity improper access control in janeczku/calibre-web from janeczku. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | calibreweb | 0.6.15 | GHSA-fj5v-w2jp-wqvj |
| PyPI | calibreweb | 0.6.15 | PYSEC-2026-1229 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| janeczku | janeczku/calibre-web | unspecified – through latest |
Weakness: CWE-284 · Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N