{"id":"CVE-2020-7458","state":"PUBLISHED","title":"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 wr","description":"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.","publishedAt":"2020-07-09T13:47:03.000Z","updatedAt":"2024-08-04T09:25:48.986Z","severity":null,"assigner":"freebsd","products":["n/a FreeBSD"],"affected":[{"vendor":"n/a","product":"FreeBSD","versions":[{"version":"FreeBSD 11.4-RELEASE before p1","status":"affected"}]}],"references":["https://security.FreeBSD.org/advisories/FreeBSD-SA-20:18.posix_spawnp.asc","https://security.netapp.com/advisory/ntap-20200724-0002/"],"weaknesses":[],"ingestedAt":"2026-10-29T19:47:41.446Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/7xxx/CVE-2020-7458.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-7458","state":"PUBLISHED","datePublished":"2020-07-09T13:47:03.000Z","dateUpdated":"2024-08-04T09:25:48.986Z","assignerShortName":"freebsd","assignerOrgId":"63664ac6-956c-4cba-a5d0-f46076e16109","dateReserved":"2020-01-21T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"FreeBSD","versions":[{"version":"FreeBSD 11.4-RELEASE before p1","status":"affected"}]}],"references":[{"url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-20:18.posix_spawnp.asc","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20200724-0002/","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"Buffer Overflow","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"freebsd","dateUpdated":"2020-07-24T13:06:14.000Z","orgId":"63664ac6-956c-4cba-a5d0-f46076e16109"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secteam@freebsd.org","ID":"CVE-2020-7458","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"FreeBSD","version":{"version_data":[{"version_value":"FreeBSD 11.4-RELEASE before p1"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Buffer Overflow"}]}]},"references":{"reference_data":[{"name":"https://security.FreeBSD.org/advisories/FreeBSD-SA-20:18.posix_spawnp.asc","refsource":"MISC","url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-20:18.posix_spawnp.asc"},{"name":"https://security.netapp.com/advisory/ntap-20200724-0002/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20200724-0002/"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-20:18.posix_spawnp.asc","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20200724-0002/","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T09:25:48.986Z"}}]}}}