An issue was discovered in uriparser before 0.9.0. UriQuery.c allows an out-of-bounds write via a uriComposeQuery* or uriComposeQueryEx* function because the '&' character is mishandled in certain contexts.
[
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"100403468009939954026720765720552592861",
"161482427211911698368924816150145763402",
"190151097438128959420271269086977651032",
"150710995914627635990660843400979939834"
]
},
"source": "https://github.com/uriparser/uriparser/commit/864f5d4c127def386dd5cc926ad96934b297f04e",
"id": "CVE-2018-19198-788db432",
"target": {
"file": "src/UriQuery.c"
},
"signature_version": "v1",
"deprecated": false
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"328311883274064102442555921402038281686",
"257023867471187916309104926839907291990",
"106446773495015763017148475824453056673",
"280931746396499147646466482829758555977",
"123208331935591282331249247062107345706",
"268845220720058387110604157985123069767",
"247380824432098462657860236861826047524"
]
},
"source": "https://github.com/uriparser/uriparser/commit/864f5d4c127def386dd5cc926ad96934b297f04e",
"id": "CVE-2018-19198-e9ac82d3",
"target": {
"file": "test/test.cpp"
},
"signature_version": "v1",
"deprecated": false
}
]