Tinyproxy: Initialization of a Resource with an Insecure Default
CVE-2022-40468 is a high-severity initialization of a resource with an insecure default vulnerability in Tinyproxy from Tinyproxy Project, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. Affected Tinyproxy versions: 1.11.1 and earlier. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 2.02% chance of exploitation within 30 days, higher than 81% of scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Check which version of Tinyproxy you run against the affected versions below, and install the vendor's latest release.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Tinyproxy Project | Tinyproxy | 1.11.1 and earlier | Not stated |
Version data comes from NVD's product matching. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- NoneNothing can be modified.
- Availability
- NoneAvailability is not affected.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. Scored by NVD.
Official description
Potential leak of left-over heap data if custom error page templates containing special non-standard variables are used. Tinyproxy commit 84f203f and earlier use uninitialized buffers in process_request() function.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Initialization of a Resource with an Insecure Default
The product initializes or sets a resource with a default that is intended to be changed by the product's installer, administrator, or maintainer, but the default is not secure.
More Initialization of a Resource with an Insecure Default vulnerabilities (CWE-1188)
Timeline
- CVE record published.
- Record last changed materially (score, affected products, status or references).
References
Third-party and government advisories
- github.com/tinyproxy/tinyproxyThird Party Advisory
Technical write-ups (may include proof of concept)
- github.com/tinyproxy/tinyproxy/blob/84f203fb1c4733608c7283bbe794005a469c4b00/src/reqs.c#L346Exploit, Third Party Advisory
- github.com/tinyproxy/tinyproxy/issues/457Exploit, Third Party Advisory
Other references
Other vulnerabilities in Tinyproxy
- 7.5 High severity
Recent Initialization of a Resource with an Insecure Default vulnerabilities
- 7.8 High severity
- 9.8 Critical severity
- 7.5 High severity
Spotted an error? Tell us.