CVE-2020-15475

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-15475
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15475.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-15475
Downstream
Related
Published
2020-07-01T11:15:11Z
Modified
2025-10-14T17:41:18.298418Z
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, ndpiresetpacketlineinfo in lib/ndpi_main.c omits certain reinitialization, leading to a use-after-free.

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": [
        {
            "id": "CVE-2020-15475-6ca0cbec",
            "signature_type": "Line",
            "target": {
                "file": "src/lib/ndpi_main.c"
            },
            "deprecated": false,
            "digest": {
                "line_hashes": [
                    "51934100062422575646143805195851292989",
                    "169877489502572309715188622643718865888",
                    "245914322038373838027517770688075883955",
                    "99451729234919049448420143174394015364"
                ],
                "threshold": 0.9
            },
            "signature_version": "v1",
            "source": "https://github.com/ntop/ndpi/commit/6a9f5e4f7c3fd5ddab3e6727b071904d76773952"
        },
        {
            "id": "CVE-2020-15475-70c4dedf",
            "signature_type": "Function",
            "target": {
                "file": "src/lib/ndpi_main.c",
                "function": "ndpi_reset_packet_line_info"
            },
            "deprecated": false,
            "digest": {
                "length": 1243.0,
                "function_hash": "76893278317898248010069755076064542516"
            },
            "signature_version": "v1",
            "source": "https://github.com/ntop/ndpi/commit/6a9f5e4f7c3fd5ddab3e6727b071904d76773952"
        }
    ]
}