{"id":"CVE-2021-4164","published":"2022-01-17T12:35:10Z","modified":"2024-08-03T17:16:04Z","title":"Cross-Site Request Forgery (CSRF) in janeczku/calibre-web","vendor":"janeczku","product":"janeczku/calibre-web","tier":"tail","description":{"text":"calibre-web is vulnerable to Cross-Site Request Forgery (CSRF)","provenance":"source","from":"CVE.org"},"cvss":{"score":7.6,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00563,"percentile":0.47584,"provenance":"source"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"references":[{"url":"https://huntr.dev/bounties/2debace1-a0f3-45c1-95fa-9d0512680758","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/janeczku/calibre-web/commit/785726deee13b4d56f6c3503dd57c1e3eb7d6f30","tags":["x_refsource_MISC"]}],"priority":{"score":14.8,"factors":[{"name":"EPSS percentile","points":9.52},{"name":"CVSS severity","points":5.32}]},"vendorSlug":"janeczku","affectedVersions":[{"vendor":"janeczku","product":"janeczku/calibre-web","versions":[">= unspecified, < 0.6.15"]}],"affected":[{"ecosystem":"PyPI","package":"calibreweb","vulnerableRanges":["<0.6.15"],"patched":["0.6.15"],"from":["GHSA-wxr6-29pv-ch68","PYSEC-2026-621"],"provenance":"source"}],"euvd":{"id":"EUVD-2022-0734","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-janeczku-calibre-web-cve-2021-25964","children":[{"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-2021-4164","to":"CVE-2022-0339","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["cps/admin.py","cps/editbooks.py","cps/kobo_auth.py","cps/static/js/main.js"],"commits":["https://github.com/janeczku/calibre-web/commit/785726deee13b4d56f6c3503dd57c1e3eb7d6f30","https://github.com/janeczku/calibre-web/commit/3b216bfa07ec7992eff03e55d61732af6df9bb92","https://github.com/janeczku/calibre-web/commit/35f6f4c727c887f8f3607fe3233dbc1980d15020"],"basis":"rarely changed file"}]},{"from":"CVE-2021-4164","to":"CVE-2022-0405","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["cps/admin.py","cps/editbooks.py","cps/kobo_auth.py","cps/static/js/main.js"],"commits":["https://github.com/janeczku/calibre-web/commit/785726deee13b4d56f6c3503dd57c1e3eb7d6f30","https://github.com/janeczku/calibre-web/commit/3b216bfa07ec7992eff03e55d61732af6df9bb92"],"basis":"rarely changed file"}]},{"from":"CVE-2021-4164","to":"CVE-2022-0939","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["cps/admin.py","cps/editbooks.py","cps/web.py"],"commits":["https://github.com/janeczku/calibre-web/commit/785726deee13b4d56f6c3503dd57c1e3eb7d6f30","https://github.com/janeczku/calibre-web/commit/4545f4a20d9ff90b99bbd4e3e34b6de4441d6367"],"basis":"shared function","functions":["edit_user","modify_identifiers"]}]},{"from":"CVE-2021-4164","to":"CVE-2022-0990","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["cps/admin.py","cps/editbooks.py","cps/web.py"],"commits":["https://github.com/janeczku/calibre-web/commit/785726deee13b4d56f6c3503dd57c1e3eb7d6f30","https://github.com/janeczku/calibre-web/commit/4545f4a20d9ff90b99bbd4e3e34b6de4441d6367"],"basis":"shared function","functions":["edit_user","modify_identifiers"]}]}]}}