In nDPI through 3.2, ndpiresetpacketlineinfo in lib/ndpi_main.c omits certain reinitialization, leading to a use-after-free.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15475.json"
[
{
"source": "https://github.com/ntop/ndpi/commit/6a9f5e4f7c3fd5ddab3e6727b071904d76773952",
"digest": {
"line_hashes": [
"51934100062422575646143805195851292989",
"169877489502572309715188622643718865888",
"245914322038373838027517770688075883955",
"99451729234919049448420143174394015364"
],
"threshold": 0.9
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"target": {
"file": "src/lib/ndpi_main.c"
},
"id": "CVE-2020-15475-6ca0cbec"
},
{
"source": "https://github.com/ntop/ndpi/commit/6a9f5e4f7c3fd5ddab3e6727b071904d76773952",
"digest": {
"length": 1243.0,
"function_hash": "76893278317898248010069755076064542516"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"target": {
"file": "src/lib/ndpi_main.c",
"function": "ndpi_reset_packet_line_info"
},
"id": "CVE-2020-15475-70c4dedf"
}
]