Information Exposure Through Discrepancy Affecting github.com/zitadel/zitadel/internal/auth/repository/eventsourcing/eventstore package, versions >=2.53.0 <2.53.9 >=2.54.0 <2.54.8 >=2.55.0 <2.55.5 >=2.56.0 <2.56.2 >=2.57.0 <2.57.1 >=2.58.0 <2.58.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.05% (19th 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 ID SNYK-GOLANG-GITHUBCOMZITADELZITADELINTERNALAUTHREPOSITORYEVENTSOURCINGEVENTSTORE-7577221
  • published 1 Aug 2024
  • disclosed 31 Jul 2024
  • credit Unknown

How to fix?

Upgrade github.com/zitadel/zitadel/internal/auth/repository/eventsourcing/eventstore to version 2.53.9, 2.54.8, 2.55.5, 2.56.2, 2.57.1, 2.58.1 or higher.

Overview

Affected versions of this package are vulnerable to Information Exposure Through Discrepancy due to an implementation change intended to prevent deadlocks when accessing the database. An attacker can gain information about whether an account exists within the system by observing the error message, which shows "object not found" instead of the generic "Username or Password invalid" message.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
6.9 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    Low
  • Integrity (VI)
    None
  • Availability (VA)
    None
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None