CVE-2021-24117
Apache Teaclave Rust SGX SDK RSA Key Side-Channel Vulnerability
Description
In Apache Teaclave Rust SGX SDK 1.1.3, a side-channel vulnerability in base64 PEM file decoding allows system-level (administrator) attackers to obtain information about secret RSA keys via a controlled-channel and side-channel attack on software running in isolated environments that can be single stepped, especially Intel SGX.
INFO
Published Date :
July 14, 2021, 2:15 p.m.
Last Modified :
Nov. 21, 2024, 5:52 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 2.0 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] | 
Public PoC/Exploit Available at Github
                                            CVE-2021-24117 has a 1 public
                                            PoC/Exploit available at Github.
                                            Go to the Public Exploits tab to see the list.
                                        
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-2021-24117.
                                        
| URL | Resource | 
|---|---|
| https://docs.rs/crate/sgx_tstd/1.1.1 | Product Third Party Advisory | 
| https://github.com/UzL-ITS/util-lookup/blob/main/cve-vulnerability-publication.md | Patch Third Party Advisory | 
| https://github.com/dingelish/rust-base64/commit/a554b7ae880553db6dde8a387101a093911d5b2a | Issue Tracking Patch Third Party Advisory | 
| https://docs.rs/crate/sgx_tstd/1.1.1 | Product Third Party Advisory | 
| https://github.com/UzL-ITS/util-lookup/blob/main/cve-vulnerability-publication.md | Patch Third Party Advisory | 
| https://github.com/dingelish/rust-base64/commit/a554b7ae880553db6dde8a387101a093911d5b2a | Issue Tracking Patch Third Party Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2021-24117 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-2021-24117
            weaknesses.
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).
None
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2021-24117 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2021-24117 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 af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://docs.rs/crate/sgx_tstd/1.1.1 Added Reference https://github.com/dingelish/rust-base64/commit/a554b7ae880553db6dde8a387101a093911d5b2a Added Reference https://github.com/UzL-ITS/util-lookup/blob/main/cve-vulnerability-publication.md  - 
                            
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value  - 
                            
Modified Analysis by [email protected]
May. 13, 2022
Action Type Old Value New Value Changed Reference Type https://github.com/dingelish/rust-base64/commit/a554b7ae880553db6dde8a387101a093911d5b2a Patch, Third Party Advisory https://github.com/dingelish/rust-base64/commit/a554b7ae880553db6dde8a387101a093911d5b2a Issue Tracking, Patch, Third Party Advisory Changed CPE Configuration OR *cpe:2.3:a:sgx_tstd_project:sgx_tstd:1.1.3:*:*:*:*:rust:*:* OR *cpe:2.3:a:apache:teaclave_sgx_sdk:1.1.3:*:*:*:*:rust:*:*  - 
                            
CVE Modified by [email protected]
Aug. 10, 2021
Action Type Old Value New Value Changed Description In Rust SGX 1.1.3, a side-channel vulnerability in base64 PEM file decoding allows system-level (administrator) attackers to obtain information about secret RSA keys via a controlled-channel and side-channel attack on software running in isolated environments that can be single stepped, especially Intel SGX. In Apache Teaclave Rust SGX SDK 1.1.3, a side-channel vulnerability in base64 PEM file decoding allows system-level (administrator) attackers to obtain information about secret RSA keys via a controlled-channel and side-channel attack on software running in isolated environments that can be single stepped, especially Intel SGX.  - 
                            
Initial Analysis by [email protected]
Jul. 20, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:P/I:N/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N Changed Reference Type https://docs.rs/crate/sgx_tstd/1.1.1 No Types Assigned https://docs.rs/crate/sgx_tstd/1.1.1 Product, Third Party Advisory Changed Reference Type https://github.com/dingelish/rust-base64/commit/a554b7ae880553db6dde8a387101a093911d5b2a No Types Assigned https://github.com/dingelish/rust-base64/commit/a554b7ae880553db6dde8a387101a093911d5b2a Patch, Third Party Advisory Changed Reference Type https://github.com/UzL-ITS/util-lookup/blob/main/cve-vulnerability-publication.md No Types Assigned https://github.com/UzL-ITS/util-lookup/blob/main/cve-vulnerability-publication.md Patch, Third Party Advisory Added CWE NIST CWE-203 Added CPE Configuration OR *cpe:2.3:a:sgx_tstd_project:sgx_tstd:1.1.3:*:*:*:*:rust:*:*  
Vulnerability Scoring Details
Base CVSS Score: 4.9
Base CVSS Score: 4
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.64 }} -0.02%
score
0.69577
percentile