CVE-2022-46177
Last modified
CVE-2022-46177 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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. EPSS estimates a 0.68% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Discourse | Discourse | < 2.8.14 | — |
| Discourse | Discourse | 1.1.0 | Beta1 |
| Discourse | Discourse | 1.2.0 | Beta1 |
| Discourse | Discourse | 1.3.0 | Beta1 |
| Discourse | Discourse | 1.4.0 | Beta1 |
| Discourse | Discourse | 1.5.0 | Beta1 |
| Discourse | Discourse | 1.6.0 | Beta1 |
| Discourse | Discourse | 1.7.0 | Beta1 |
| Discourse | Discourse | 1.8.0 | Beta1 |
| Discourse | Discourse | 1.9.0 | Beta1 |
| Discourse | Discourse | 2.0.0 | Beta1 |
| Discourse | Discourse | 2.1.0 | Beta1 |
| Discourse | Discourse | 2.2.0 | Beta1 |
| Discourse | Discourse | 2.3.0 | Beta1 |
| Discourse | Discourse | 2.4.0 | Beta1 |
| Discourse | Discourse | 2.5.0 | Beta1 |
| Discourse | Discourse | 2.6.0 | Beta1 |
| Discourse | Discourse | 2.7.0 | Beta1 |
| Discourse | Discourse | 2.8.0 | Beta1 |
| Discourse | Discourse | 2.9.0 | Beta1 |
| Discourse | Discourse | 3.0.0 | Beta15 |
References
- https://github.com/discourse/discourse/commit/4bf306f0e3bf54a9ef9c5886bf1cfb85c20da570Patch, Third Party Advisory
- https://github.com/discourse/discourse/commit/83944213b2b2454af80d0407f60d67641b1f0b38Patch, Third Party Advisory
- https://github.com/discourse/discourse/security/advisories/GHSA-5www-jxvf-vrc3Third Party Advisory
- https://github.com/discourse/discourse/commit/4bf306f0e3bf54a9ef9c5886bf1cfb85c20da570Patch, Third Party Advisory
- https://github.com/discourse/discourse/commit/83944213b2b2454af80d0407f60d67641b1f0b38Patch, Third Party Advisory
- https://github.com/discourse/discourse/security/advisories/GHSA-5www-jxvf-vrc3Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-46177?
How severe is CVE-2022-46177?
How do I fix CVE-2022-46177?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-46171Tauri is a framework for building binaries for all major des…7.7
- CVE-2022-46172authentik is an open-source Identity provider focused on fle…6.4
- CVE-2022-46173Elrond-GO is a go implementation for the Elrond Network prot…6.5
- CVE-2022-46174efs-utils is a set of Utilities for Amazon Elastic File Syst…4.2
- CVE-2022-46175JSON5 is an extension to the popular JSON file format that a…8.8
- CVE-2022-46176Cargo is a Rust package manager. The Rust Security Response …5.9
- CVE-2022-46178MeterSphere is a one-stop open source continuous testing pla…8.8
- CVE-2022-46179LiuOS is a small Python project meant to imitate the functio…7.8
- CVE-2022-4618Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2022-46180Discourse Mermaid (discourse-mermaid-theme-component) allows…5.4
- CVE-2022-46181Gotify server is a simple server for sending and receiving m…5.4
- CVE-2022-46182Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
Are you affected by CVE-2022-46177?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
