Ubuntu update for python3.5



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

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

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

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

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

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

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

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 4 vulnerabilities.

1) Incorrect provision of specified functionality

EUVDB-ID: #VU95157

Risk: Medium

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

CVE-ID: CVE-2024-4032

CWE-ID: CWE-684 - Incorrect Provision of Specified Functionality

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass implemented security restrictions.

The vulnerability exists within the "ipaddress" module that contains incorrect information and private and public IP addresses for IPv4 and IPv6 protocols. This affects the is_private and is_global properties of the ipaddress.IPv4Address, ipaddress.IPv4Network, ipaddress.IPv6Address, and ipaddress.IPv6Network classes. A remote attacker can bypass implemented security restrictions based on IP addresses or perform other actions, depending on the application's capabilities.

Mitigation

Update the affected package python3.5 to the latest version.

Vulnerable software versions

Ubuntu: 14.04 - 20.04

python3.8-venv (Ubuntu package): before 3.8.10-0ubuntu1~20.04.18

python3.8-minimal (Ubuntu package): before 3.8.10-0ubuntu1~20.04.18

python3.8 (Ubuntu package): before 3.8.10-0ubuntu1~20.04.18

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

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

python3.5 (Ubuntu package): before Ubuntu Pro (Infra-only)

CPE2.3 External links

https://ubuntu.com/security/notices/USN-7348-2


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) 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 python3.5 to the latest version.

Vulnerable software versions

Ubuntu: 14.04 - 20.04

python3.8-venv (Ubuntu package): before 3.8.10-0ubuntu1~20.04.18

python3.8-minimal (Ubuntu package): before 3.8.10-0ubuntu1~20.04.18

python3.8 (Ubuntu package): before 3.8.10-0ubuntu1~20.04.18

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

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

python3.5 (Ubuntu package): before Ubuntu Pro (Infra-only)

CPE2.3 External links

https://ubuntu.com/security/notices/USN-7348-2


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.

3) 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 python3.5 to the latest version.

Vulnerable software versions

Ubuntu: 14.04 - 20.04

python3.8-venv (Ubuntu package): before 3.8.10-0ubuntu1~20.04.18

python3.8-minimal (Ubuntu package): before 3.8.10-0ubuntu1~20.04.18

python3.8 (Ubuntu package): before 3.8.10-0ubuntu1~20.04.18

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

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

python3.5 (Ubuntu package): before Ubuntu Pro (Infra-only)

CPE2.3 External links

https://ubuntu.com/security/notices/USN-7348-2


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.

4) Input validation error

EUVDB-ID: #VU103812

Risk: Low

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

CVE-ID: CVE-2025-0938

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass implemented security restrictions.

The vulnerability exists due to urllib.parse.urlsplit and urlparse accept domain names with square brackets. A remote attacker can pass specially crafted input to the application and bypass implemented security restrictions.

Mitigation

Update the affected package python3.5 to the latest version.

Vulnerable software versions

Ubuntu: 14.04 - 20.04

python3.8-venv (Ubuntu package): before 3.8.10-0ubuntu1~20.04.18

python3.8-minimal (Ubuntu package): before 3.8.10-0ubuntu1~20.04.18

python3.8 (Ubuntu package): before 3.8.10-0ubuntu1~20.04.18

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

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

python3.5 (Ubuntu package): before Ubuntu Pro (Infra-only)

CPE2.3 External links

https://ubuntu.com/security/notices/USN-7348-2


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.



###SIDEBAR###