CVE-2024-37157
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account. High risk of data exposure.
- Exploit odds
- 0.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.3% in the next 30 days (EPSS).
- Severity: 6.4 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.3% · EPSS, next 30 days
- Weakness
- CWE-918 · Server-side request forgery
- Record status
- Modified
Affected
- Discourse < 3.2.3
- Discourse < 3.3.0
- Discourse 3.3.0
Attack profile CVSS 3.1 · 6.4
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- Low
- Availability
- Low
Raw vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2024-37157.md and follow it. Check whether this project is affected by CVE-2024-37157. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/discourse/discourse/commit/5b8cf11b69e05d5c058c1148ec69ec309491fa6e
- https://github.com/discourse/discourse/commit/67e78086035cec494b15ce79342a0cb9052c2d95
- https://github.com/discourse/discourse/security/advisories/GHSA-46pq-7958-fc68
- https://github.com/discourse/discourse/commit/5b8cf11b69e05d5c058c1148ec69ec309491fa6e
- https://github.com/discourse/discourse/commit/67e78086035cec494b15ce79342a0cb9052c2d95
- https://github.com/discourse/discourse/security/advisories/GHSA-46pq-7958-fc68
References
- https://github.com/discourse/discourse/commit/5b8cf11b69e05d5c058c1148ec69ec309491fa6e
- https://github.com/discourse/discourse/commit/67e78086035cec494b15ce79342a0cb9052c2d95
- https://github.com/discourse/discourse/security/advisories/GHSA-46pq-7958-fc68
- https://github.com/discourse/discourse/commit/5b8cf11b69e05d5c058c1148ec69ec309491fa6e
- https://github.com/discourse/discourse/commit/67e78086035cec494b15ce79342a0cb9052c2d95
- https://github.com/discourse/discourse/security/advisories/GHSA-46pq-7958-fc68