CVE-2025-54581 vproxy is vulnerable to a divide by zero DoS attack
HighCVSS 7.5
EPSS 0.64%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io vproxy(crates.io) | < 2.4.0; <= 2.3.3 | 2.4.0 | Fixed |
| 0x676e67 vproxy | = < 2.4.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io vproxy(crates.io) | < 2.4.0 | 2.4.0 |
| crates.io vproxy(crates.io) | <= 2.3.3 | No fix listed |
| 0x676e67 vproxy | = < 2.4.0 | No fix listed |
References
- https://github.com/0x676e67/vproxy/security/advisories/GHSA-7h24-c332-p48c vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/0x676e67/vproxy/commit/aa1bf64c5e7f1c471395f9f29175ffc1b16a1079 patch
- github.com product
- https://github.com/0x676e67/vproxy/releases/tag/v2.4.0
- github.com