Skip to content

Asymmetric cipher with insecure padding used in android kotlin #2235

Open
@vinaykumarIndia

Description

@vinaykumarIndia

Describe the bug

  • I have implemented com.microsoft.identity.client:msal library:5.8.2 android kotlin i got a high security issue while test our apk :-
  • The app uses the RSA algorithm without Optimal Asymmetric Encryption Padding (OAEP), which weakens the encryption and,
Screenshot 2025-01-03 at 11 14 27 AM Screenshot 2025-01-03 at 11 14 43 AM therefore, makes it easier for the attackers to decrypt the data.
  • RSA encrypts the provided data deterministically. It means that when the same message and encryption key are used as input, the algorithm produces the same output ciphertext every time:

Smartphone (please complete the following information):

  • Android Version: 28+
  • MSAL Version - 5.8.2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions