-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Used python rsa library brings PKCS#1 decryption vulnerability, is google-auth affected? #646
Comments
Hi @attila123, thanks for the report.
Full list of calls to
google-auth-library-python/google/auth/crypt/_python_rsa.py Lines 167 to 169 in 37141e4
If cryptography is installed, it will be preferred over google-auth-library-python/google/auth/crypt/rsa.py Lines 18 to 30 in 6407258
|
Thanks @busunkim96 for your kind support. |
Environment details
google-auth
version: 1.23.0, currently latestSteps to reproduce
Security vulnerability scanners pick up an unfixed PKCS#1 decryption code issue with the rsa library 4.6 (see among the dependencies in setup.py in this project): sybrenstuvel/python-rsa#165 => although it is closed, from the comments it seems that it is not fixed, and anyway new version for this library is not released for some time...
One of the proposed solutions would be: sybrenstuvel/python-rsa#165 (comment) :
"3. modify code you depend on so that it uses libraries that do provide side-channel free behaviour for RSA decryption"
Questions:
The text was updated successfully, but these errors were encountered: