CVE-2019-20907
Publication date 13 July 2020
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
In Lib/tarfile.py in Python through 3.8.3, an attacker is able to craft a TAR archive leading to an infinite loop when opened by tarfile.open, because _proc_pax lacks header validation.
Status
| Package | Ubuntu Release | Status | 
|---|---|---|
| python2.7 | ||
| 24.04 LTS noble | Not in release | |
| 22.04 LTS jammy | 
                                Not affected 
                                
                               | |
| 20.04 LTS focal | 
                                Fixed 2.7.18-1~20.04.1 
                                
                               | |
| 18.04 LTS bionic | 
                                Fixed 2.7.17-1~18.04ubuntu1.1 
                                
                               | |
| 16.04 LTS xenial | 
                                Fixed 2.7.12-1ubuntu0~16.04.12 
                                
                               | |
| 14.04 LTS trusty | 
                                Fixed 2.7.6-8ubuntu0.6+esm6 
                                
                                   | |
| python3.4 | ||
| 24.04 LTS noble | Not in release | |
| 22.04 LTS jammy | Not in release | |
| 20.04 LTS focal | Not in release | |
| 18.04 LTS bionic | Not in release | |
| 16.04 LTS xenial | Not in release | |
| 14.04 LTS trusty | 
                                Fixed 3.4.3-1ubuntu1~14.04.7+esm7 
                                
                                   | |
| python3.5 | ||
| 24.04 LTS noble | Not in release | |
| 22.04 LTS jammy | Not in release | |
| 20.04 LTS focal | Not in release | |
| 18.04 LTS bionic | Not in release | |
| 16.04 LTS xenial | 
                                Fixed 3.5.2-2ubuntu0~16.04.11 
                                
                               | |
| 14.04 LTS trusty | 
                                Fixed 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1 
                                
                                   | |
| python3.6 | ||
| 24.04 LTS noble | Not in release | |
| 22.04 LTS jammy | Not in release | |
| 20.04 LTS focal | Not in release | |
| 18.04 LTS bionic | 
                                Fixed 3.6.9-1~18.04ubuntu1.1 
                                
                               | |
| 16.04 LTS xenial | Not in release | |
| 14.04 LTS trusty | Not in release | |
| python3.7 | ||
| 24.04 LTS noble | Not in release | |
| 22.04 LTS jammy | Not in release | |
| 20.04 LTS focal | Not in release | |
| 18.04 LTS bionic | 
                                Fixed 3.7.5-2ubuntu1~18.04.2+esm3 
                                
                                   | |
| 16.04 LTS xenial | Not in release | |
| 14.04 LTS trusty | Not in release | |
| python3.8 | ||
| 24.04 LTS noble | Not in release | |
| 22.04 LTS jammy | Not in release | |
| 20.04 LTS focal | 
                                Fixed 3.8.2-1ubuntu1.2 
                                
                               | |
| 18.04 LTS bionic | 
                                Fixed 3.8.0-3ubuntu1~18.04.2+esm2 
                                
                                   | |
| 16.04 LTS xenial | Not in release | |
| 14.04 LTS trusty | Not in release | 
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialPatch details
| Package | Patch details | 
|---|---|
| python3.6 | 
 | 
| python3.7 | 
 | 
| python3.8 | 
 | 
Severity score breakdown
| Parameter | Value | 
|---|---|
| Base score |  | 
| Attack vector | Network | 
| Attack complexity | Low | 
| Privileges required | None | 
| User interaction | None | 
| Scope | Unchanged | 
| Confidentiality | None | 
| Integrity impact | None | 
| Availability impact | High | 
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | 
References
Related Ubuntu Security Notices (USN)
- USN-4428-1
- Python vulnerabilities
- 22 July 2020
- USN-4754-3
- Python vulnerabilities
- 12 March 2021
- USN-6891-1
- Python vulnerabilities
- 11 July 2024