Search

Find a vulnerability

Search criteria

    5 vulnerabilities found for sngrep by irontec

    CVE-2026-121944 (GCVE-0-2026-121944)

    Vulnerability from cvelistv5 – Published: 2026-11-04 12:31 – Updated: 2026-11-04 18:51
    VLAI
    Title
    sngrep through 1.9.0 Infinite Loop DoS via Crafted NFLOG TLV
    Summary
    sngrep through 1.9.0 contains an infinite loop vulnerability in capture_packet_reasm_ip() in src/capture.c that allows attackers to cause denial of service via crafted NFLOG TLVs. Attackers can supply a pcap file with link type NFLOG containing a non-payload TLV with length under 4, making the capture thread spin at full CPU and stop processing packets.
    SSVC
    Exploitation: poc Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-11-04 18:50 UTC
    CWE
    • CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')
    Assigner
    VulnCheck CNA
    Impacted products
    Vendor Product Version
    irontec sngrep Affected: 0 , ≤ 1.9.0 (semver)
        cpe:2.3:a:irontec:sngrep:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-10-21 13:36
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-121944",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-04T18:50:54.265569Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-04T18:51:15.773Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "references": [
              {
                "tags": [
                  "exploit"
                ],
                "url": "https://hackmd.io/@haindpwn/cve-2026-121943-121944-sngrep-sip-payload-missing-nul-oob-read"
              }
            ],
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "packageURL": "pkg:github/irontec/sngrep",
              "product": "sngrep",
              "repo": "https://github.com/irontec/sngrep",
              "vendor": "irontec",
              "versions": [
                {
                  "lessThanOrEqual": "1.9.0",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:irontec:sngrep:*:*:*:*:*:*:*:*",
                      "versionEndIncluding": "1.9.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "HaiND from the Post and Telecommunication Institute of Technology"
            }
          ],
          "datePublic": "2026-10-21T13:36:25.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "sngrep through 1.9.0 contains an infinite loop vulnerability in capture_packet_reasm_ip() in src/capture.c that allows attackers to cause denial of service via crafted NFLOG TLVs. Attackers can supply a pcap file with link type NFLOG containing a non-payload TLV with length under 4, making the capture thread spin at full CPU and stop processing packets."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "LOCAL",
                "baseScore": 6.8,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "NONE",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "PASSIVE",
                "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE"
              },
              "format": "CVSS"
            },
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 5.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "format": "CVSS"
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-835",
                  "description": "Loop with Unreachable Exit Condition (\u0027Infinite Loop\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-04T12:31:21.803Z",
            "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
            "shortName": "VulnCheck"
          },
          "references": [
            {
              "tags": [
                "issue-tracking"
              ],
              "url": "https://github.com/irontec/sngrep/issues/589"
            },
            {
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://hackmd.io/@haindpwn/sngrep-sip-payload-missing-nul-oob-read"
            },
            {
              "tags": [
                "technical-description"
              ],
              "url": "https://github.com/irontec/sngrep/blob/v1.9.0/src/capture.c#L581-L598"
            },
            {
              "name": "VulnCheck Advisory: sngrep through 1.9.0 Infinite Loop DoS via Crafted NFLOG TLV",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://www.vulncheck.com/advisories/sngrep-through-1.9.0-infinite-loop-dos-via-crafted-nflog-tlv"
            }
          ],
          "title": "sngrep through 1.9.0 Infinite Loop DoS via Crafted NFLOG TLV",
          "x_generator": {
            "engine": "vulncheck-endgame"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "assignerShortName": "VulnCheck",
        "cveId": "CVE-2026-121944",
        "datePublished": "2026-11-04T12:31:21.803Z",
        "dateReserved": "2026-11-04T12:05:51.303Z",
        "dateUpdated": "2026-11-04T18:51:15.773Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-121943 (GCVE-0-2026-121943)

    Vulnerability from cvelistv5 – Published: 2026-11-04 12:31 – Updated: 2026-11-04 18:51
    VLAI
    Title
    Irontec sngrep through 1.9.0 Out-of-Bounds Stack Read via sip_check_packet
    Summary
    Irontec sngrep through 1.9.0 contains an out-of-bounds stack read vulnerability in sip_check_packet and sip_validate_packet caused by an off-by-one length check on 10240-byte SIP payloads. Remote attackers can send a crafted UDP or TCP SIP packet or supply a pcap file to crash sngrep or leak adjacent stack bytes into displayed SIP fields.
    SSVC
    Exploitation: poc Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-11-04 18:51 UTC
    CWE
    • CWE-170 - Improper Null Termination
    Assigner
    VulnCheck CNA
    Impacted products
    Vendor Product Version
    irontec sngrep Affected: 0 , ≤ 1.9.0 (semver)
        cpe:2.3:a:irontec:sngrep:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-10-21 13:36
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-121943",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-04T18:51:33.759102Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-04T18:51:59.965Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "references": [
              {
                "tags": [
                  "exploit"
                ],
                "url": "https://hackmd.io/@haindpwn/cve-2026-121943-121944-sngrep-sip-payload-missing-nul-oob-read"
              }
            ],
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "packageURL": "pkg:github/irontec/sngrep",
              "product": "sngrep",
              "repo": "https://github.com/irontec/sngrep",
              "vendor": "irontec",
              "versions": [
                {
                  "lessThanOrEqual": "1.9.0",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:irontec:sngrep:*:*:*:*:*:*:*:*",
                      "versionEndIncluding": "1.9.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "HaiND from the Post and Telecommunication Institute of Technology"
            }
          ],
          "datePublic": "2026-10-21T13:36:25.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "Irontec sngrep through 1.9.0 contains an out-of-bounds stack read vulnerability in sip_check_packet and sip_validate_packet caused by an off-by-one length check on 10240-byte SIP payloads. Remote attackers can send a crafted UDP or TCP SIP packet or supply a pcap file to crash sngrep or leak adjacent stack bytes into displayed SIP fields."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "attackComplexity": "HIGH",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "NONE",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "vectorString": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "LOW",
                "vulnConfidentialityImpact": "LOW",
                "vulnIntegrityImpact": "NONE"
              },
              "format": "CVSS"
            },
            {
              "cvssV3_1": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "LOW",
                "baseScore": 4.8,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "LOW",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L",
                "version": "3.1"
              },
              "format": "CVSS"
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-170",
                  "description": "Improper Null Termination",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-04T12:31:21.162Z",
            "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
            "shortName": "VulnCheck"
          },
          "references": [
            {
              "tags": [
                "issue-tracking"
              ],
              "url": "https://github.com/irontec/sngrep/issues/589"
            },
            {
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://hackmd.io/@haindpwn/sngrep-sip-payload-missing-nul-oob-read"
            },
            {
              "tags": [
                "technical-description"
              ],
              "url": "https://github.com/irontec/sngrep/blob/v1.9.0/src/sip.c#L396-L410"
            },
            {
              "name": "VulnCheck Advisory: Irontec sngrep through 1.9.0 Out-of-Bounds Stack Read via sip_check_packet",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://www.vulncheck.com/advisories/irontec-sngrep-through-1.9.0-out-of-bounds-stack-read-via-sip-check-packet"
            }
          ],
          "title": "Irontec sngrep through 1.9.0 Out-of-Bounds Stack Read via sip_check_packet",
          "x_generator": {
            "engine": "vulncheck-endgame"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "assignerShortName": "VulnCheck",
        "cveId": "CVE-2026-121943",
        "datePublished": "2026-11-04T12:31:21.162Z",
        "dateReserved": "2026-11-04T12:05:50.957Z",
        "dateUpdated": "2026-11-04T18:51:59.965Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-90558 (GCVE-0-2026-90558)

    Vulnerability from cvelistv5 – Published: 2026-09-12 18:06 – Updated: 2026-09-14 18:24
    VLAI
    Title
    sngrep through 1.8.4 Stack Buffer Overflow via SIP Headers
    Summary
    sngrep through 1.8.4 contains stack buffer overflow vulnerabilities in SIP attribute formatting routines when header values exceed the 255-byte buffer limit. Attackers can craft malicious SIP packets with oversized Call-ID, X-Call-ID, or other header fields to overflow stack buffers and cause crashes or execute arbitrary code during packet parsing and rendering.
    SSVC
    Exploitation: none Automatable: no Technical Impact: total
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-09-14 18:23 UTC
    CWE
    • CWE-121 - Stack-based Buffer Overflow
    Assigner
    VulnCheck CNA
    Impacted products
    Vendor Product Version
    irontec sngrep Affected: 0 , ≤ 1.8.4 (semver)
        cpe:2.3:a:irontec:sngrep:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-08-07 00:00
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-90558",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-09-14T18:23:35.937384Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-09-14T18:24:23.055Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "sngrep",
              "repo": "https://github.com/irontec/sngrep",
              "vendor": "irontec",
              "versions": [
                {
                  "lessThanOrEqual": "1.8.4",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:irontec:sngrep:*:*:*:*:*:*:*:*",
                      "versionEndIncluding": "1.8.4",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Tristan Madani"
            }
          ],
          "datePublic": "2026-08-07T00:00:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "sngrep through 1.8.4 contains stack buffer overflow vulnerabilities in SIP attribute formatting routines when header values exceed the 255-byte buffer limit. Attackers can craft malicious SIP packets with oversized Call-ID, X-Call-ID, or other header fields to overflow stack buffers and cause crashes or execute arbitrary code during packet parsing and rendering."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 9.3,
                "baseSeverity": "CRITICAL",
                "privilegesRequired": "NONE",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "HIGH",
                "vulnIntegrityImpact": "HIGH"
              },
              "format": "CVSS"
            },
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 9.8,
                "baseSeverity": "CRITICAL",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "format": "CVSS"
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-121",
                  "description": "Stack-based Buffer Overflow",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-09-12T18:06:42.389Z",
            "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
            "shortName": "VulnCheck"
          },
          "references": [
            {
              "name": "Patch Commit",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/irontec/sngrep/commit/1ff74ee3ab5ff280e8ba976aa8c744dca57eb35b"
            },
            {
              "tags": [
                "product"
              ],
              "url": "https://github.com/irontec/sngrep"
            },
            {
              "tags": [
                "technical-description"
              ],
              "url": "https://github.com/irontec/sngrep/blob/v1.8.4/src/sip_call.c#L260"
            },
            {
              "tags": [
                "technical-description"
              ],
              "url": "https://github.com/irontec/sngrep/blob/v1.8.4/src/sip_msg.c#L150"
            },
            {
              "name": "VulnCheck Advisory: sngrep through 1.8.4 Stack Buffer Overflow via SIP Headers",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://www.vulncheck.com/advisories/sngrep-through-1.8.4-stack-buffer-overflow-via-sip-headers"
            }
          ],
          "title": "sngrep through 1.8.4 Stack Buffer Overflow via SIP Headers",
          "x_generator": {
            "engine": "vulncheck-endgame"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "assignerShortName": "VulnCheck",
        "cveId": "CVE-2026-90558",
        "datePublished": "2026-09-12T18:06:42.389Z",
        "dateReserved": "2026-09-12T11:13:43.326Z",
        "dateUpdated": "2026-09-14T18:24:23.055Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2024-3120 (GCVE-0-2024-3120)

    Vulnerability from cvelistv5 – Published: 2024-04-09 23:55 – Updated: 2025-02-21 17:07
    VLAI
    Title
    Stack-Buffer Overflow in 'Content-Length' and 'Warning' Header Processing in sngrep
    Summary
    A stack-buffer overflow vulnerability exists in all versions of sngrep since v1.4.1. The flaw is due to inadequate bounds checking when copying 'Content-Length' and 'Warning' headers into fixed-size buffers in the sip_validate_packet and sip_parse_extra_headers functions within src/sip.c. This vulnerability allows remote attackers to execute arbitrary code or cause a denial of service (DoS) via crafted SIP messages.
    SSVC
    Exploitation: none Automatable: no Technical Impact: total
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2024-04-11 17:09 UTC
    CWE
    • CWE-120 - Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
    Assigner
    Pentraze CNA
    Impacted products
    Vendor Product Version
    irontec sngrep Affected: 1.4.1 , ≤ 1.8.0 (semver)
    Create a notification for this product.
    irontec sngrep Affected: 1.4.1 , ≤ 1.8.0 (custom)
        cpe:2.3:a:irontec:sngrep:1.4.1:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2024-04-09 23:52
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "affected": [
              {
                "cpes": [
                  "cpe:2.3:a:irontec:sngrep:1.4.1:*:*:*:*:*:*:*"
                ],
                "defaultStatus": "unknown",
                "product": "sngrep",
                "vendor": "irontec",
                "versions": [
                  {
                    "lessThanOrEqual": "1.8.0",
                    "status": "affected",
                    "version": "1.4.1",
                    "versionType": "custom"
                  }
                ]
              }
            ],
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2024-3120",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2024-04-11T17:09:06.528600Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-02-21T17:07:41.626Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          },
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-01T19:32:42.908Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://github.com/irontec/sngrep/pull/480/commits/f229a5d31b0be6a6cc3ab4cd9bfa4a1b5c5714c6"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://github.com/irontec/sngrep/releases/tag/v1.8.1"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://pentraze.com/vulnerability-reports/"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "platforms": [
                "Linux"
              ],
              "product": "sngrep",
              "vendor": "irontec",
              "versions": [
                {
                  "lessThanOrEqual": "1.8.0",
                  "status": "affected",
                  "version": "1.4.1",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "datePublic": "2024-04-09T23:52:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "A stack-buffer overflow vulnerability exists in all versions of sngrep since v1.4.1. The flaw is due to inadequate bounds checking when copying \u0027Content-Length\u0027 and \u0027Warning\u0027 headers into fixed-size buffers in the sip_validate_packet and sip_parse_extra_headers functions within src/sip.c. This vulnerability allows remote attackers to execute arbitrary code or cause a denial of service (DoS) via crafted SIP\u0026nbsp;messages."
                }
              ],
              "value": "A stack-buffer overflow vulnerability exists in all versions of sngrep since v1.4.1. The flaw is due to inadequate bounds checking when copying \u0027Content-Length\u0027 and \u0027Warning\u0027 headers into fixed-size buffers in the sip_validate_packet and sip_parse_extra_headers functions within src/sip.c. This vulnerability allows remote attackers to execute arbitrary code or cause a denial of service (DoS) via crafted SIP\u00a0messages."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-100",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-100 Overflow Buffers"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 9,
                "baseSeverity": "CRITICAL",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "CHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H",
                "version": "3.1"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-120",
                  "description": "CWE-120 Buffer Copy without Checking Size of Input (\u0027Classic Buffer Overflow\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2024-04-09T23:55:57.410Z",
            "orgId": "41c37e40-543d-43a2-b660-2fee83ea851a",
            "shortName": "Pentraze"
          },
          "references": [
            {
              "url": "https://github.com/irontec/sngrep/pull/480/commits/f229a5d31b0be6a6cc3ab4cd9bfa4a1b5c5714c6"
            },
            {
              "url": "https://github.com/irontec/sngrep/releases/tag/v1.8.1"
            },
            {
              "url": "https://pentraze.com/vulnerability-reports/"
            }
          ],
          "solutions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "Upgrade to sngrep version 1.8.1"
                }
              ],
              "value": "Upgrade to sngrep version 1.8.1"
            }
          ],
          "source": {
            "discovery": "UNKNOWN"
          },
          "title": "Stack-Buffer Overflow in \u0027Content-Length\u0027 and \u0027Warning\u0027 Header Processing in sngrep",
          "x_generator": {
            "engine": "Vulnogram 0.1.0-dev"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "41c37e40-543d-43a2-b660-2fee83ea851a",
        "assignerShortName": "Pentraze",
        "cveId": "CVE-2024-3120",
        "datePublished": "2024-04-09T23:55:57.410Z",
        "dateReserved": "2024-03-31T17:10:14.906Z",
        "dateUpdated": "2025-02-21T17:07:41.626Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2024-3119 (GCVE-0-2024-3119)

    Vulnerability from cvelistv5 – Published: 2024-04-09 23:55 – Updated: 2024-08-08 21:20
    VLAI
    Title
    Stack-Buffer Overflow in 'Call-ID' and 'X-Call-ID' SIP Header Processing in sngrep
    Summary
    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.
    SSVC
    Exploitation: none Automatable: no Technical Impact: total
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2024-04-10 19:23 UTC
    CWE
    • CWE-120 - Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
    Assigner
    Pentraze CNA
    Impacted products
    Vendor Product Version
    irontec sngrep Affected: 0.4.2 , ≤ 1.8.0 (semver)
    Create a notification for this product.
    irontec sngrep Affected: 0.4.2 , ≤ 1.8.0 (custom)
        cpe:2.3:a:irontec:sngrep:0.4.2:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2024-04-09 23:10
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-01T19:32:42.915Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://github.com/irontec/sngrep/pull/480/commits/73c15c82d14c69df311e05fa75da734faafd365f"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://github.com/irontec/sngrep/releases/tag/v1.8.1"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://pentraze.com/vulnerability-reports/"
              }
            ],
            "title": "CVE Program Container"
          },
          {
            "affected": [
              {
                "cpes": [
                  "cpe:2.3:a:irontec:sngrep:0.4.2:*:*:*:*:*:*:*"
                ],
                "defaultStatus": "unknown",
                "product": "sngrep",
                "vendor": "irontec",
                "versions": [
                  {
                    "lessThanOrEqual": "1.8.0",
                    "status": "affected",
                    "version": "0.4.2",
                    "versionType": "custom"
                  }
                ]
              }
            ],
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2024-3119",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2024-04-10T19:23:53.437651Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2024-08-08T21:20:41.031Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "platforms": [
                "Linux"
              ],
              "product": "sngrep",
              "vendor": "irontec",
              "versions": [
                {
                  "lessThanOrEqual": "1.8.0",
                  "status": "affected",
                  "version": "0.4.2",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "datePublic": "2024-04-09T23:10:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "A buffer overflow vulnerability exists in all versions of sngrep since v0.4.2, due to improper handling of \u0027Call-ID\u0027 and \u0027X-Call-ID\u0027 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.\u003cbr\u003e"
                }
              ],
              "value": "A buffer overflow vulnerability exists in all versions of sngrep since v0.4.2, due to improper handling of \u0027Call-ID\u0027 and \u0027X-Call-ID\u0027 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.\n"
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-100",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-100 Overflow Buffers"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 9,
                "baseSeverity": "CRITICAL",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "CHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H",
                "version": "3.1"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-120",
                  "description": "CWE-120 Buffer Copy without Checking Size of Input (\u0027Classic Buffer Overflow\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2024-04-09T23:55:43.501Z",
            "orgId": "41c37e40-543d-43a2-b660-2fee83ea851a",
            "shortName": "Pentraze"
          },
          "references": [
            {
              "url": "https://github.com/irontec/sngrep/pull/480/commits/73c15c82d14c69df311e05fa75da734faafd365f"
            },
            {
              "url": "https://github.com/irontec/sngrep/releases/tag/v1.8.1"
            },
            {
              "url": "https://pentraze.com/vulnerability-reports/"
            }
          ],
          "solutions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "Upgrade to sngrep version 1.8.1"
                }
              ],
              "value": "Upgrade to sngrep version 1.8.1"
            }
          ],
          "source": {
            "discovery": "UNKNOWN"
          },
          "title": "Stack-Buffer Overflow in \u0027Call-ID\u0027 and \u0027X-Call-ID\u0027 SIP Header Processing in sngrep",
          "x_generator": {
            "engine": "Vulnogram 0.1.0-dev"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "41c37e40-543d-43a2-b660-2fee83ea851a",
        "assignerShortName": "Pentraze",
        "cveId": "CVE-2024-3119",
        "datePublished": "2024-04-09T23:55:43.501Z",
        "dateReserved": "2024-03-31T17:10:09.267Z",
        "dateUpdated": "2024-08-08T21:20:41.031Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }