Improper Privilege Management Affecting ash_authentication package, versions >=4.1.0 <4.4.9


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Privilege Management vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-HEX-ASHAUTHENTICATION-8720209
  • published13 Feb 2025
  • disclosed11 Feb 2025
  • creditwilburyang

Introduced: 11 Feb 2025

NewCVE-2025-25202  (opens in a new tab)
CWE-269  (opens in a new tab)

How to fix?

Upgrade ash_authentication to version 4.4.9 or higher.

Overview

Affected versions of this package are vulnerable to Improper Privilege Management via improper token revocation handling, causing those tokens to remain valid. This impacts magic links, password resets, and confirmation tokens, allowing them to be reused until expiration instead of being immediately revoked. Magic link tokens remain valid for 10 minutes, while password reset and confirmation tokens persist for 3 days.

Note: Applications that do not use the new igniter installer or implement custom token revocation are not affected.

Workaround

Users who are unable to upgrade to the fixed version are advised to delete the generated :revoked? generic action in their token resource or manually make the changes described in the references.

References

CVSS Scores

version 4.0
version 3.1