CVE-2022-46177

HIGHCVSS 8.1/10EPSS 0.68%

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
8.1/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

EPSS Probability
0.68%

47.6th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersionsUpdate
DiscourseDiscourse< 2.8.14
DiscourseDiscourse1.1.0Beta1
DiscourseDiscourse1.2.0Beta1
DiscourseDiscourse1.3.0Beta1
DiscourseDiscourse1.4.0Beta1
DiscourseDiscourse1.5.0Beta1
DiscourseDiscourse1.6.0Beta1
DiscourseDiscourse1.7.0Beta1
DiscourseDiscourse1.8.0Beta1
DiscourseDiscourse1.9.0Beta1
DiscourseDiscourse2.0.0Beta1
DiscourseDiscourse2.1.0Beta1
DiscourseDiscourse2.2.0Beta1
DiscourseDiscourse2.3.0Beta1
DiscourseDiscourse2.4.0Beta1
DiscourseDiscourse2.5.0Beta1
DiscourseDiscourse2.6.0Beta1
DiscourseDiscourse2.7.0Beta1
DiscourseDiscourse2.8.0Beta1
DiscourseDiscourse2.9.0Beta1
DiscourseDiscourse3.0.0Beta15

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2022-46177?
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.
How severe is CVE-2022-46177?
CVE-2022-46177 has a CVSS score of 8.1/10 (HIGH severity). The EPSS model estimates a 0.68% probability of exploitation in the next 30 days.
How do I fix CVE-2022-46177?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2022-46177?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST