cgi.c in weborf .0.17, 0.18, 0.19, and 0.20 (before 1.0) lacks '\0' termination of the path for CGI scripts because strncpy is misused.
[
{
"source": "https://github.com/ltworf/weborf/commit/6f83c3e9ceed8b0d93608fd5d42b53c081057991",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "cgi.c"
},
"id": "CVE-2023-46586-34611f17",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"81227580867746390961752078636075050189",
"159188990801594865319524115523987289052",
"174267724711931865594443984389288315850",
"147477139994229830322127848171587898131",
"133879674372307701498897249147529503469",
"129625435282755916530333024782517680551",
"318022707241103019451601384865392139122",
"151894198318135989003494211830130452089",
"179103408452640312475636629702641933301"
]
}
},
{
"source": "https://github.com/ltworf/weborf/commit/49824204add55aab0568d90a6b1e7c822d32120d",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "cgi_execute_child",
"file": "cgi.c"
},
"id": "CVE-2023-46586-3ae611e6",
"signature_type": "Function",
"digest": {
"length": 1093.0,
"function_hash": "12647823630007513324655878607136192855"
}
},
{
"source": "https://github.com/ltworf/weborf/commit/6f83c3e9ceed8b0d93608fd5d42b53c081057991",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "cgi_execute_child",
"file": "cgi.c"
},
"id": "CVE-2023-46586-4a8f452e",
"signature_type": "Function",
"digest": {
"length": 927.0,
"function_hash": "255128952180711984546354458810747632174"
}
},
{
"source": "https://github.com/ltworf/weborf/commit/49824204add55aab0568d90a6b1e7c822d32120d",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "cgi.c"
},
"id": "CVE-2023-46586-84470460",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"24353518695182608993129776085874660912",
"67127321974241560877115704860694648719",
"159188873847766903622661161944129159271",
"207965772452821526724947632566055810798",
"222532605526042771730287074896252769350"
]
}
}
]