cesargb/laravel-magiclink is vulnerable to Race Condition (TOCTOU)
48
Medium Risk
A magic link created with a visit limit checks the counter and increments it in two separate steps rather than one atomic update. Concurrent requests against the same link can each pass the limit check before either increment is saved, so the link can be visited more times than the configured limit allows. Applications that leave the visit limit unset are not affected. The fix runs the limit check and increment as one atomic conditional database update.
You are affected if you are using a version that falls within the vulnerable range and you set a visit limit on a magic link.
cesargb/laravel-magiclink is vulnerable to Race Condition (TOCTOU) in versions 2.0.0 - 2.28.0.
Upgrade the cesargb/laravel-magiclink library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.