Skip to content
Heist/ feed
Back to feed
High

vproxy is vulnerable to a divide by zero DoS attack

Type: advisorySources: OSV

vproxy is an HTTP/HTTPS/SOCKS5 proxy server. In versions 2.3.3 and below, untrusted data is extracted from the user-controlled HTTP Proxy-Authorization header and passed to Extension::try_from and flows into parse_ttl_extension where it is parsed as a TTL value. If an attacker supplies a TTL of zero (e.g. by using a username such as 'configuredUser-ttl-0'), the modulo operation 'timestamp % ttl' will cause a division by zero panic, causing the server to crash causing a denial-of-service. This is fixed in version 2.4.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-54581
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 01:09 UTC · Revision 1

Source evidence

vproxy is vulnerable to a divide by zero DoS attack

core-osv · Original source

Published 30 Jul 2025, 19:57 UTC

vproxy is an HTTP/HTTPS/SOCKS5 proxy server. In versions 2.3.3 and below, untrusted data is extracted from the user-controlled HTTP Proxy-Authorization header and passed to Extension::try_from and flows into parse_ttl_extension where it is parsed as a TTL value. If an attacker supplies a TTL of zero (e.g. by using a username such as 'configuredUser-ttl-0'), the modulo operation 'timestamp % ttl' will cause a division by zero panic, causing the server to crash causing a denial-of-service. This is fixed in version 2.4.0.

osv:CVE-2025-54581
Complete source record
{
  "id": "38d80c71cbe2de55d10595cbc0fdfac1006625c9716e2ead843df12ab7e03618",
  "url": "https://osv.dev/vulnerability/CVE-2025-54581",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "vproxy is vulnerable to a divide by zero DoS attack",
    "summary": "vproxy is an HTTP/HTTPS/SOCKS5 proxy server. In versions 2.3.3 and below, untrusted data is extracted from the user-controlled HTTP Proxy-Authorization header and passed to Extension::try_from and flows into parse_ttl_extension where it is parsed as a TTL value. If an attacker supplies a TTL of zero (e.g. by using a username such as 'configuredUser-ttl-0'), the modulo operation 'timestamp % ttl' will cause a division by zero panic, causing the server to crash causing a denial-of-service. This is fixed in version 2.4.0.",
    "evidence": "osv:CVE-2025-54581",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-54581",
      "aliases": [
        "CVE-2025-54581",
        "GHSA-7h24-c332-p48c"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/0x676e67/vproxy",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4480237d96491304ebf2cac50bb5ad9820d1a3db"
                },
                {
                  "fixed": "aa1bf64c5e7f1c471395f9f29175ffc1b16a1079"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.4.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "aa1bf64c5e7f1c471395f9f29175ffc1b16a1079"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "4480237d96491304ebf2cac50bb5ad9820d1a3db"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v2.4.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.3.3",
            "v2.3.2",
            "v2.3.1",
            "v2.3.0",
            "v2.0.77",
            "v2.0.65",
            "v2.0.60",
            "v2.0.55",
            "v2.0.51",
            "v2.0.50",
            "v2.0.26",
            "v2.0.25",
            "v2.0.12",
            "v2.0.11",
            "v2.0.10",
            "v2.0.5",
            "v2.0.1",
            "v2.0.0",
            "v1.3.2",
            "v1.3.1",
            "v1.2.5",
            "v1.2.4",
            "v1.2.3",
            "v1.2.2",
            "v1.2.1",
            "v1.2.0",
            "v1.1.3",
            "v1.1.2",
            "v1.1.1",
            "v1.1.0",
            "v1.0.0",
            "v0.3.8",
            "v0.3.7",
            "v0.3.6",
            "v0.3.5",
            "v0.3.3",
            "v0.3.2",
            "v0.3.1",
            "v0.3.0",
            "v0.2.2",
            "v0.2.1",
            "v0.2.0",
            "v0.1.7",
            "v0.1.6",
            "v0.1.5",
            "v0.1.4",
            "v0.1.3",
            "v0.1.2",
            "v0.1.1",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54581.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:24.947544008Z",
      "provider": "osv",
      "references": [
        "https://github.com/0x676e67/vproxy/releases/tag/v2.4.0",
        "https://github.com/0x676e67/vproxy/security/advisories/GHSA-7h24-c332-p48c",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54581.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-54581",
        "https://github.com/0x676e67/vproxy/commit/aa1bf64c5e7f1c471395f9f29175ffc1b16a1079"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-369"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54581.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-54581",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 491446,
  "published_at": "2025-07-30T19:57:46.454+00:00"
}