A vulnerability was found in RamseyK httpserver. It has been rated as critical. This issue affects the function ResourceHost::getResource of the file src/ResourceHost.cpp of the component URI Handler. The manipulation of the argument uri leads to path traversal: '../filedir'. The attack may be initiated remotely. The name of the patch is 1a0de56e4dafff9c2f9c8f6b130a764f7a50df52. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-216863.
[
{
"source": "https://github.com/ramseyk/httpserver/commit/1a0de56e4dafff9c2f9c8f6b130a764f7a50df52",
"target": {
"file": "src/ResourceHost.cpp"
},
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2019-25087-b03e62f1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"239344838991337998730483513283856843230",
"237764927854374465121689216039023787498",
"276416710966700877610110695182206018719"
]
}
},
{
"source": "https://github.com/ramseyk/httpserver/commit/1a0de56e4dafff9c2f9c8f6b130a764f7a50df52",
"target": {
"function": "ResourceHost::getResource",
"file": "src/ResourceHost.cpp"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2019-25087-eee495f5",
"digest": {
"length": 428.0,
"function_hash": "308880837278410048768620784529197281780"
}
}
]