The version of python included in the distroless python3 image is 3.9.2 which is quite old now and contains a critical CVE. Reported by a trivy scan:
2022-03-30T13:58:56.875+0100 INFO Detected OS: debian
2022-03-30T13:58:56.875+0100 INFO Detecting Debian vulnerabilities...
2022-03-30T13:58:56.884+0100 INFO Number of language-specific files: 0
gcr.io/distroless/python3-debian11:latest (debian 11.3)
=======================================================
Total: 1 (CRITICAL: 1)
+----------------------+------------------+----------+-------------------+---------------+---------------------------------------+
| LIBRARY | VULNERABILITY ID | SEVERITY | INSTALLED VERSION | FIXED VERSION | TITLE |
+----------------------+------------------+----------+-------------------+---------------+---------------------------------------+
| libpython3.9-minimal | CVE-2021-29921 | CRITICAL | 3.9.2-1 | | python-ipaddress: Improper input |
| | | | | | validation of octal strings |
| | | | | | -->avd.aquasec.com/nvd/cve-2021-29921 |
+----------------------+------------------+----------+-------------------+---------------+---------------------------------------+
This is fixed in Python 3.9.5 and later: https://nvd.nist.gov/vuln/detail/CVE-2021-29921
Could the version of Python in the distroless-python3 image be updated please?
The version of python included in the distroless python3 image is 3.9.2 which is quite old now and contains a critical CVE. Reported by a trivy scan:
This is fixed in Python 3.9.5 and later: https://nvd.nist.gov/vuln/detail/CVE-2021-29921
Could the version of Python in the distroless-python3 image be updated please?