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 applicationsUpgrade @auth/core to version 0.41.3 or higher.
@auth/core is an Authentication for the Web.
Affected versions of this package are vulnerable to Improper Check for Unusual or Exceptional Conditions via the getToken function. An attacker can cause the application to throw an unhandled exception and disrupt service availability by sending a malformed Bearer authorization header to endpoints that directly invoke this function without proper exception handling.
This vulnerability can be mitigated by wrapping calls to getToken in a try/catch block to handle exceptions, or by normalizing or rejecting malformed Authorization headers before they reach the function.