In lldpd before 1.0.13, when decoding SONMP packets in the sonmp_decode function, it's possible to trigger an out-of-bounds heap read via short SONMP packets.
{ "vanir_signatures": [ { "digest": { "threshold": 0.9, "line_hashes": [ "174270931191069446119922332806983027230", "328953425429319740967359908202123365019", "148474301713841057780854757599060454972", "303472043700785910045862048403819654472" ] }, "id": "CVE-2021-43612-3f142231", "source": "https://github.com/lldpd/lldpd/commit/73d42680fce8598324364dbb31b9bc3b8320adf7", "signature_version": "v1", "signature_type": "Line", "target": { "file": "src/daemon/protocols/sonmp.c" }, "deprecated": false }, { "digest": { "threshold": 0.9, "line_hashes": [ "123919934963719850177372057111646982388", "85242646061938928223557171248857657613", "290398165181504468760796425243008171327", "73400390999848461393684333828551772347", "66224003795423317515501178359389502228", "263998930456032330990528442924748879102", "134033607636796134223854940512835876482", "150652448467631310759880651304122297814", "75008514573464950100949670934350687236", "121758378453464247567102532326677508342", "99856463810497114028292624778359719239", "91295583977985738032834828095236946141", "121648892500187250039971799308710356741", "284151098791119388058347318805540286132", "42095772248954819309628834884020855252", "182881045688165871448594777995178323541" ] }, "id": "CVE-2021-43612-be4181ed", "source": "https://github.com/lldpd/lldpd/commit/73d42680fce8598324364dbb31b9bc3b8320adf7", "signature_version": "v1", "signature_type": "Line", "target": { "file": "tests/check_sonmp.c" }, "deprecated": false }, { "digest": { "function_hash": "8385375709133268312520587891129635825", "length": 1710.0 }, "id": "CVE-2021-43612-ce80cd72", "source": "https://github.com/lldpd/lldpd/commit/73d42680fce8598324364dbb31b9bc3b8320adf7", "signature_version": "v1", "signature_type": "Function", "target": { "file": "tests/check_sonmp.c", "function": "START_TEST" }, "deprecated": false }, { "digest": { "function_hash": "31357405704987458856179538394491194529", "length": 3756.0 }, "id": "CVE-2021-43612-f8222931", "source": "https://github.com/lldpd/lldpd/commit/73d42680fce8598324364dbb31b9bc3b8320adf7", "signature_version": "v1", "signature_type": "Function", "target": { "file": "src/daemon/protocols/sonmp.c", "function": "sonmp_decode" }, "deprecated": false } ] }