The uwsgiexpandpath function in core/utils.c in Unbit uWSGI through 2.0.15 has a stack-based buffer overflow via a large directory length.
[
{
"signature_version": "v1",
"target": {
"file": "core/utils.c"
},
"deprecated": false,
"source": "https://github.com/unbit/uwsgi/commit/cb4636f7c0af2e97a4eef7a3cdcbd85a71247bfe",
"id": "CVE-2018-6758-e1f148c8",
"digest": {
"threshold": 0.9,
"line_hashes": [
"243490772673003282157936558199904593426",
"181592824591725200369686474910206047044",
"158615905151477501614971574296757523196",
"315841527456661264510776714703848883239",
"26709189314742607060451259810244503048",
"289459625645574912563299582688155520997",
"219008088992257488316115284816062178646",
"28645312378549450316791241360275036809",
"212277688537049713480888295541017770230",
"164660208065612182782306403571297121072",
"304630623969915843393271732044436154810",
"95920019456127796046077306239782103910"
]
},
"signature_type": "Line"
},
{
"signature_version": "v1",
"target": {
"file": "core/utils.c",
"function": "uwsgi_expand_path"
},
"deprecated": false,
"source": "https://github.com/unbit/uwsgi/commit/cb4636f7c0af2e97a4eef7a3cdcbd85a71247bfe",
"id": "CVE-2018-6758-ff0cd9e1",
"digest": {
"function_hash": "117135496517650499400134591371153409223",
"length": 337.0
},
"signature_type": "Function"
}
]