iptraf-ng 1.2.1 has a stack-based buffer overflow. In src/ifaces.c, the strcpy function consistently fails to control the size, and it is consequently possible to overflow memory on the stack.
{
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52949.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:iptraf-ng:iptraf-ng:1.2.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.2.1"
},
{
"last_affected": "1.2.1"
}
],
"source": "CPE_STRING"
},
{
"original_tag": "v1.2.1",
"range": [
{
"fixed": "1ad05c9c4b88e87bc0bd777249e27ef3137da78b"
}
],
"source": "REFERENCES_TAG"
}
]
}