...
TeamCity version 2018.1 is not vulnerable to the issue as it was identified and addressed in the TeamCity codebase before the official Tomcat announcement (actually, the issue was found in a TeamCity installation and we worked with Tomcat team on fixing it). Earlier TeamCity versions are vulnerable, so upgrade to TeamCity 2018.1+ is necessary.
...