CVE-2020-15474

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-15474
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15474.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-15474
Downstream
Related
Published
2020-07-01T11:15:11Z
Modified
2025-10-21T05:40:41.039066Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

In nDPI through 3.2, there is a stack overflow in extractRDNSequence in lib/protocols/tls.c.

References

Affected packages

Git / github.com/ntop/ndpi

Affected ranges

Type
GIT
Repo
https://github.com/ntop/ndpi
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*

1.6
1.7
1.8

Database specific

vanir_signatures

[
    {
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "225523574745366093670176219419875372882",
                "41533100937668737138175229749319945716",
                "324319294165182271277299970328597868925",
                "134250359078680813902806761101273532615",
                "189336477499206106497022578611438464827",
                "117131308882442004379109698369237697599",
                "23650724858322295196222395239047867090"
            ],
            "threshold": 0.9
        },
        "deprecated": false,
        "signature_version": "v1",
        "target": {
            "file": "src/lib/protocols/tls.c"
        },
        "source": "https://github.com/ntop/ndpi/commit/23594f036536468072198a57c59b6e9d63caf6ce",
        "id": "CVE-2020-15474-3ad1d282"
    },
    {
        "signature_type": "Function",
        "digest": {
            "function_hash": "225965552290219495327635591115184837436",
            "length": 8094.0
        },
        "deprecated": false,
        "signature_version": "v1",
        "target": {
            "function": "processCertificateElements",
            "file": "src/lib/protocols/tls.c"
        },
        "source": "https://github.com/ntop/ndpi/commit/23594f036536468072198a57c59b6e9d63caf6ce",
        "id": "CVE-2020-15474-e83d55f3"
    },
    {
        "signature_type": "Function",
        "digest": {
            "function_hash": "269860222721792341979458144334976344",
            "length": 767.0
        },
        "deprecated": false,
        "signature_version": "v1",
        "target": {
            "function": "extractRDNSequence",
            "file": "src/lib/protocols/tls.c"
        },
        "source": "https://github.com/ntop/ndpi/commit/23594f036536468072198a57c59b6e9d63caf6ce",
        "id": "CVE-2020-15474-ee464892"
    }
]