{"id":"CVE-2024-52296","published":"2024-11-12T15:58:28Z","modified":"2024-11-19T17:01:59Z","title":"libosdp has a null pointer deref in osdp_reply_name","vendor":"goToMain","product":"libosdp","tier":"tail","description":{"text":"libosdp is an implementation of IEC 60839-11-5 OSDP (Open Supervised Device Protocol) and provides a C library with support for C++, Rust and Python3. At ospd_common.c, on the osdp_reply_name function, any reply id between REPLY_ACK and REPLY_XRD is valid, but names array do not declare all of the range. On a case of an undefined reply id within the range, name will be null (name = names[reply_id - REPLY_ACK];). Null name will casue a crash on next line: if (name[0] == '\\0') as null[0] is invalid. As this logic is not limited to a secure connection, attacker may trigger this vulnerability without any prior knowledge. This issue is fixed in 2.4.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00347,"percentile":0.29094,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://github.com/goToMain/libosdp/security/advisories/GHSA-7945-5mcv-f2pp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/goToMain/libosdp/commit/24409e98a260176765956ec766a04cb35984fab1","tags":["x_refsource_MISC"]}],"priority":{"score":10.4,"factors":[{"name":"EPSS percentile","points":5.82},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"gotomain","affectedVersions":[{"vendor":"goToMain","product":"libosdp","versions":["< 2.4.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-11-19T17:01:45.739953Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"libosdp","vulnerableRanges":["<2.4.0"],"patched":["2.4.0"],"from":["GHSA-7945-5mcv-f2pp","PYSEC-2026-1534"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-0856","exploited":false,"provenance":"source"}}