A buffer overflow in the patching routine of bsdiff4 before 1.2.0 allows an attacker to write to heap memory (beyond allocated bounds) via a crafted patch file.
{ "vanir_signatures": [ { "source": "https://github.com/ilanschnell/bsdiff4/commit/49a4cee2feef7deaf9d89e5e793a8824930284d7", "signature_version": "v1", "id": "CVE-2020-15904-3e8f5ee8", "signature_type": "Line", "target": { "file": "bsdiff4/core.c" }, "digest": { "line_hashes": [ "340220858517578814907242374715912337294", "249112512010043413667638327401764711275", "189019597522981605886487086948941746768", "168663676184366194950515564497195890779", "149900700182757724265752921310883031126", "9488832237023589447927045093353610056", "162976897186473734919379098591521326167", "318887190277594465809371203738702984476", "219265411217723584566294589037845646733" ], "threshold": 0.9 }, "deprecated": false }, { "source": "https://github.com/ilanschnell/bsdiff4/commit/49a4cee2feef7deaf9d89e5e793a8824930284d7", "signature_version": "v1", "id": "CVE-2020-15904-71af10c9", "signature_type": "Function", "target": { "file": "bsdiff4/core.c", "function": "patch" }, "digest": { "function_hash": "322173807638438432450463636713655710926", "length": 1613.0 }, "deprecated": false } ] }