SecurityContext

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

  • Cve: CVE-2017-2891
  • Name: Cesanta Mongoose - Use After Free
  • Description: An exploitable use-after-free vulnerability exists in the HTTP server implementation of Cesanta Mongoose 6.8. An ordinary HTTP POST request with a CGI target can cause a reuse of previously freed pointer potentially resulting in remote code execution. An attacker needs to send this HTTP request over the network to trigger this vulnerability.
  • Impact: Remote attackers can execute arbitrary code on the server, potentially leading to full system compromise.
  • 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.0276
  • Epss percentile: 0.86631
  • Assignee: [email protected]
  • Published at: 2017-11-07T16:29:00Z
  • Age in days: 3304
  • Modified at: 2026-06-17T01:17:04Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-2891
  • 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-0398nvd2017-11-07

References

UrlSourceTags
https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0398nvdExploit, 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