Zitadel is open-source identity infrastructure software.
CVE-2024-49753 is a critical-severity improper input validation vulnerability in zitadel, with a CVSS 3.1 base score of 9.1 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists versions 2.64.1, 2.63.6, 2.62.8 as the first without the flaw, so updating zitadel to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.65% chance of exploitation within 30 days, higher than 52% of scored CVEs.
Critical severity: a successful attack would have severe impact.
What to do
- Update zitadel to 2.64.1 or 2.63.6 or 2.62.8 or 2.61.4, whichever matches your release line, or a later version.
- Read the advisory on github.com for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Zitadel | zitadel | >= 2.64, < 2.64.1; >= 2.63, < 2.63.6; >= 2.62, < 2.62.8; >= 2.61, < 2.61.4; >= 2.60, < 2.60.4; >= 2.59, < 2.59.5; < 2.58.7; 2.64 up to, but not including, 2.64.1; and 6 more ranges | 2.64.1, 2.63.6, 2.62.8, 2.61.4, 2.60.4, 2.59.5 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- NoneAvailability is not affected.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 5.9 | Medium | CNA (github.com) |
| CVSS 3.1 | 9.1 | Critical | NVD |
Official description
Zitadel is open-source identity infrastructure software. Versions prior to 2.64.1, 2.63.6, 2.62.8, 2.61.4, 2.60.4, 2.59.5, and 2.58.7 have a flaw in the URL validation mechanism of Zitadel actions allows bypassing restrictions intended to block requests to localhost (127.0.0.1). The isHostBlocked check, designed to prevent such requests, can be circumvented by creating a DNS record that resolves to 127.0.0.1. This enables actions to send requests to localhost despite the intended security measures. This vulnerability potentially allows unauthorized access to unsecured internal endpoints, which may contain sensitive information or functionalities. Versions 2.64.1, 2.63.6, 2.62.8, 2.61.4, 2.60.4, 2.59.5, and 2.58.7 contain a patch. No known workarounds are available.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Improper Input Validation
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
How developers prevent this class of flaw
- Consider using language-theoretic security (LangSec) techniques that characterize inputs using a formal language and build recognizers for that language. This effectively requires parsing to be a distinct layer that effectively enforces a boundary between raw input and internal data representations, instead of allowing parser code to be scattered throughout the program, where it could be subject to errors or inconsistencies that create weaknesses.
- Use an input validation framework such as Struts or the OWASP ESAPI Validation API. Note that using a framework does not automatically address all input validation problems; be mindful of weaknesses that could arise from misusing the framework itself (CWE-1173).
- Understand all the potential areas where untrusted inputs can enter the product, including but not limited to: parameters or arguments, cookies, anything read from the network, environment variables, reverse DNS lookups, query results, request headers, URL components, e-mail, files, filenames, databases, and any external systems that provide data to the application. Remember that such inputs may be obtained indirectly through API calls.
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Advisories
Patches and release notes
- github.com/zitadel/zitadel/releases/tag/v2.58.7Release Notes
- github.com/zitadel/zitadel/releases/tag/v2.59.5Release Notes
- github.com/zitadel/zitadel/releases/tag/v2.60.4Release Notes
- github.com/zitadel/zitadel/releases/tag/v2.61.4Release Notes
- github.com/zitadel/zitadel/releases/tag/v2.62.8Release Notes
- github.com/zitadel/zitadel/releases/tag/v2.63.6Release Notes
- github.com/zitadel/zitadel/releases/tag/v2.64.1Release Notes
Other vulnerabilities in zitadel
- 8.1 High severity
- 7.4 High severity
- 8.1 High severity
- 8.1 High severity
- 8.7 High severity
- 8.2 High severity
Recent Improper Input Validation vulnerabilities
- 8.6 High severity
- 9.2 Critical severity
- 9.8 Critical severity
- 8.1 High severity
- 8.1 High severity
- 8.5 High severity
Spotted an error? Tell us.