CVE-2023-46586

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-46586
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-46586.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-46586
Downstream
Published
2024-10-09T06:15:13Z
Modified
2025-10-21T13:30:59.196507Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/ltworf/weborf

Affected ranges

Type
GIT
Repo
https://github.com/ltworf/weborf
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

0.*

0.13
0.13.1
0.13.2
0.13.3
0.13.4
0.13.5
0.14
0.15
0.16
0.17
0.18
0.19
0.20

Database specific

vanir_signatures

[
    {
        "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"
            ]
        }
    }
]