Heap-based buffer overflow in archivestringappendfromwcs() (archive_string.c) in libarchive-3.4.1dev allows remote attackers to cause a denial of service (out-of-bounds write in heap memory resulting into a crash) via a crafted archive file. NOTE: this only affects users who downloaded the development code from GitHub. Users of the product's official releases are unaffected.
[
{
"deprecated": false,
"source": "https://github.com/libarchive/libarchive/commit/4f085eea879e2be745f4d9bf57e8513ae48157f4",
"id": "CVE-2020-21674-261c3f39",
"signature_version": "v1",
"target": {
"file": "libarchive/archive_string.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"116072633996693821785027581455796757274",
"263475613020376564928275470288168600925",
"35946731963817428492056963881029968778",
"296071922221007169360767292332859772771",
"220577582959158359478493625985624478790",
"24629896105847692471971921686267738172",
"260617937097323827464431308041105301840",
"265771018612808281715836621317599184067",
"131567820986708162080378277940629658416",
"24629896105847692471971921686267738172",
"260617937097323827464431308041105301840"
]
},
"signature_type": "Line"
},
{
"deprecated": false,
"source": "https://github.com/libarchive/libarchive/commit/4f085eea879e2be745f4d9bf57e8513ae48157f4",
"id": "CVE-2020-21674-596d9501",
"signature_version": "v1",
"target": {
"file": "libarchive/archive_string.c",
"function": "archive_string_append_from_wcs"
},
"digest": {
"function_hash": "291484009972018707314609976661061493870",
"length": 1087.0
},
"signature_type": "Function"
},
{
"deprecated": false,
"source": "https://github.com/libarchive/libarchive/commit/4f085eea879e2be745f4d9bf57e8513ae48157f4",
"id": "CVE-2020-21674-c8b835c7",
"signature_version": "v1",
"target": {
"file": "libarchive/archive_string.c",
"function": "strncat_from_utf8_libarchive2"
},
"digest": {
"function_hash": "80370799617205615188298360175217438738",
"length": 1202.0
},
"signature_type": "Function"
}
]