Vulnerability Description
Discourse is an option source discussion platform. Prior to version 2.8.14 on the `stable` branch and version 3.0.0.beta16 on the `beta` and `tests-passed` branches, when a user requests for a password reset link email, then changes their primary email, the old reset email is still valid. When the old reset email is used to reset the password, the Discourse account's primary email would be re-linked to the old email. If the old email address is compromised or has transferred ownership, this leads to an account takeover. This is however mitigated by the SiteSetting `email_token_valid_hours` which is currently 48 hours. Users should upgrade to versions 2.8.14 or 3.0.0.beta15 to receive a patch. As a workaround, lower `email_token_valid_hours ` as needed.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Discourse | Discourse | < 2.8.14 |
Related Weaknesses (CWE)
References
- https://github.com/discourse/discourse/commit/4bf306f0e3bf54a9ef9c5886bf1cfb85c2PatchThird Party Advisory
- https://github.com/discourse/discourse/commit/83944213b2b2454af80d0407f60d67641bPatchThird Party Advisory
- https://github.com/discourse/discourse/security/advisories/GHSA-5www-jxvf-vrc3Third Party Advisory
- https://github.com/discourse/discourse/commit/4bf306f0e3bf54a9ef9c5886bf1cfb85c2PatchThird Party Advisory
- https://github.com/discourse/discourse/commit/83944213b2b2454af80d0407f60d67641bPatchThird Party Advisory
- https://github.com/discourse/discourse/security/advisories/GHSA-5www-jxvf-vrc3Third Party Advisory
FAQ
What is CVE-2022-46177?
CVE-2022-46177 is a vulnerability with a CVSS score of 5.7 (MEDIUM). Discourse is an option source discussion platform. Prior to version 2.8.14 on the `stable` branch and version 3.0.0.beta16 on the `beta` and `tests-passed` branches, when a user requests for a passwor...
How severe is CVE-2022-46177?
CVE-2022-46177 has been rated MEDIUM with a CVSS base score of 5.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-46177?
Check the references section above for vendor advisories and patch information. Affected products include: Discourse Discourse.