7.8
HIGH
CVE-2020-25221
Linux Kernel Privilege Escalation through Gate Page Mishandling in Linux
Description

get_gate_page in mm/gup.c in the Linux kernel 5.7.x and 5.8.x before 5.8.7 allows privilege escalation because of incorrect reference counting (caused by gate page mishandling) of the struct page that backs the vsyscall page. The result is a refcount underflow. This can be triggered by any 64-bit process that can use ptrace() or process_vm_readv(), aka CID-9fa2dd946743.

INFO

Published Date :

Sept. 10, 2020, 2:15 p.m.

Last Modified :

Feb. 2, 2023, 10:23 p.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2020-25221 has a 4 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2020-25221 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Netapp cloud_backup
2 Netapp solidfire_\&_hci_management_node
3 Netapp solidfire_baseboard_management_controller
4 Netapp solidfire\,_enterprise_sds_\&_hci_storage_node
5 Netapp hci_compute_node
1 Linux linux_kernel
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2020-25221.

URL Resource
http://www.openwall.com/lists/oss-security/2020/09/10/4 Mailing List Third Party Advisory
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.8.7 Release Notes Vendor Advisory
https://git.kernel.org/linus/8891adc61dce2a8a41fc0c23262b681c3ec4b73a Issue Tracking Patch Vendor Advisory
https://git.kernel.org/linus/9fa2dd946743ae6f30dc4830da19147bf100a7f2 Issue Tracking Patch Vendor Advisory
https://security.netapp.com/advisory/ntap-20201001-0003/ Third Party Advisory
https://www.openwall.com/lists/oss-security/2020/09/08/4 Mailing List Patch Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

CVE Exploit PoC's

C Makefile Shell M4 Roff Perl Yacc Lex Pascal Python

Updated: 2 months, 3 weeks ago
30 stars 11 fork 11 watcher
Born at : Sept. 29, 2021, 3:35 p.m. This repo has been linked 25 different CVEs too.

None

Updated: 3 years, 1 month ago
1 stars 0 fork 0 watcher
Born at : March 21, 2021, 3:33 a.m. This repo has been linked 73 different CVEs too.

CVE Data Analysis, CVE Monitor, CVE EXP Prediction Based on Deep Learning. 1999-2020年存量CVE数据分析、监控CVE增量更新、基于深度学习的CVE EXP预测和自动化推送

Python

Updated: 2 months, 3 weeks ago
176 stars 24 fork 24 watcher
Born at : June 15, 2020, 2:56 p.m. This repo has been linked 692 different CVEs too.

A collection of proof-of-concept exploit scripts written by the STAR Labs team for various CVEs that they discovered or found by others.

JavaScript HTML Python Shell C Makefile

Updated: 2 months, 3 weeks ago
228 stars 41 fork 41 watcher
Born at : April 6, 2020, 1:26 a.m. This repo has been linked 12 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2020-25221 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2020-25221 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Feb. 02, 2023

    Action Type Old Value New Value
    Changed Reference Type http://www.openwall.com/lists/oss-security/2020/09/10/4 Third Party Advisory http://www.openwall.com/lists/oss-security/2020/09/10/4 Mailing List, Third Party Advisory
    Changed Reference Type https://security.netapp.com/advisory/ntap-20201001-0003/ No Types Assigned https://security.netapp.com/advisory/ntap-20201001-0003/ Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:netapp:cloud_backup:-:*:*:*:*:*:*:* *cpe:2.3:a:netapp:solidfire\,_enterprise_sds_\&_hci_storage_node:-:*:*:*:*:*:*:* *cpe:2.3:a:netapp:solidfire_\&_hci_management_node:-:*:*:*:*:*:*:* *cpe:2.3:h:netapp:hci_compute_node:-:*:*:*:*:*:*:* *cpe:2.3:h:netapp:solidfire_baseboard_management_controller:-:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Oct. 01, 2020

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20201001-0003/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Sep. 15, 2020

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:L/AC:L/Au:N/C:C/I:C/A:C)
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://www.openwall.com/lists/oss-security/2020/09/10/4 No Types Assigned http://www.openwall.com/lists/oss-security/2020/09/10/4 Third Party Advisory
    Changed Reference Type https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.8.7 No Types Assigned https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.8.7 Release Notes, Vendor Advisory
    Changed Reference Type https://git.kernel.org/linus/8891adc61dce2a8a41fc0c23262b681c3ec4b73a No Types Assigned https://git.kernel.org/linus/8891adc61dce2a8a41fc0c23262b681c3ec4b73a Issue Tracking, Patch, Vendor Advisory
    Changed Reference Type https://git.kernel.org/linus/9fa2dd946743ae6f30dc4830da19147bf100a7f2 No Types Assigned https://git.kernel.org/linus/9fa2dd946743ae6f30dc4830da19147bf100a7f2 Issue Tracking, Patch, Vendor Advisory
    Changed Reference Type https://www.openwall.com/lists/oss-security/2020/09/08/4 No Types Assigned https://www.openwall.com/lists/oss-security/2020/09/08/4 Mailing List, Patch, Third Party Advisory
    Added CWE NIST CWE-672
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.7.0 up to (excluding) 5.8.7
  • CVE Modified by [email protected]

    Sep. 10, 2020

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2020/09/10/4 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2020-25221 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2020-25221 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.04 }} 0.00%

score

0.12065

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability