{"id":"CVE-2022-0939","published":"2022-04-04T09:40:10Z","modified":"2024-08-02T23:47:43Z","title":"Server-Side Request Forgery (SSRF) in janeczku/calibre-web","vendor":"janeczku","product":"janeczku/calibre-web","tier":"tail","description":{"text":"Server-Side Request Forgery (SSRF) in GitHub repository janeczku/calibre-web prior to 0.6.18.","provenance":"source","from":"CVE.org"},"cvss":{"score":9,"severity":"CRITICAL","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01059,"percentile":0.65223,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://huntr.dev/bounties/768fd7e2-a767-4d8d-a517-e9dda849c6e4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/janeczku/calibre-web/commit/4545f4a20d9ff90b99bbd4e3e34b6de4441d6367","tags":["x_refsource_MISC"]}],"priority":{"score":19.3,"factors":[{"name":"EPSS percentile","points":13.04},{"name":"CVSS severity","points":6.3}]},"vendorSlug":"janeczku","affectedVersions":[{"vendor":"janeczku","product":"janeczku/calibre-web","versions":[">= unspecified, < 0.6.18"]}],"euvd":{"id":"EUVD-2022-15958","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-janeczku-calibre-web-cve-2021-25964","parents":[{"from":"CVE-2021-25965","to":"CVE-2022-0939","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["cps.py","cps/__init__.py","cps/templates/book_edit.html","cps/templates/book_table.html","cps/templates/detail.html"],"commits":["https://github.com/janeczku/calibre-web/commit/50919d47212066c75f03ee7a5332ecf2d584b98e","https://github.com/janeczku/calibre-web/commit/4545f4a20d9ff90b99bbd4e3e34b6de4441d6367"],"basis":"shared function","functions":["create_app"]}]},{"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-2022-0339","to":"CVE-2022-0939","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["cps/admin.py","cps/editbooks.py","cps/helper.py"],"commits":["https://github.com/janeczku/calibre-web/commit/3b216bfa07ec7992eff03e55d61732af6df9bb92","https://github.com/janeczku/calibre-web/commit/35f6f4c727c887f8f3607fe3233dbc1980d15020","https://github.com/janeczku/calibre-web/commit/4545f4a20d9ff90b99bbd4e3e34b6de4441d6367"],"basis":"shared function","functions":["delete_book_from_table","get_book_cover_internal"]},{"kind":"similar","provenance":"machine","score":0.51,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2022-0766","to":"CVE-2022-0939","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["cps/helper.py"],"commits":["https://github.com/janeczku/calibre-web/commit/965352c8d96c9eae7a6867ff76b0db137d04b0b8","https://github.com/janeczku/calibre-web/commit/4545f4a20d9ff90b99bbd4e3e34b6de4441d6367"],"basis":"shared function","functions":["save_cover_from_url"]},{"kind":"similar","provenance":"machine","score":1.0,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2022-0767","to":"CVE-2022-0939","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["cps/helper.py"],"commits":["https://github.com/janeczku/calibre-web/commit/965352c8d96c9eae7a6867ff76b0db137d04b0b8","https://github.com/janeczku/calibre-web/commit/4545f4a20d9ff90b99bbd4e3e34b6de4441d6367"],"basis":"shared function","functions":["save_cover_from_url"]},{"kind":"similar","provenance":"machine","score":1.0,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2022-0405","to":"CVE-2022-0939","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["cps/admin.py","cps/editbooks.py"],"commits":["https://github.com/janeczku/calibre-web/commit/3b216bfa07ec7992eff03e55d61732af6df9bb92","https://github.com/janeczku/calibre-web/commit/4545f4a20d9ff90b99bbd4e3e34b6de4441d6367"],"basis":"shared function","functions":["delete_book_from_table"]}]}],"children":[{"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"]}]}]}}