@feathersjs/authentication-oauth is vulnerable to Improper Authentication
91
CVE Score
Critical
Improper Authentication
@feathersjs/authentication-oauth accepts an OAuth callback with an empty or missing code as a completed login. The profile error is nested on profile.error, and the default entity query uses an undefined provider id, so findEntity can return an existing user and the service issues a JWT for that user. The callback also accepts a client supplied Apple identity, a code sent to a different provider route, endpoint overrides when dynamic is true, and a feathers_token that links the provider login to that account. The fix rejects a callback with no code or token, requires a profile id, uses a verified Apple id_token, ignores protected dynamic options, and accepts feathers_token only from an allowed origin.
Upgrade the @feathersjs/authentication-oauth library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your application uses OAuth sign-in.
4.3.0 - 5.0.50
Fixed in 5.0.51@feathersjs/authentication-oauth is vulnerable to Improper Authentication in versions 4.3.0 - 5.0.50.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
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.