@srinivasur6711 yes you need to be on the latest version,
"… Pega’s Log4j 2.17.1 hotfixes will only be available for the latest patch release of each Pega Platform version, and clients must evaluate whether they require this fix. Clients who are on prior patch versions must upgrade to the latest patch version in order to receive and apply this hotfix, or they must apply a 2.17 hotfix from theApache Log4j 2.17 Vulnerability Hotfixes Advisory. "