Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-25087

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-25087
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:34 UTC · Revision 1

Source evidence

CVE-2019-25087

core-osv · Original source

Published 27 Dec 2022, 09:15 UTC

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.

osv:CVE-2019-25087
Complete source record
{
  "id": "0207efb6853346fb20849b11cd3cc0fb6f8de85441a71e6d50d402dd77d3f25a",
  "url": "https://osv.dev/vulnerability/CVE-2019-25087",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-25087",
    "summary": "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.",
    "evidence": "osv:CVE-2019-25087",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2019-25087",
      "aliases": [
        "CVE-2019-25087"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ramseyk/httpserver",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1a0de56e4dafff9c2f9c8f6b130a764f7a50df52"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "1a0de56e4dafff9c2f9c8f6b130a764f7a50df52"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-25087.json",
            "vanir_signatures": [
              {
                "id": "CVE-2019-25087-b03e62f1",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "239344838991337998730483513283856843230",
                    "237764927854374465121689216039023787498",
                    "276416710966700877610110695182206018719"
                  ]
                },
                "source": "https://github.com/ramseyk/httpserver/commit/1a0de56e4dafff9c2f9c8f6b130a764f7a50df52",
                "target": {
                  "file": "src/ResourceHost.cpp"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-25087-eee495f5",
                "digest": {
                  "length": 428,
                  "function_hash": "308880837278410048768620784529197281780"
                },
                "source": "https://github.com/ramseyk/httpserver/commit/1a0de56e4dafff9c2f9c8f6b130a764f7a50df52",
                "target": {
                  "file": "src/ResourceHost.cpp",
                  "function": "ResourceHost::getResource"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:54:59Z"
          }
        }
      ],
      "modified": "2026-10-20T13:54:59.320767245Z",
      "provider": "osv",
      "references": [
        "https://vuldb.com/?ctiid.216863",
        "https://vuldb.com/?id.216863",
        "https://github.com/RamseyK/httpserver/commit/1a0de56e4dafff9c2f9c8f6b130a764f7a50df52"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:httpserver_project:httpserver:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "httpserver_project:httpserver",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "2019-09-08"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2019-25087",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388370,
  "published_at": "2022-12-27T09:15:09.73+00:00"
}