7.8high

CVE-2017-10851 exploit

In FreeBSD before 11.2-RELEASE, an application which calls setrlimit() to increase RLIMIT_STACK may turn a read-only memory region below th…

Published 8 y ago · modified 4 mo ago · JSON

CVSS
7.8
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
1.8%
percentile 79%
Public exploits
1
Exploit-DB

Summary

In FreeBSD before 11.2-RELEASE, an application which calls setrlimit() to increase RLIMIT_STACK may turn a read-only memory region below the stack into a read-write region. A specially crafted executable could be exploited to execute arbitrary code in the user context.

Exploit prediction (EPSS)

1.85% probability of exploitation in the next 30 days, higher than 79% of all scored CVEs.

Exploits and detections

  • EDB-42279 FreeBSD - 'setrlimit' Stack Clash (PoC) · dos · 2017-06-28

CVSS scores

Assigned byVersionScoreVector
NVD3.07.8CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD2.07.2AV:L/AC:L/Au:N/C:C/I:C/A:C

Affected products

  • FreeBSD FreeBSD

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

  • qualys.com /2017/06/19/stack-clash/stack-clash.txt · x_refsource_MISC, x_transferred
  • exploit-db.com /exploits/42279/ · exploit, x_refsource_EXPLOIT-DB, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.