SecurityContext

CVE-2017-2922: Cesanta Mongoose - Use After Free

  • Cve: CVE-2017-2922
  • Name: Cesanta Mongoose - Use After Free
  • Description: An exploitable memory corruption vulnerability exists in the Websocket protocol implementation of Cesanta Mongoose 6.8. A specially crafted websocket packet can cause a buffer to be allocated while leaving stale pointers which leads to a use-after-free vulnerability which can be exploited to achieve remote code execution. An attacker needs to send a specially crafted websocket packet over the network to trigger this vulnerability.
  • Impact: Remote attackers can execute arbitrary code by exploiting the use-after-free vulnerability in Websocket handling.
  • Remediation: Update to the latest version of Cesanta Mongoose or apply security patches addressing this vulnerability.
  • Vulnerability type: use_after_free
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.02625
  • Epss percentile: 0.85869
  • Assignee: [email protected]
  • Published at: 2017-11-07T16:29:01Z
  • Age in days: 3304
  • Modified at: 2026-06-17T01:17:08Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-2922
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-416Use After Free

Public exploits

UrlSourceAdded date
https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0429nvd2017-11-07

References

UrlSourceTags
https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0429nvdExploit, Technical Description, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
cesanta:mongoose= 6.8nonvd/v1/products/cesanta/mongoose

Index

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

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2017-11-07
  • Remote: yes
  • Exposed hosts: 22758
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports