CVE-2021-31799
Publication date 15 July 2021
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
In RDoc 3.11 through 6.x before 6.3.1, as distributed with Ruby through 3.0.1, it is possible to execute arbitrary code via | and tags in a filename.
Status
| Package | Ubuntu Release | Status | 
|---|---|---|
| ruby1.9.1 | 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 | Not in release | |
| ruby2.0 | 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 | Not in release | |
| ruby2.3 | 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 2.3.1-2~ubuntu16.04.16+esm1 
                                
                                   | |
| 14.04 LTS trusty | Not in release | |
| ruby2.5 | 22.04 LTS jammy | Not in release | 
| 20.04 LTS focal | Not in release | |
| 18.04 LTS bionic | 
                                Fixed 2.5.1-1ubuntu1.10 
                                
                               | |
| 16.04 LTS xenial | Not in release | |
| 14.04 LTS trusty | Not in release | |
| ruby2.7 | ||
| 20.04 LTS focal | 
                                Fixed 2.7.0-5ubuntu1.5 
                                
                               | |
| 18.04 LTS bionic | Not in release | |
| 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 trialSeverity score breakdown
| Parameter | Value | 
|---|---|
| Base score |  | 
| Attack vector | Local | 
| Attack complexity | High | 
| Privileges required | Low | 
| User interaction | None | 
| Scope | Unchanged | 
| Confidentiality | High | 
| Integrity impact | High | 
| Availability impact | High | 
| Vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | 
References
Related Ubuntu Security Notices (USN)
- USN-5020-1
- Ruby vulnerabilities
- 21 July 2021