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.
The product writes data past the end, or before the beginning, of the intended buffer.
Link | Tags |
---|---|
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 |