An issue was discovered in International Components for Unicode (ICU) for C/C++ through 66.1. An integer overflow, leading to a heap-based buffer overflow, exists in the UnicodeString::doAppend() function in common/unistr.cpp.
{ "vanir_signatures": [ { "deprecated": false, "id": "CVE-2020-10531-073eef5e", "signature_version": "v1", "digest": { "line_hashes": [ "163326310584139620683127306141902484022", "53777311359894187782715740876739193896", "259529947505127728544220868421245451215", "275100226479365140411992926648193383127" ], "threshold": 0.9 }, "signature_type": "Line", "target": { "file": "icu4c/source/common/unistr.cpp" }, "source": "https://github.com/unicode-org/icu/commit/b7d08bc04a4296982fcef8b6b8a354a9e4e7afca" }, { "deprecated": false, "id": "CVE-2020-10531-52deb174", "signature_version": "v1", "digest": { "length": 783.0, "function_hash": "311203197988252367781213452935901397736" }, "signature_type": "Function", "target": { "function": "UnicodeString::doAppend", "file": "icu4c/source/common/unistr.cpp" }, "source": "https://github.com/unicode-org/icu/commit/b7d08bc04a4296982fcef8b6b8a354a9e4e7afca" }, { "deprecated": false, "id": "CVE-2020-10531-8aefd4ce", "signature_version": "v1", "digest": { "length": 1182.0, "function_hash": "282047263291457392771884626389331655576" }, "signature_type": "Function", "target": { "function": "UnicodeStringTest::runIndexedTest", "file": "icu4c/source/test/intltest/ustrtest.cpp" }, "source": "https://github.com/unicode-org/icu/commit/b7d08bc04a4296982fcef8b6b8a354a9e4e7afca" }, { "deprecated": false, "id": "CVE-2020-10531-e4962e84", "signature_version": "v1", "digest": { "line_hashes": [ "281493051491934789897437676517916732519", "16536246155701564973448811408738863909", "170482884151252957689139896393908258054", "244202485545224852526398604846366360242", "297837186745196421493934701917911463958" ], "threshold": 0.9 }, "signature_type": "Line", "target": { "file": "icu4c/source/test/intltest/ustrtest.cpp" }, "source": "https://github.com/unicode-org/icu/commit/b7d08bc04a4296982fcef8b6b8a354a9e4e7afca" }, { "deprecated": false, "id": "CVE-2020-10531-efe65e00", "signature_version": "v1", "digest": { "line_hashes": [ "176032011631701592212894972723462041867", "313180536602387946983383287883265241998", "253612880278707994326010847370624889941" ], "threshold": 0.9 }, "signature_type": "Line", "target": { "file": "icu4c/source/test/intltest/ustrtest.h" }, "source": "https://github.com/unicode-org/icu/commit/b7d08bc04a4296982fcef8b6b8a354a9e4e7afca" } ] }