Ubuntu Linux 5.0/5.3 shiftfs shiftfs_btrfs_ioctl_fd_replace Underflow operation after expiration
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.3 | $0-$5k | 0.00 |
Summary
A vulnerability identified as critical has been detected in Ubuntu Linux 5.0/5.3. Affected by this issue is the function shiftfs_btrfs_ioctl_fd_replace of the component shiftfs. The manipulation leads to operation after expiration (Underflow).
This vulnerability is documented as CVE-2019-15791. The attack needs to be performed locally. Additionally, an exploit exists.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Details
A vulnerability was found in Ubuntu Linux 5.0/5.3 (Operating System). It has been rated as critical. This issue affects the function shiftfs_btrfs_ioctl_fd_replace of the component shiftfs. The manipulation with an unknown input leads to a operation after expiration vulnerability (Underflow). Using CWE to declare the problem leads to CWE-672. The product uses, accesses, or otherwise operates on a resource after that resource has been expired, released, or revoked. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
In shiftfs, a non-upstream patch to the Linux kernel included in the Ubuntu 5.0 and 5.3 kernel series, shiftfs_btrfs_ioctl_fd_replace() installs an fd referencing a file from the lower filesystem without taking an additional reference to that file. After the btrfs ioctl completes this fd is closed, which then puts a reference to that file, leading to a refcount underflow.
The weakness was released 04/24/2020. The identification of this vulnerability is CVE-2019-15791 since 08/29/2019. Attacking locally is a requirement. A simple authentication is required for exploitation. Technical details as well as a public exploit are known.
The exploit is available at exploit-db.com. It is declared as proof-of-concept.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the vulnerability database at Exploit-DB (47693). Entries connected to this vulnerability are available at VDB-154334, VDB-154333 and VDB-154332. If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://www.ubuntu.com/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.5VulDB Meta Temp Score: 6.3
VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.1
NVD Vector: 🔍
CNA Base Score: 7.1
CNA Vector (Canonical Ltd.): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Name: UnderflowClass: Operation after expiration / Underflow
CWE: CWE-672
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: No
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Patch: git.launchpad.net
Timeline
08/29/2019 🔍04/24/2020 🔍
04/24/2020 🔍
12/23/2024 🔍
Sources
Vendor: ubuntu.comAdvisory: usn-4183-1
Status: Confirmed
CVE: CVE-2019-15791 (🔍)
GCVE (CVE): GCVE-0-2019-15791
GCVE (VulDB): GCVE-100-154331
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 04/24/2020 10:51 AMUpdated: 12/23/2024 09:10 PM
Changes: 04/24/2020 10:51 AM (39), 04/24/2020 10:56 AM (12), 10/12/2020 04:25 PM (1), 06/02/2024 01:54 PM (18), 06/02/2024 01:59 PM (18), 12/23/2024 09:10 PM (16)
Complete: 🔍
Cache ID: 244:639:40
No comments yet. Languages: en.
Please log in to comment.