CVE-2020-7458

critical

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.

References

https://security.netapp.com/advisory/ntap-20200724-0002/

https://security.FreeBSD.org/advisories/FreeBSD-SA-20:18.posix_spawnp.asc

Details

Source: Mitre, NVD

Published: 2020-07-09

Updated: 2022-01-04

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical