Ubuntu update for python2.7



Risk Medium
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2024-11168
CVE-2024-6232
CVE-2024-9287
CWE-ID CWE-20
CWE-185
CWE-78
Exploitation vector Network
Public exploit N/A
Vulnerable software
Ubuntu
Operating systems & Components / Operating system

python3.4-venv (Ubuntu package)
Operating systems & Components / Operating system package or component

python3.4-minimal (Ubuntu package)
Operating systems & Components / Operating system package or component

python3.4 (Ubuntu package)
Operating systems & Components / Operating system package or component

python3.8-venv (Ubuntu package)
Operating systems & Components / Operating system package or component

python3.7-venv (Ubuntu package)
Operating systems & Components / Operating system package or component

python3.6-venv (Ubuntu package)
Operating systems & Components / Operating system package or component

python3.9-venv (Ubuntu package)
Operating systems & Components / Operating system package or component

python3.11-venv (Ubuntu package)
Operating systems & Components / Operating system package or component

python3.13-venv (Ubuntu package)
Operating systems & Components / Operating system package or component

python3.13-minimal (Ubuntu package)
Operating systems & Components / Operating system package or component

python3.13 (Ubuntu package)
Operating systems & Components / Operating system package or component

python3.6-minimal (Ubuntu package)
Operating systems & Components / Operating system package or component

python3.11-minimal (Ubuntu package)
Operating systems & Components / Operating system package or component

python3.11 (Ubuntu package)
Operating systems & Components / Operating system package or component

python2.7-minimal (Ubuntu package)
Operating systems & Components / Operating system package or component

python3.6 (Ubuntu package)
Operating systems & Components / Operating system package or component

python3.7 (Ubuntu package)
Operating systems & Components / Operating system package or component

python3.7-minimal (Ubuntu package)
Operating systems & Components / Operating system package or component

python3.8 (Ubuntu package)
Operating systems & Components / Operating system package or component

python3.8-minimal (Ubuntu package)
Operating systems & Components / Operating system package or component

python3.9 (Ubuntu package)
Operating systems & Components / Operating system package or component

python3.9-minimal (Ubuntu package)
Operating systems & Components / Operating system package or component

python2.7 (Ubuntu package)
Operating systems & Components / Operating system package or component

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 3 vulnerabilities.

1) Input validation error

EUVDB-ID: #VU100516

Risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2024-11168

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass security restrictions.

The vulnerability exists due to insufficient validation of bracketed hosts (e.g. []) within the urllib.parse.urlsplit() and urlparse() functions allowing hosts that weren't IPv6 or IPvFuture. A remote attacker can pass specially crafted IP address to the application to bypass implemented IP-based security checks or perform SSRF attacks.

Mitigation

Update the affected package python2.7 to the latest version.

Vulnerable software versions

Ubuntu: 14.04 - 24.10

python3.4-venv (Ubuntu package): before Ubuntu Pro

python3.4-minimal (Ubuntu package): before Ubuntu Pro

python3.4 (Ubuntu package): before Ubuntu Pro

python3.8-venv (Ubuntu package): before Ubuntu Pro

python3.7-venv (Ubuntu package): before Ubuntu Pro

python3.6-venv (Ubuntu package): before Ubuntu Pro

python3.9-venv (Ubuntu package): before Ubuntu Pro

python3.11-venv (Ubuntu package): before Ubuntu Pro

python3.13-venv (Ubuntu package): before 3.13.0-1ubuntu0.1

python3.13-minimal (Ubuntu package): before 3.13.0-1ubuntu0.1

python3.13 (Ubuntu package): before 3.13.0-1ubuntu0.1

python3.6-minimal (Ubuntu package): before Ubuntu Pro

python3.11-minimal (Ubuntu package): before Ubuntu Pro

python3.11 (Ubuntu package): before Ubuntu Pro

python2.7-minimal (Ubuntu package): before Ubuntu Pro

python3.6 (Ubuntu package): before Ubuntu Pro

python3.7 (Ubuntu package): before Ubuntu Pro

python3.7-minimal (Ubuntu package): before Ubuntu Pro

python3.8 (Ubuntu package): before Ubuntu Pro

python3.8-minimal (Ubuntu package): before Ubuntu Pro

python3.9 (Ubuntu package): before Ubuntu Pro

python3.9-minimal (Ubuntu package): before Ubuntu Pro

python2.7 (Ubuntu package): before Ubuntu Pro (Infra-only)

CPE2.3 External links

https://ubuntu.com/security/notices/USN-7488-1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Incorrect Regular Expression

EUVDB-ID: #VU96745

Risk: Medium

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2024-6232

CWE-ID: CWE-185 - Incorrect Regular Expression

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of .tar archives when processing it with regular expressions. A remote attacker can pass specially crafted data to the application and perform regular expression denial of service (ReDos) attack.

Mitigation

Update the affected package python2.7 to the latest version.

Vulnerable software versions

Ubuntu: 14.04 - 24.10

python3.4-venv (Ubuntu package): before Ubuntu Pro

python3.4-minimal (Ubuntu package): before Ubuntu Pro

python3.4 (Ubuntu package): before Ubuntu Pro

python3.8-venv (Ubuntu package): before Ubuntu Pro

python3.7-venv (Ubuntu package): before Ubuntu Pro

python3.6-venv (Ubuntu package): before Ubuntu Pro

python3.9-venv (Ubuntu package): before Ubuntu Pro

python3.11-venv (Ubuntu package): before Ubuntu Pro

python3.13-venv (Ubuntu package): before 3.13.0-1ubuntu0.1

python3.13-minimal (Ubuntu package): before 3.13.0-1ubuntu0.1

python3.13 (Ubuntu package): before 3.13.0-1ubuntu0.1

python3.6-minimal (Ubuntu package): before Ubuntu Pro

python3.11-minimal (Ubuntu package): before Ubuntu Pro

python3.11 (Ubuntu package): before Ubuntu Pro

python2.7-minimal (Ubuntu package): before Ubuntu Pro

python3.6 (Ubuntu package): before Ubuntu Pro

python3.7 (Ubuntu package): before Ubuntu Pro

python3.7-minimal (Ubuntu package): before Ubuntu Pro

python3.8 (Ubuntu package): before Ubuntu Pro

python3.8-minimal (Ubuntu package): before Ubuntu Pro

python3.9 (Ubuntu package): before Ubuntu Pro

python3.9-minimal (Ubuntu package): before Ubuntu Pro

python2.7 (Ubuntu package): before Ubuntu Pro (Infra-only)

CPE2.3 External links

https://ubuntu.com/security/notices/USN-7488-1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) OS Command Injection

EUVDB-ID: #VU99357

Risk: Low

CVSSv4.0: 5.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2024-9287

CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Exploit availability: No

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to improper input validation in the venv module when creating a virtual environment. A local user can pass specially crafted strings to the application and execute arbitrary OS commands on the target system.

Mitigation

Update the affected package python2.7 to the latest version.

Vulnerable software versions

Ubuntu: 14.04 - 24.10

python3.4-venv (Ubuntu package): before Ubuntu Pro

python3.4-minimal (Ubuntu package): before Ubuntu Pro

python3.4 (Ubuntu package): before Ubuntu Pro

python3.8-venv (Ubuntu package): before Ubuntu Pro

python3.7-venv (Ubuntu package): before Ubuntu Pro

python3.6-venv (Ubuntu package): before Ubuntu Pro

python3.9-venv (Ubuntu package): before Ubuntu Pro

python3.11-venv (Ubuntu package): before Ubuntu Pro

python3.13-venv (Ubuntu package): before 3.13.0-1ubuntu0.1

python3.13-minimal (Ubuntu package): before 3.13.0-1ubuntu0.1

python3.13 (Ubuntu package): before 3.13.0-1ubuntu0.1

python3.6-minimal (Ubuntu package): before Ubuntu Pro

python3.11-minimal (Ubuntu package): before Ubuntu Pro

python3.11 (Ubuntu package): before Ubuntu Pro

python2.7-minimal (Ubuntu package): before Ubuntu Pro

python3.6 (Ubuntu package): before Ubuntu Pro

python3.7 (Ubuntu package): before Ubuntu Pro

python3.7-minimal (Ubuntu package): before Ubuntu Pro

python3.8 (Ubuntu package): before Ubuntu Pro

python3.8-minimal (Ubuntu package): before Ubuntu Pro

python3.9 (Ubuntu package): before Ubuntu Pro

python3.9-minimal (Ubuntu package): before Ubuntu Pro

python2.7 (Ubuntu package): before Ubuntu Pro (Infra-only)

CPE2.3 External links

https://ubuntu.com/security/notices/USN-7488-1


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###