Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-7490

uWSGI before 2.0.17 mishandles a DOCUMENT_ROOT check during use of the --php-docroot option, allowing directory traversal.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-7490
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:23 UTC · Revision 1

Source evidence

CVE-2018-7490

core-osv · Original source

Published 26 Feb 2018, 22:29 UTC

uWSGI before 2.0.17 mishandles a DOCUMENT_ROOT check during use of the --php-docroot option, allowing directory traversal.

osv:CVE-2018-7490
Complete source record
{
  "id": "c335da15fc4d0b74ca310e7acfb3492c1e64e5154e286ae32ab376a6da88e352",
  "url": "https://osv.dev/vulnerability/CVE-2018-7490",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-7490",
    "summary": "uWSGI before 2.0.17 mishandles a DOCUMENT_ROOT check during use of the --php-docroot option, allowing directory traversal.",
    "evidence": "osv:CVE-2018-7490",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-7490",
      "aliases": [
        "CVE-2018-7490",
        "GHSA-h2vm-c85r-5vh5",
        "PYSEC-2018-78"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/unbit/uwsgi",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "50ffc6b28a7a84e273fb2b79c8d657b45887fe87"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:unbit:uwsgi:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.0.17"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.0.16",
            "2.0.15",
            "2.0.14",
            "2.0.13.1",
            "2.0.13",
            "2.0.12",
            "2.0.11.2",
            "2.0.10",
            "2.0.11.1",
            "2.0.9",
            "2.0.8",
            "2.0.7",
            "2.0.6",
            "2.0.5.1",
            "2.0.5",
            "2.0.4",
            "2.0.3",
            "2.0.2",
            "2.0.1",
            "2.0",
            "2.0-rc1",
            "1.9.21.1",
            "1.9.21",
            "1.9.19",
            "1.9.18.1",
            "1.9.17.1",
            "1.9.17",
            "1.9.16",
            "1.9.15",
            "1.9.14",
            "1.9.13",
            "1.9.12",
            "1.9.11",
            "1.9.10",
            "1.9.9",
            "1.9.8",
            "1.9.7",
            "1.9.6",
            "1.9.5",
            "1.9.4",
            "1.9.3",
            "1.9.2",
            "1.9.1",
            "1.9",
            "1.9-rc2",
            "1.9-rc1",
            "1.4-rc2",
            "1.4-rc1",
            "1.3",
            "1.3-rc4",
            "1.3-rc3",
            "1.3-rc2",
            "1.2",
            "1.2-rc2",
            "1.2-rc1",
            "1.1",
            "1.1-rc4",
            "1.1-rc3",
            "1.1-rc2",
            "1.1-rc1",
            "1.0.1",
            "1.0",
            "1.0-rc10",
            "1.0-rc9",
            "1.0-rc8",
            "1.0-rc7",
            "1.0-rc6",
            "1.0-rc5",
            "1.0-rc4",
            "1.0-rc3",
            "1.0-rc2",
            "1.0-rc1",
            "0.9.9",
            "0.9.9-rc2",
            "0.9.9-rc1",
            "0.9.9-beta1",
            "0.9.8.3",
            "0.9.8.2",
            "0.9.8.1",
            "0.9.8",
            "0.9.8-rc4",
            "0.9.8-rc3",
            "0.9.8-rc2",
            "0.9.8-rc1",
            "0.9.7.2",
            "0.9.7.1",
            "0.9.7",
            "0.9.7-rc3",
            "0.9.7-rc2",
            "0.9.7-rc1",
            "0.9.7-beta1",
            "0.9.6.2",
            "0.9.6.1",
            "0.9.6",
            "0.9.6-rc2",
            "0.9.6-rc1",
            "0.9.5.1",
            "0.9.5",
            "0.9.5rc2",
            "0.9.5rc1",
            "0.9.5beta1",
            "no_server_mode"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-7490.json",
            "vanir_signatures": [
              {
                "id": "CVE-2018-7490-10a9e9fb",
                "digest": {
                  "length": 4401,
                  "function_hash": "40819405896703077170114517224641591161"
                },
                "source": "https://github.com/unbit/uwsgi/commit/50ffc6b28a7a84e273fb2b79c8d657b45887fe87",
                "target": {
                  "file": "core/emperor.c",
                  "function": "emperor_send_stats"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-7490-dad61214",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "183921310509659873877742638882587627729",
                    "253732705211709347952798536006006680026",
                    "70117204752041438384735343179857933391",
                    "250711984050732733881674518222307053012",
                    "156477072178116142811456001594875906112",
                    "110936179626844845554820386236306811073",
                    "175571910637939687637911481670568491034"
                  ]
                },
                "source": "https://github.com/unbit/uwsgi/commit/50ffc6b28a7a84e273fb2b79c8d657b45887fe87",
                "target": {
                  "file": "core/emperor.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:21:00Z"
          }
        }
      ],
      "modified": "2026-10-24T14:21:00.733212277Z",
      "provider": "osv",
      "references": [
        "https://uwsgi-docs.readthedocs.io/en/latest/Changelog-2.0.17.html",
        "https://www.debian.org/security/2018/dsa-4142",
        "https://www.exploit-db.com/exploits/44223/"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  },
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-7490",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 443561,
  "published_at": "2018-02-26T22:29:00.697+00:00"
}