Skip to main content
Menu
Advisories

Convex Auth: Sign-in rate limiting bypass allows verification code brute force

GHSA-C3RG-JWQ9-3233Published Updated GitHub

Description

Impact

Apps using an Email or Phone OTP provider could allow an unauthenticated caller unlimited attempts at guessing a verification code.

Exposure depends on the length of the code the provider generates. Short numeric codes (fewer than 8 digits) are reachable by brute force within their lifetime; longer ones are much less so.

Patches

Upgrading to v0.0.95 closes the attack vector with no further changes required.

Workarounds

If unable to patch, ensuring generateVerificationToken returns a minimum 8 digit code greatly reduces risk.

Affected versions

References

GitHub · get-convex/convex-auth

GitHub · convex/convex-auth