CVE-2021-3987: Improper Access Control in janeczku/calibre-web

Published Nov 15, 2024
·
Updated

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 createshelf 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 Software

2 affected componentsFixes available
pip/calibreweb<0.6.15
0.6.15
janeczku Calibre-Web<0.6.15

Event History

Nov 15, 2024
CVE Published
via MITRE·10:52 AM
Data Sourced
via MITRE·10:52 AM
DescriptionSeverityWeakness
Advisory Published
via GitHub·12:31 PM

Frequently Asked Questions

1

What is the severity of CVE-2021-3987?

CVE-2021-3987 is classified as a medium severity vulnerability due to improper access control.

2

How do I fix CVE-2021-3987?

To fix CVE-2021-3987, update calibre-web to version 0.6.15 or later.

3

What causes CVE-2021-3987?

CVE-2021-3987 is caused by the `create_shelf` method in `shelf.py` not verifying user permissions properly.

4

Who is affected by CVE-2021-3987?

Users of calibre-web versions prior to 0.6.15 are affected by CVE-2021-3987.

5

What happens if I don't fix CVE-2021-3987?

If CVE-2021-3987 is not fixed, unauthorized users may create public shelves, leading to potential data leakage.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203