CVE-2019-25087

Source
https://nvd.nist.gov/vuln/detail/CVE-2019-25087
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-25087.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-25087
Published
2022-12-27T09:15:09.730Z
Modified
2025-11-19T17:34:06.382969Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/ramseyk/httpserver

Affected ranges

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

Database specific

vanir_signatures

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