teamcityservice.exe version after upgrade

We recently upgraded our TeamCity server to version 2025.03 Build 186049.  Our security team is saying that the TeamCityService.exe is flagged as being the 2019 version and having a vulnerability, and needs to be upgraded to at least version 2023.  I either need to be able to show them that it is the correct file for the installed version, or it needs to be updated, so how do I know if this is the correct file for the installed version?

0
4 comments

There is a fix available for this situation. Please find the details in our documentation here: https://www.jetbrains.com/help/teamcity/known-issues.html#Incorrect+TeamCity+Server+Version+in+Windows

0

Mention to your security team they should properly evaluate the quality of their security products.

 

This one is clearly rubbish, as its using a registry key to determine the version, and when tou dona teamcity eeb update, the registry isn't updated. 

 

There is a poweshell script that will sync the version, and shut up the “security” product.

0

Thank you Eric. I have run that script and let my security team know (I'm just waiting to hear back from them).  I did notice something about that file though, and a few others… everything in the TeamCity/bin folder has a date modified of the date that I did the upgrade except for teamcity-server.bat, teamcity-server.sh, and TeamCityService.exe, they are all from 2020.  Is that normal?

 

0

Normally, the files in TeamCity/bin are replaced during the upgrade process. You could download the tar.gz from here and replace anything not up to date. I show the following files/dates:

04/14/2025  04:45 AM               198 append.bat
03/03/2025  02:33 PM            35,459 bootstrap.jar
03/03/2025  02:33 PM             1,703 catalina-tasks.xml
03/03/2025  02:33 PM            17,476 catalina.bat
03/03/2025  02:33 PM            25,909 catalina.sh
03/03/2025  02:33 PM           215,448 commons-daemon-native.tar.gz
03/03/2025  02:33 PM            26,670 commons-daemon.jar
03/03/2025  02:33 PM             2,040 configtest.bat
03/03/2025  02:33 PM             1,922 configtest.sh
03/03/2025  02:33 PM             9,100 daemon.sh
04/14/2025  04:48 AM             2,905 db-maintenance.jar
03/03/2025  02:33 PM             2,091 digest.bat
03/03/2025  02:33 PM             1,965 digest.sh
04/14/2025  05:11 AM         2,822,192 encryption-cli-tool.jar
04/14/2025  04:47 AM            20,813 findJava.bat
04/14/2025  04:47 AM            13,810 findJava.sh
04/14/2025  04:45 AM             4,932 maintainDB.cmd
04/14/2025  04:45 AM             3,236 maintainDB.sh
03/03/2025  02:33 PM             3,606 makebase.bat
03/03/2025  02:33 PM             3,382 makebase.sh
04/14/2025  04:45 AM               939 runAll.bat
04/14/2025  04:45 AM               236 runAll.sh
03/03/2025  02:33 PM             3,814 setclasspath.bat
03/03/2025  02:33 PM             4,317 setclasspath.sh
03/03/2025  02:33 PM             2,020 shutdown.bat
03/03/2025  02:33 PM             1,902 shutdown.sh
03/03/2025  02:33 PM             2,022 startup.bat
03/03/2025  02:33 PM             1,904 startup.sh
04/14/2025  04:47 AM            54,904 teamcity-server-configurator.jar
04/14/2025  04:45 AM             9,378 teamcity-server-internal.bat
04/14/2025  04:45 AM             5,667 teamcity-server-restarter.bat
04/14/2025  04:45 AM             9,948 teamcity-server-restarter.sh
04/14/2025  04:48 AM         2,600,054 teamcity-server-update.jar
04/14/2025  04:45 AM             4,649 teamcity-server.bat
04/14/2025  04:45 AM             2,545 teamcity-server.sh
04/14/2025  04:45 AM               527 teamcity-update.bat
04/14/2025  04:45 AM               703 teamcity-update.sh
02/24/2021  05:00 AM           737,976 TeamCityService.exe
03/03/2025  02:33 PM            52,799 tomcat-juli.jar
03/03/2025  02:33 PM           346,588 tomcat-native.tar.gz
03/03/2025  02:33 PM             4,576 tool-wrapper.bat
03/03/2025  02:33 PM             5,540 tool-wrapper.sh
04/14/2025  04:45 AM             2,088 update-registry-version.ps1
03/03/2025  02:33 PM             2,026 version.bat
03/03/2025  02:33 PM             1,908 version.sh
0

Please sign in to leave a comment.