CVE-2022-24335
JetBrains TeamCity vulnerability analysis and mitigation

Overview

JetBrains TeamCity before 2021.2 was affected by a Time-of-check/Time-of-use (TOCTOU) race-condition vulnerability during agent registration via XML-RPC (CVE-2022-24335). The vulnerability was discovered and disclosed in early 2022, affecting the TeamCity continuous integration and deployment server (MITRE CVE).

Technical details

The vulnerability is related to a race condition that occurs during the agent registration process when using XML-RPC in TeamCity. This type of vulnerability, known as Time-of-check/Time-of-use (TOCTOU), could potentially be exploited during the agent registration workflow (JetBrains Issues).

Impact

The TOCTOU vulnerability in the agent registration process could potentially allow attackers to manipulate the timing between the checking and usage of resources, which might lead to unauthorized agent registrations or potential security bypasses in TeamCity environments (MITRE CVE).

Mitigation and workarounds

The vulnerability was patched in TeamCity version 2021.2. Organizations running affected versions should upgrade to TeamCity 2021.2 or later to mitigate this security risk (JetBrains Issues).

Additional resources


SourceThis report was generated using AI

Related JetBrains TeamCity vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-59457HIGH7.7
  • JetBrains TeamCityJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
NoYesSep 17, 2025
CVE-2025-57734MEDIUM6.5
  • JetBrains TeamCityJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
NoYesAug 20, 2025
CVE-2025-59456MEDIUM5.5
  • JetBrains TeamCityJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
NoYesSep 17, 2025
CVE-2025-59455MEDIUM4.2
  • JetBrains TeamCityJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
NoYesSep 17, 2025
CVE-2025-57733LOW3.8
  • JetBrains TeamCityJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
NoYesAug 20, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management