In FreeBSD 12.1-STABLE before r362281, 11.4-STABLE before r362281, and 11.4-RELEASE before p1, long values in the user-controlled PATH environment variable cause posix_spawnp to write beyond the end of the heap allocated stack possibly leading to arbitrary code execution.
                
            References
                    | Link | Resource | 
|---|---|
| https://security.FreeBSD.org/advisories/FreeBSD-SA-20:18.posix_spawnp.asc | Patch Vendor Advisory | 
| https://security.netapp.com/advisory/ntap-20200724-0002/ | Third Party Advisory | 
| https://security.FreeBSD.org/advisories/FreeBSD-SA-20:18.posix_spawnp.asc | Patch Vendor Advisory | 
| https://security.netapp.com/advisory/ntap-20200724-0002/ | Third Party Advisory | 
Configurations
                    Configuration 1 (hide)
            
            
  | 
    
History
                    21 Nov 2024, 05:37
| Type | Values Removed | Values Added | 
|---|---|---|
| References | () https://security.FreeBSD.org/advisories/FreeBSD-SA-20:18.posix_spawnp.asc - Patch, Vendor Advisory | |
| References | () https://security.netapp.com/advisory/ntap-20200724-0002/ - Third Party Advisory | 
Information
                Published : 2020-07-09 14:15
Updated : 2024-11-21 05:37
NVD link : CVE-2020-7458
Mitre link : CVE-2020-7458
CVE.ORG link : CVE-2020-7458
JSON object : View
Products Affected
                freebsd
- freebsd
 
CWE
                
                    
                        
                        CWE-787
                        
            Out-of-bounds Write
