Vulnerabilities · 2021 · Janeczku
CVE-2021-3987
Janeczku Calibre-web vulnerability
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 products
Calibre-web. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Janeczku Calibre-web runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/janeczku/calibre-web/commit/bcdc97641447965af486964537f3821f47b28874 · Patch
- huntr.com/bounties/29fcc091-87b6-43bc-ab4b-3c0bec3f71df · Exploit
- nvd.nist.gov/vuln/detail/CVE-2021-3987
- github.com/advisories/GHSA-fj5v-w2jp-wqvj
- nvd.nist.gov/vuln/detail/CVE-2021-3987
- cve.org/CVERecord?id=CVE-2021-3987
More vulnerabilities in Janeczku products
CVE-2025-65858CVE-2025-7404CVE-2024-39123CVE-2023-2106CVE-2022-30765CVE-2022-2525CVE-2022-0990CVE-2022-0939All 24
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.