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:09Z
Modified
2025-10-14T14:33:30Z
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": [
        {
            "signature_version": "v1",
            "signature_type": "Line",
            "target": {
                "file": "src/ResourceHost.cpp"
            },
            "deprecated": false,
            "digest": {
                "line_hashes": [
                    "239344838991337998730483513283856843230",
                    "237764927854374465121689216039023787498",
                    "276416710966700877610110695182206018719"
                ],
                "threshold": 0.9
            },
            "id": "CVE-2019-25087-b03e62f1",
            "source": "https://github.com/ramseyk/httpserver/commit/1a0de56e4dafff9c2f9c8f6b130a764f7a50df52"
        },
        {
            "signature_version": "v1",
            "signature_type": "Function",
            "target": {
                "file": "src/ResourceHost.cpp",
                "function": "ResourceHost::getResource"
            },
            "deprecated": false,
            "digest": {
                "length": 428.0,
                "function_hash": "308880837278410048768620784529197281780"
            },
            "id": "CVE-2019-25087-eee495f5",
            "source": "https://github.com/ramseyk/httpserver/commit/1a0de56e4dafff9c2f9c8f6b130a764f7a50df52"
        }
    ]
}