You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the "python-cwt/samples/eudcc/swedish_verifier.py" and "python-cwt/cwt/algs/rsa.py", I have identified security vulnerabilities about insecure cryptographic algorithm and insecure verification. PKCS1v1.5 is vulnerable to the chosen-ciphertext attack. And bypassing JWT verification or using JWT tokens before verification are considered insecure.
Description:
In the "python-cwt/samples/eudcc/swedish_verifier.py" and "python-cwt/cwt/algs/rsa.py", I have identified security vulnerabilities about insecure cryptographic algorithm and insecure verification. PKCS1v1.5 is vulnerable to the chosen-ciphertext attack. And bypassing JWT verification or using JWT tokens before verification are considered insecure.
Location:
https://github.com/dajiaji/python-cwt/blob/main/cwt/algs/rsa.py#L57
https://github.com/dajiaji/python-cwt/blob/main/samples/eudcc/swedish_verifier.py#L41
Reference
Recommendations:
The text was updated successfully, but these errors were encountered: