CVE-2023-44399: Github.com/zitadel/zitadel ZITADEL's Password Reset Does Not Vulnerability

MODERATE
Advisory Identifier: GHSA-v683-rcxx-vpff
CVSS 5.3
CWE-640
Published
Advisory Summary

CVE-2023-44399 is a MODERATE (CVSS 5.3) zitadel's password reset does not vulnerability (CWE-640: Weak Password Recovery Mechanism for Forgotten Password) affecting Github.com/zitadel/zitadel libraries in the Go ecosystem. The issue involves zitadel's password reset does not respect the "ignoring unknown usernames" setting. Remediation is available by upgrading affected packages to version 2.37.3.

CVE-2023-44399 at a Glance

CVE Identifier CVE-2023-44399
GHSA Identifier GHSA-v683-rcxx-vpff
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-640: Weak Password Recovery Mechanism for Forgotten Password
Affected Product Github.com/zitadel/zitadel
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2023-44399

To remediate this vulnerability, upgrade all affected Github.com/zitadel/zitadel dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/zitadel/zitadel fixed: 2.37.3
Upgrade github.com/zitadel/zitadel to 2.37.3
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/zitadel/zitadel

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-44399, inspect your project dependencies for Github.com/zitadel/zitadel:

inspect dependencies for github.com/zitadel/zitadel

Analyze the terminal output to locate any version of Github.com/zitadel/zitadel in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.37.3), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-640: Weak Password Recovery Mechanism for Forgotten Password, where the product contains a mechanism for users to recover or change their passwords without knowing the original password, but the mechanism is weak. In Github.com/zitadel/zitadel, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact ZITADEL administrators can enable a setting called "Ignoring unknown usernames" which helps mitigate attacks that try to guess/enumerate usernames. While this settings was properly working during the authentication process it did not work correctly on the password reset flow. This meant that even if this feature was active that an attacker could use the password reset function to verify if an account exist within ZITADEL. ### Patches This bug has been patched in versions >2.27.2 beginning with [2.37.3](https://github.com/zitadel/zitadel/releases/tag/v2.37.3) and [2.38.0](https://github.com/zitadel/zitadel/releases/tag/v2.38.0) ### Workarounds None available we advise to updated if this is needed. ### References None

CVE-2023-44399 Affected Github.com/zitadel/zitadel Versions

1 component(s)
Fixed Versions:
2.37.3
Product / Package Ecosystem Affected Versions Fixed Version
github.com/zitadel/zitadel
Go
< 2.37.3
2.37.3

References

Frequently Asked Questions

What is CVE-2023-44399?
CVE-2023-44399 is a security vulnerability in Github.com/zitadel/zitadel involving ZITADEL's password reset does not respect the "Ignoring unknown usernames" setting under CWE-640: Weak Password Recovery Mechanism for Forgotten Password.
Which Github.com/zitadel/zitadel versions are affected?
Affected versions include releases prior to 2.37.3 across affected packages: github.com/zitadel/zitadel.
What version fixes CVE-2023-44399?
Upgrading to 2.37.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/zitadel/zitadel affected?
Yes, github.com/zitadel/zitadel is affected in releases prior to 2.37.3. Upgrade your dependency to 2.37.3 or later.
What is the CVSS score of CVE-2023-44399?
CVE-2023-44399 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2023-44399?
CVE-2023-44399 is classified under CWE-640: Weak Password Recovery Mechanism for Forgotten Password (The product contains a mechanism for users to recover or change their passwords without knowing the original password, but the mechanism is weak.).
How can I check Go dependencies for CVE-2023-44399?
Run the dependency tree command: 'inspect dependencies for github.com/zitadel/zitadel'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-v683-rcxx-vpff",
  "modified" : "2023-10-10T21:30:15Z",
  "published" : "2023-10-10T21:30:15Z",
  "aliases" : [ "CVE-2023-44399" ],
  "summary" : "ZITADEL's password reset does not respect the \"Ignoring unknown usernames\" setting",
  "details" : "### Impact\nZITADEL administrators can enable a setting called \"Ignoring unknown usernames\" which helps mitigate attacks that try to guess/enumerate usernames. While this settings was properly working during the authentication process it did not work correctly on the password reset flow. This meant that even if this feature was active that an attacker could use the password reset function to verify if an account exist within ZITADEL.\n\n### Patches\nThis bug has been patched in versions >2.27.2 beginning with [2.37.3](https://github.com/zitadel/zitadel/releases/tag/v2.37.3) and [2.38.0](https://github.com/zitadel/zitadel/releases/tag/v2.38.0)\n\n### Workarounds\nNone available we advise to updated if this is needed.\n\n### References\nNone\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/zitadel/zitadel"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.37.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/zitadel/zitadel/security/advisories/GHSA-v683-rcxx-vpff"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-44399"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/zitadel/zitadel"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/zitadel/zitadel/releases/tag/v2.37.3"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/zitadel/zitadel/releases/tag/v2.38.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-640" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-10-10T21:30:15Z",
    "nvd_published_at" : "2023-10-10T17:15:13Z"
  }
}