{"id":"CVE-2022-0990","published":"2022-04-04T17:50:17Z","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.3,"severity":"CRITICAL","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01337,"percentile":0.71838,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/janeczku/calibre-web/commit/4545f4a20d9ff90b99bbd4e3e34b6de4441d6367","tags":["x_refsource_MISC"]},{"url":"https://huntr.dev/bounties/31649903-c19c-4dae-aee0-a04b095855c5","tags":["x_refsource_CONFIRM"]}],"priority":{"score":20.9,"factors":[{"name":"EPSS percentile","points":14.37},{"name":"CVSS severity","points":6.51}]},"vendorSlug":"janeczku","affectedVersions":[{"vendor":"janeczku","product":"janeczku/calibre-web","versions":[">= unspecified, < 0.6.18"]}],"euvd":{"id":"EUVD-2022-15984","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-janeczku-calibre-web-cve-2021-25964","parents":[{"from":"CVE-2021-25965","to":"CVE-2022-0990","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-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"]}]},{"from":"CVE-2022-0339","to":"CVE-2022-0990","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-0990","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-0990","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-0990","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-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"]}]}]}}