Skip to content
OpenAdvisories
High · 7.5 CVE-2025-54581 EUVD-2025-23192GHSA-7h24-c332-p48c

vproxy is vulnerable to a divide by zero DoS attack

Published Jul 30, 2025 · Updated Jul 30, 2025 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
0x676e67 vproxy < 2.4.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io vproxy < 2.4.0 2.4.0 GHSA-7h24-c332-p48c

References