{"id":"CVE-2021-3986","published":"2024-11-15T10:52:21Z","modified":"2024-11-15T18:31:36Z","title":"Information Disclosure in janeczku/calibre-web","vendor":"janeczku","product":"janeczku/calibre-web","tier":"tail","description":{"text":"A vulnerability in janeczku/calibre-web allows unauthorized users to view the names of private shelves belonging to other users. This issue occurs in the file shelf.py at line 221, where the name of the shelf is exposed in an error message when a user attempts to remove a book from a shelf they do not own. This vulnerability discloses private information and affects all versions prior to the fix.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00371,"percentile":0.31806,"provenance":"source"},"cwes":[{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information"}],"references":[{"url":"https://huntr.com/bounties/394af194-61a7-4e33-b373-877d4c766fca","tags":[]},{"url":"https://github.com/janeczku/calibre-web/commit/6f5390ead5df9779ac81fadefffb476e03f93548","tags":[]}],"priority":{"score":9.4,"factors":[{"name":"EPSS percentile","points":6.36},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"janeczku","affectedVersions":[{"vendor":"janeczku","product":"janeczku/calibre-web","versions":[">= unspecified, <= latest"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-11-15T18:30:20.257151Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"calibreweb","vulnerableRanges":["<0.6.15"],"patched":["0.6.15"],"from":["GHSA-m982-h4f8-g4hf","PYSEC-2026-1232"],"provenance":"source"}],"summary":{"text":"A flaw in janeczku/calibre-web's shelf.py (around line 221) causes the name of a private shelf belonging to another user to be exposed in an error message. An attacker with low-privilege authenticated access to the application can trigger this by attempting to remove a book from a shelf they do not own, revealing the shelf's name without any user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:09:55Z"},"euvd":{"id":"EUVD-2024-3282","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-janeczku-calibre-web-cve-2021-25964","parents":[{"from":"CVE-2021-4164","to":"CVE-2021-3986","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["cps/shelf.py"],"commits":["https://github.com/janeczku/calibre-web/commit/6f5390ead5df9779ac81fadefffb476e03f93548","https://github.com/janeczku/calibre-web/commit/785726deee13b4d56f6c3503dd57c1e3eb7d6f30"],"basis":"shared function","functions":["search_to_shelf"]}]},{"from":"CVE-2022-0939","to":"CVE-2021-3986","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["cps/db.py"],"commits":["https://github.com/janeczku/calibre-web/commit/6f5390ead5df9779ac81fadefffb476e03f93548","https://github.com/janeczku/calibre-web/commit/4545f4a20d9ff90b99bbd4e3e34b6de4441d6367"],"basis":"shared function","functions":["speaking_language"]}]},{"from":"CVE-2022-0990","to":"CVE-2021-3986","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["cps/db.py"],"commits":["https://github.com/janeczku/calibre-web/commit/6f5390ead5df9779ac81fadefffb476e03f93548","https://github.com/janeczku/calibre-web/commit/4545f4a20d9ff90b99bbd4e3e34b6de4441d6367"],"basis":"shared function","functions":["speaking_language"]}]}],"children":[{"from":"CVE-2021-3986","to":"CVE-2021-3987","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["cps/shelf.py"],"commits":["https://github.com/janeczku/calibre-web/commit/6f5390ead5df9779ac81fadefffb476e03f93548","https://github.com/janeczku/calibre-web/commit/bcdc97641447965af486964537f3821f47b28874"],"basis":"shared function","functions":["remove_from_shelf"]}]}]}}