Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-11940

In nDPI through 3.2 Stable, an out-of-bounds read in concat_hash_string in ssh.c can be exploited by a network-positioned attacker that can send malformed SSH protocol messages on a network segment monitored by nDPI's library.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-11940
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:29 UTC · Revision 1

Source evidence

CVE-2020-11940

core-osv · Original source

Published 23 Apr 2020, 15:15 UTC

In nDPI through 3.2 Stable, an out-of-bounds read in concat_hash_string in ssh.c can be exploited by a network-positioned attacker that can send malformed SSH protocol messages on a network segment monitored by nDPI's library.

osv:CVE-2020-11940
Complete source record
{
  "id": "1ba3e56bf93bf8bbdcb2db584dee5edad8937fc29cd6791acab13436e7d0f8e5",
  "url": "https://osv.dev/vulnerability/CVE-2020-11940",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-11940",
    "summary": "In nDPI through 3.2 Stable, an out-of-bounds read in concat_hash_string in ssh.c can be exploited by a network-positioned attacker that can send malformed SSH protocol messages on a network segment monitored by nDPI's library.",
    "evidence": "osv:CVE-2020-11940",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-11940",
      "aliases": [
        "CVE-2020-11940"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ntop/ndpi",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "a50169a7b3ec36c8d789191b014715126e820698"
                },
                {
                  "fixed": "3bbb0cd3296023f6f922c71d21a1c374d2b0a435"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ntop:ndpi:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "3.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "3bbb0cd3296023f6f922c71d21a1c374d2b0a435"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.2",
            "1.8",
            "1.7",
            "1.6"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-11940.json",
            "vanir_signatures": [
              {
                "id": "CVE-2020-11940-ab9df01b",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "112669976753241023190343929122047825687",
                    "55443568218778909503912343298953271493",
                    "55090678806972166490394924557498809564",
                    "277751600410098970889155938586316082601",
                    "54290705435265989777103410977247831576",
                    "252017902324097163463410608857860806490",
                    "52780231211016711509913009326243001039",
                    "50507861911860217230422209087450536983",
                    "252017902324097163463410608857860806490",
                    "52426658710956212032122656176110875829",
                    "54290705435265989777103410977247831576",
                    "252017902324097163463410608857860806490",
                    "52780231211016711509913009326243001039",
                    "50507861911860217230422209087450536983",
                    "252017902324097163463410608857860806490",
                    "52780231211016711509913009326243001039",
                    "50507861911860217230422209087450536983"
                  ]
                },
                "source": "https://github.com/ntop/ndpi/commit/3bbb0cd3296023f6f922c71d21a1c374d2b0a435",
                "target": {
                  "file": "src/lib/protocols/ssh.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2020-11940-e0e7c99f",
                "digest": {
                  "length": 3015,
                  "function_hash": "176786221778472667275115361113617528528"
                },
                "source": "https://github.com/ntop/ndpi/commit/3bbb0cd3296023f6f922c71d21a1c374d2b0a435",
                "target": {
                  "file": "src/lib/protocols/ssh.c",
                  "function": "concat_hash_string"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:44:52Z"
          }
        }
      ],
      "modified": "2026-10-20T13:44:52.591935342Z",
      "provider": "osv",
      "references": [
        "https://github.com/ntop/nDPI/commit/3bbb0cd3296023f6f922c71d21a1c374d2b0a435",
        "https://securitylab.github.com/advisories/GHSL-2020-051_052-ntop-ndpi"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-11940",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388011,
  "published_at": "2020-04-23T15:15:14.153+00:00"
}