Incorrect Implementation of Authentication Algorithm Affecting github.com/pocketbase/pocketbase/models package, versions <0.22.14


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.04% (11th 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 IDSNYK-GOLANG-GITHUBCOMPOCKETBASEPOCKETBASEMODELS-7361673
  • published23 Jun 2024
  • disclosed18 Jun 2024
  • creditdalurness

Introduced: 18 Jun 2024

CVE-2024-38351  (opens in a new tab)
CWE-303  (opens in a new tab)

How to fix?

Upgrade github.com/pocketbase/pocketbase/models to version 0.22.14 or higher.

Overview

github.com/pocketbase/pocketbase/models is a realtime backend in 1 file

Affected versions of this package are vulnerable to Incorrect Implementation of Authentication Algorithm when both OAuth2 and Password authentication methods are in use. An attacker in possession of a legitimate user's unverified email address who can convince that user to sign up with OAuth2 can continue to use the credentials they possess to access the user's account after OAuth2 is enabled.

CVSS Scores

version 4.0
version 3.1