SecurityContext

CVE-2020-24863: MidnightBSD & FreeBSD - Use After Free

  • Cve: CVE-2020-24863
  • Name: MidnightBSD & FreeBSD - Use After Free
  • Description: A memory corruption vulnerability was found in the kernel function kern_getfsstat in MidnightBSD before 1.2.7 and 1.3 through 2020-08-19, and FreeBSD through 11.4, that allows an attacker to trigger an invalid free and crash the system via a crafted size value in conjunction with an invalid mode.
  • Impact: Attackers can cause system crashes or potential memory corruption leading to denial of service or privilege escalation.
  • Remediation: Update to MidnightBSD 1.2.7 or later, and FreeBSD 12.0 or later.
  • Vulnerability type: use_after_free
  • Vulnerability impact: denial_of_service, privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00533
  • Epss percentile: 0.45636
  • Assignee: [email protected]
  • Published at: 2020-09-03T15:15:11Z
  • Age in days: 2273
  • Modified at: 2026-06-17T03:06:07Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 4
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-24863
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-787Out-of-bounds Write

Public exploits

UrlSourceAdded date
http://www.midnightbsd.org/security/adv/MIDNIGHTBSD-SA-20:01.txtnvd2020-09-03
https://github.com/MidnightBSD/src/blob/1691c07ff4f27b97220a5d65e217341e477f4014/sys/kern/vfs_syscalls.cnvd2020-09-03

References

Same in every row:

  • Source: nvd
UrlTags
https://www.freebsd.org/security/advisories/FreeBSD-EN-20:18.getfsstat.ascPatch, Vendor Advisory
http://www.midnightbsd.org/security/adv/MIDNIGHTBSD-SA-20:01.txtExploit, Vendor Advisory
https://www.midnightbsd.org/notes/Release Notes, Vendor Advisory
https://github.com/MidnightBSD/src/blob/1691c07ff4f27b97220a5d65e217341e477f4014/sys/kern/vfs_syscalls.cExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
freebsd:freebsd<= 11.4nonvd/v1/products/freebsd/freebsd
midnightbsd:midnightbsd>= 1.3, <= 2020-08-19; < 1.2.7nonvd/v1/products/midnightbsd/midnightbsd

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2020-09-03
  • Authentication required: yes
  • Exposed hosts: 164903
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports