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.

Severity (CVSS 3.0)5.4Medium
Exploit odds (30 days)0.3%top 71.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
PyPIcalibreweb0.6.15GHSA-fj5v-w2jp-wqvj
PyPIcalibreweb0.6.15PYSEC-2026-1229

Affected products (as reported)

VendorProductVersions
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

References