Ubuntu update for python2.7



Published: 2022-07-14
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2015-20107
CWE-ID CWE-78
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Ubuntu
Operating systems & Components / Operating system

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.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-minimal (Ubuntu package)
Operating systems & Components / Operating system package or component

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

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

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

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

python3.6 (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.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 one high risk vulnerability.

1) OS Command Injection

EUVDB-ID: #VU64573

Risk: High

CVSSv3.1: 7.1 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2015-20107

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 remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper input validation in the mailcap module, which does not escape characters into commands discovered in the system mailcap file. A remote unauthenticated attacker can pass specially crafted data to the applications that call mailcap.findmatch with untrusted input 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 - 22.04

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

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

python3.9 (Ubuntu package): before 3.9.7-2ubuntu0.1

python3.9-minimal (Ubuntu package): before 3.9.7-2ubuntu0.1

python2.7-minimal (Ubuntu package): before 2.7.18-13ubuntu1.1

python3.10-minimal (Ubuntu package): before 3.10.4-3ubuntu0.1

python2.7 (Ubuntu package): before 2.7.18-13ubuntu1.1

python3.10 (Ubuntu package): before 3.10.4-3ubuntu0.1

python3.6-minimal (Ubuntu package): before 3.6.9-1~18.04ubuntu1.8

python3.6 (Ubuntu package): before 3.6.9-1~18.04ubuntu1.8

python3.4-minimal (Ubuntu package): before 3.5.22u buntu0~16.04.13+esm1

python3.4 (Ubuntu package): before 3.5.22u buntu0~16.04.13+esm1

python3.5-minimal (Ubuntu package): before 3.5.22u buntu0~16.04.13+esm1

python3.5 (Ubuntu package): before 3.5.22u buntu0~16.04.13+esm1

External links

http://ubuntu.com/security/notices/USN-5519-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.



###SIDEBAR###