{"id":"CVE-2024-37157","published":"2024-07-03T19:13:42Z","modified":"2024-08-02T03:50:55Z","title":"Discourse vulnerable to Server-Side Request Forgery via FastImage","vendor":"discourse","product":"discourse","tier":"tail","description":{"text":"Discourse is an open-source discussion platform. Prior to version 3.2.3 on the `stable` branch and version 3.3.0.beta4 on the `beta` and `tests-passed` branches, a malicious actor could get the FastImage library to redirect requests to an internal Discourse IP. This issue is patched in version 3.2.3 on the `stable` branch and version 3.3.0.beta4 on the `beta` and `tests-passed` branches. No known workarounds are available.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00348,"percentile":0.29116,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-46pq-7958-fc68","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/discourse/discourse/commit/5b8cf11b69e05d5c058c1148ec69ec309491fa6e","tags":["x_refsource_MISC"]},{"url":"https://github.com/discourse/discourse/commit/67e78086035cec494b15ce79342a0cb9052c2d95","tags":["x_refsource_MISC"]}],"priority":{"score":10.3,"factors":[{"name":"EPSS percentile","points":5.82},{"name":"CVSS severity","points":4.48}]},"vendorSlug":"discourse","affectedVersions":[{"vendor":"discourse","product":"discourse","versions":["stable < 3.2.3","beta < 3.3.0.beta4","tests-passed < 3.3.0.beta4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-16T15:19:40.576374Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-36469","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-discourse-cve-2023-28112","parents":[{"from":"CVE-2023-28112","to":"CVE-2024-37157","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/cooked_processor_mixin.rb","lib/final_destination/fast_image.rb"],"commits":["https://github.com/discourse/discourse/commit/39c2f63b35d90ebaf67b9604cf1d424e5984203c","https://github.com/discourse/discourse/commit/5b8cf11b69e05d5c058c1148ec69ec309491fa6e","https://github.com/discourse/discourse/commit/67e78086035cec494b15ce79342a0cb9052c2d95"],"basis":"shared function","functions":["get_size"]},{"kind":"similar","provenance":"machine","score":0.55,"basis":"same product + CWE + description similarity"}]}]}}