clevertap-flutter icon indicating copy to clipboard operation
clevertap-flutter copied to clipboard

Request for Updated Encryption and Hashing Algorithms

Open RajagopiSurineni opened this issue 6 months ago • 2 comments

Hello Sir,

We are raising this ticket based on observations from our Security Team regarding the usage of MD5 and CBC algorithms in the current implementation.

During our verification, we identified references using the following command: grep -r "MD5|md5|PBEWith|AES-CBC" build/

We also noticed that MD5 is being used for user identity hashing in version 4.0.0 and below.

As MD5 and CBC are considered outdated from a security perspective, could you please review the possibility of upgrading to more secure algorithms such as SHA-256 and stronger encryption standards? This enhancement would help us address and close the reported security findings from the VAPT assessment.

Please let us know if any additional information is required from our side.

Thank you for your support.

RajagopiSurineni avatar May 21 '26 07:05 RajagopiSurineni

@RajagopiSurineni The MD5 algorithm is still in use because it was shipped in one of our older versions. To maintain backward compatibility in the case of an app updating from an old SDK version to a new SDK version, we need to maintain the old code flow.

However, we will note this; we do have plans to get rid of the older/less secure hashing algorithms from all our code bases. I am tagging this as an enhancement request for Q3 and will keep this open till we come back to you with some definite timelines.

darshanclevertap avatar May 21 '26 09:05 darshanclevertap

Hello @darshanclevertap Could you please provide an update on the same Thanks

RajagopiSurineni avatar Aug 03 '26 12:08 RajagopiSurineni

Hello @darshanclevertap,

We have completed a deeper technical investigation of the MD5 finding reported by our Security Team.

In CleverTap Android SDK 8.1.0, we identified the following implementation in the decompiled SDK:

PBEWithMD5And128BitAES-CBC-OpenSSL

This appears to be associated with legacy AES-CBC encryption and the SDK's encryption migration/backward compatibility mechanism.

We understand from your earlier response that MD5 is retained to support backward compatibility when applications upgrade from older SDK versions.

Could you please confirm whether the above implementation is part of the same legacy code flow you mentioned?

Additionally, could you share the expected timeline for removing this legacy implementation and whether any recommended SDK configuration or upgrade is available in the meantime?

This clarification will help us provide an accurate response to our Security Team for VAPT closure.

Thank you.

RajagopiSurineni avatar Nov 09 '26 09:11 RajagopiSurineni