-
Notifications
You must be signed in to change notification settings - Fork 326
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
RHEL compatibility with python vulnerability mitigation CVE-2007-4559 #574
Comments
This may be coming from SSM document that is using python. Do you know what document SSM agent was trying to run? Also, can you provide more SSM agent logs related to the error you are seeing? |
Thanks for your response, you are correct. Here is a sample of the logs which indicates the
|
Hi, I have also run into this issue with the same document with my small environment hosting basic web services. I haven't run into this issue before and I haven't spun up new instances or anything within the environment. Is there a workaround or solution available? |
This is not an SSM Agent issue. Opening a ticket with AWS Support en masse might be needed here. |
Also seeing this issue on Rocky Linux 9, is there a way to work around this? |
did anybody got this issue resolved? pls share the solution |
Hi,
When installing SSM agent on RHEL, Python is necessary. After installing on RHEL 8, we are observing errors when the agent is initializing related to being unable to download a tar file.
I came across this CVE which supplies solutions for:
After reviewing SSM agent logs, I can see the following error:
"standardError": "/usr/lib64/python3.11/tarfile.py:2253: RuntimeWarning: The default behavior of tarfile extraction has been changed to disallow common exploits (including CVE-2007-4559). By default, absolute/parent paths are disallowed and some mode bits are cleared. See https://access.redhat.com/articles/7004769 for more details.\n warnings.warn(\n"
I was able to confirm that supplying the global filter configuration file suggested in
3.3.1
allows the agent to continue.The guidance indicates that the ability to workaround this by changing the default behavior will not be supported beyond Python version
3.11
:NOTE: When Red Hat releases Python 3.12 or later, only configuration in Python will be available. The configuration file and environment variable approaches will be available only for Python versions where the default behavior has been changed up to Python 3.11.
The text was updated successfully, but these errors were encountered: