CVE-2024-24942
JetBrains TeamCity vulnerability analysis and mitigation

Overview

CVE-2024-24942 is a path traversal vulnerability affecting JetBrains TeamCity versions before 2023.11.3. The vulnerability allows unauthorized users to read data within JAR archives (NVD, CVE). The vulnerability was disclosed on February 6, 2024.

Technical details

The vulnerability exists in the SwaggerUI class of TeamCity's REST API implementation. The issue allows attackers to supply arbitrary paths when accessing swagger resources from an unauthenticated endpoint. The vulnerability has a CVSS v3.1 base score of 5.3 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N, indicating network accessibility, low attack complexity, and no required privileges or user interaction (AttackerKB).

Impact

The vulnerability allows unauthorized access to read data within JAR archives, potentially exposing sensitive information stored in these archives. The impact is limited to confidentiality with no direct effect on integrity or availability of the system (NVD).

Mitigation and workarounds

The vulnerability has been patched in TeamCity version 2023.11.3. The fix includes implementing path validation through a helper method isValidResourcePath that detects and prevents the use of double dot notation in paths during resource access (AttackerKB).

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-68267MEDIUM6.5
  • JetBrains TeamCityJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
NoYesDec 16, 2025
CVE-2025-68268MEDIUM6.1
  • JetBrains TeamCityJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
NoYesDec 16, 2025
CVE-2025-68166MEDIUM6.1
  • JetBrains TeamCityJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
NoYesDec 16, 2025
CVE-2025-68165MEDIUM6.1
  • JetBrains TeamCityJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
NoYesDec 16, 2025
CVE-2025-68164LOW2.7
  • JetBrains TeamCityJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
NoYesDec 16, 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