Python3 update

we are currently found the vulnerability about Python 3, but it is located under "/usr/bin/python3" does anyone know how to update this? we try to update python app, but it doesn't fix this, since it is under /usr/local/bin....

Add your own Python from /usr/local/bin into your PATH ahead of the system-provided Python, and see if that meets your requirements.

I wouldn't suggest attempting to replace the version of Python installed by macOS.

Apple is removing Python in a future version of macOS.

Per Apple: Deprecations Scripting language runtimes such as Python, Ruby, and Perl are included in macOS for compatibility with legacy software. Future versions of macOS won’t include scripting language runtimes by default, and might require you to install additional packages. If your software depends on scripting languages, it’s recommended that you bundle the runtime within the app. (49764202)

Same here we are dealing the Common Vulnerabilities and Exposures (CVE) regarding this issue:

CVE-2021-29921 CVE-2021-3177

Where the old Python3 version located at /usr/bin/python3 can't be removed or updated

Python3 update
 
 
Q