CVE-2021-3987: Improper Access Control in janeczku/calibre-web
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
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2021-3987?
CVE-2021-3987 is classified as a medium severity vulnerability due to improper access control.
How do I fix CVE-2021-3987?
To fix CVE-2021-3987, update calibre-web to version 0.6.15 or later.
What causes CVE-2021-3987?
CVE-2021-3987 is caused by the `create_shelf` method in `shelf.py` not verifying user permissions properly.
Who is affected by CVE-2021-3987?
Users of calibre-web versions prior to 0.6.15 are affected by CVE-2021-3987.
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.