CVE-2019-25087

Source
https://cve.org/CVERecord?id=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
2026-03-14T09:36:51.922234Z
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
Type
GIT
Repo
https://github.com/ramseyk/httpserver
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-25087.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "fixed": "2019-09-08"
            }
        ]
    }
]
vanir_signatures
[
    {
        "signature_version": "v1",
        "target": {
            "file": "src/ResourceHost.cpp"
        },
        "source": "https://github.com/ramseyk/httpserver/commit/1a0de56e4dafff9c2f9c8f6b130a764f7a50df52",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "239344838991337998730483513283856843230",
                "237764927854374465121689216039023787498",
                "276416710966700877610110695182206018719"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2019-25087-b03e62f1",
        "signature_type": "Line"
    },
    {
        "signature_version": "v1",
        "target": {
            "file": "src/ResourceHost.cpp",
            "function": "ResourceHost::getResource"
        },
        "source": "https://github.com/ramseyk/httpserver/commit/1a0de56e4dafff9c2f9c8f6b130a764f7a50df52",
        "deprecated": false,
        "digest": {
            "function_hash": "308880837278410048768620784529197281780",
            "length": 428.0
        },
        "id": "CVE-2019-25087-eee495f5",
        "signature_type": "Function"
    }
]