{"id":"GHSA-fj5v-w2jp-wqvj","summary":"Improper Access Control in janeczku/calibre-web","details":"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.","aliases":["CVE-2021-3987"],"modified":"2024-11-19T21:01:18.559728Z","published":"2024-11-15T12:31:44Z","database_specific":{"cwe_ids":["CWE-284","CWE-862"],"github_reviewed_at":"2024-11-15T20:51:30Z","severity":"MODERATE","nvd_published_at":"2024-11-15T11:15:06Z","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3987"},{"type":"WEB","url":"https://github.com/janeczku/calibre-web/commit/bcdc97641447965af486964537f3821f47b28874"},{"type":"PACKAGE","url":"https://github.com/janeczku/calibre-web"},{"type":"WEB","url":"https://huntr.com/bounties/29fcc091-87b6-43bc-ab4b-3c0bec3f71df"}],"affected":[{"package":{"name":"calibreweb","ecosystem":"PyPI","purl":"pkg:pypi/calibreweb"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.15"}]}],"versions":["0.6.12","0.6.13","0.6.14"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/11/GHSA-fj5v-w2jp-wqvj/GHSA-fj5v-w2jp-wqvj.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"}]}