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
import boto3 fails with the error: E AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'
Expected Behavior
import boto3 should not fail
Current Behavior
import boto3 fails with the following stack trace:
rum/service/connectionutil/aws_connection_utils.py:1: in <module>
import boto3
../python_pip_boto3/site-packages/boto3/__init__.py:17: in <module>
from boto3.session import Session
../python_pip_boto3/site-packages/boto3/session.py:17: in <module>
import botocore.session
../python_pip_botocore/site-packages/botocore/session.py:26: in <module>
import botocore.client
../python_pip_botocore/site-packages/botocore/client.py:15: in <module>
from botocore import waiter, xform_name
../python_pip_botocore/site-packages/botocore/waiter.py:18: in <module>
from botocore.docs.docstring import WaiterDocstring
../python_pip_botocore/site-packages/botocore/docs/__init__.py:15: in <module>
from botocore.docs.service import ServiceDocumenter
../python_pip_botocore/site-packages/botocore/docs/service.py:14: in <module>
from botocore.docs.client import (
../python_pip_botocore/site-packages/botocore/docs/client.py:18: in <module>
from botocore.docs.example import ResponseExampleDocumenter
../python_pip_botocore/site-packages/botocore/docs/example.py:13: in <module>
from botocore.docs.shape import ShapeDocumenter
../python_pip_botocore/site-packages/botocore/docs/shape.py:19: in <module>
from botocore.utils import is_json_value_header
../python_pip_botocore/site-packages/botocore/utils.py:39: in <module>
import botocore.httpsession
../python_pip_botocore/site-packages/botocore/httpsession.py:45: in <module>
from urllib3.contrib.pyopenssl import (
../python_pip_urllib3/site-packages/urllib3/contrib/pyopenssl.py:50: in <module>
import OpenSSL.crypto
../python_pip_pyopenssl/site-packages/OpenSSL/__init__.py:8: in <module>
from OpenSSL import crypto, SSL
../python_pip_pyopenssl/site-packages/OpenSSL/crypto.py:3268: in <module>
_lib.OpenSSL_add_all_algorithms()
E AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug
import boto3
fails with the error:E AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'
Expected Behavior
import boto3
should not failCurrent Behavior
import boto3
fails with the following stack trace:Reproduction Steps
We upgraded cryptography to 41.0.6 due to CVE
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-49083
which seems to triggered this issue
Possible Solution
No response
Additional Information/Context
No response
SDK version used
1.33.5
Environment details (OS name and version, etc.)
linux
The text was updated successfully, but these errors were encountered: