Paper/Archive/CVE-2020-7458

CVE-2020-7458

freebsd — 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 en…

Description · from the CVE record

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

ProductAffectedFixed inSource
FreeBSDFreeBSD 11.4-RELEASE before p1–CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References

refsecurity.FreeBSD.org/advisories/FreeBSD-SA-20:18.posix_spawnp.ascrefsecurity.netapp.com/advisory/ntap-20200724-0002