SecurityContext

CVE-2024-3119: sngrep - Buffer Overflow

  • Cve: CVE-2024-3119
  • Name: sngrep - Buffer Overflow
  • Description: A buffer overflow vulnerability exists in all versions of sngrep since v0.4.2, due to improper handling of 'Call-ID' and 'X-Call-ID' SIP headers. The functions sip_get_callid and sip_get_xcallid in sip.c use the strncpy function to copy header contents into fixed-size buffers without checking the data length. This flaw allows remote attackers to execute arbitrary code or cause a denial of service (DoS) through specially crafted SIP messages.
  • Impact: Attackers can execute arbitrary code or cause denial of service by sending malicious SIP messages.
  • Remediation: Update to the latest version of sngrep that addresses this vulnerability or apply patches if available.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution, denial_of_service
  • 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.018
  • Epss percentile: 0.79062
  • Assignee: 41c37e40-543d-43a2-b660-2fee83ea851a
  • Published at: 2024-04-10T00:15:12Z
  • Age in days: 958
  • Modified at: 2026-06-17T07:43:20Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-3119
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-120Buffer Copy without Checking Size of Input
CWE-787Out-of-bounds Write

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/irontec/sngrep/pull/480/commits/73c15c82d14c69df311e05fa75da734faafd365fPatch
https://pentraze.com/vulnerability-reports/Third Party Advisory
https://github.com/irontec/sngrep/releases/tag/v1.8.1Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
irontec:sngrep>= 0.4.2, < 1.8.1nonvd/v1/products/irontec/sngrep

Projects

RepositoryLink kindsIndexedUrl
irontec/sngreppull, releasesyes/v1/repositories/irontec/sngrep

Index

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

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts