CVE-2019-12495
TinyCC Out-of-Bounds Write Vulnerability
Description
An issue was discovered in Tiny C Compiler (aka TinyCC or TCC) 0.9.27. Compiling a crafted source file leads to a one-byte out-of-bounds write in the gsym_addr function in x86_64-gen.c. This occurs because tccasm.c mishandles section switches.
INFO
Published Date :
May 31, 2019, 11:29 a.m.
Last Modified :
Nov. 21, 2024, 4:22 a.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 2.0 | MEDIUM | [email protected] | ||||
| CVSS 3.0 | MEDIUM | [email protected] | 
Solution
- Update Tiny C Compiler to a patched version.
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-2019-12495.
                                        
| URL | Resource | 
|---|---|
| http://www.securityfocus.com/bid/108541 | |
| https://lists.nongnu.org/archive/html/tinycc-devel/2019-05/msg00044.html | Exploit Third Party Advisory | 
| https://repo.or.cz/tinycc.git/commit/d04ce7772c2bc2781ab2502e0b1f1964488814b5 | Patch Third Party Advisory | 
| http://www.securityfocus.com/bid/108541 | |
| https://lists.nongnu.org/archive/html/tinycc-devel/2019-05/msg00044.html | Exploit Third Party Advisory | 
| https://repo.or.cz/tinycc.git/commit/d04ce7772c2bc2781ab2502e0b1f1964488814b5 | 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-2019-12495 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-2019-12495
            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).
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2019-12495 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2019-12495 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-364da2661108Nov. 21, 2024 Action Type Old Value New Value Added Reference http://www.securityfocus.com/bid/108541 Added Reference https://lists.nongnu.org/archive/html/tinycc-devel/2019-05/msg00044.html Added Reference https://repo.or.cz/tinycc.git/commit/d04ce7772c2bc2781ab2502e0b1f1964488814b5 
- 
                            CVE Modified by [email protected]May. 14, 2024 Action Type Old Value New Value 
- 
                            CVE Modified by [email protected]Jun. 03, 2019 Action Type Old Value New Value Added Reference http://www.securityfocus.com/bid/108541 [No Types Assigned] 
- 
                            Initial Analysis by [email protected]May. 31, 2019 Action Type Old Value New Value Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism Added CVSS V2 (AV:N/AC:M/Au:N/C:N/I:N/A:P) Added CVSS V3 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Changed Reference Type https://repo.or.cz/tinycc.git/commit/d04ce7772c2bc2781ab2502e0b1f1964488814b5 No Types Assigned https://repo.or.cz/tinycc.git/commit/d04ce7772c2bc2781ab2502e0b1f1964488814b5 Patch, Third Party Advisory Changed Reference Type https://lists.nongnu.org/archive/html/tinycc-devel/2019-05/msg00044.html No Types Assigned https://lists.nongnu.org/archive/html/tinycc-devel/2019-05/msg00044.html Exploit, Third Party Advisory Added CWE CWE-787 Added CPE Configuration OR *cpe:2.3:a:tinycc:tinycc:0.9.27:*:*:*:*:*:*:* 
Vulnerability Scoring Details
Base CVSS Score: 5.5
Base CVSS Score: 4.3
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.20 }} 0.02%
score
0.38888
percentile
 
                         
                         
                         
                                             
                                            