Vulnerability · Published Jun 8, 2021 · Assigned by mitre
CVE-2021-31807
Medium 6.5
In plain English
A medium-severity security flaw in the libecap package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 15.6% (higher than 97% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit. Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)15.6%top 3.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Metasploit
Official description
An issue was discovered in Squid before 4.15 and 5.x before 5.0.6. An integer overflow problem allows a remote server to achieve Denial of Service when delivering responses to HTTP Range requests. The issue trigger is a header that can be expected to exist in HTTP traffic without any malicious intent.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | libecap | 1.0.1-2.module_el8.6.0+2741+01592ae8 | ALSA-2021:4292 |
| AlmaLinux:8 | libecap-devel | 1.0.1-2.module_el8.6.0+2741+01592ae8 | ALSA-2021:4292 |
| AlmaLinux:8 | squid | 7:4.15-3.module_el8.6.0+3010+383bc947.1 | ALSA-2021:4292 |
| Alpine:v3.20 | squid | 5.0.6-r0 | ALPINE-CVE-2021-31807 |
| Alpine:v3.21 | squid | 5.0.6-r0 | ALPINE-CVE-2021-31807 |
| Alpine:v3.22 | squid | 5.0.6-r0 | ALPINE-CVE-2021-31807 |
| Alpine:v3.23 | squid | 5.0.6-r0 | ALPINE-CVE-2021-31807 |
| Alpine:v3.24 | squid | 5.0.6-r0 | ALPINE-CVE-2021-31807 |
| Debian:12 | squid | 4.13-10 | DEBIAN-CVE-2021-31807 |
| Debian:13 | squid | 4.13-10 | DEBIAN-CVE-2021-31807 |
| Debian:14 | squid | 4.13-10 | DEBIAN-CVE-2021-31807 |
| Rocky Linux:8 | libecap | 0:1.0.1-2.module+el8.4.0+404+316a0dc5 | RLSA-2021:4292 |
| Rocky Linux:8 | squid | 7:4.15-1.module+el8.5.0+705+218dec94 | RLSA-2021:4292 |
Affected products (as reported)
References
- https://github.com/squid-cache/squid/security/advisories/GHSA-pxwq-f3qr-w2xf
- http://www.squid-cache.org/Versions/v4/changesets/squid-4-e7cf864f938f24eea8af0692c04d16790983c823.patch
- FEDORA-2021-c0bec55ec7 vendor-advisory
- FEDORA-2021-24af72ff2c vendor-advisory
- [debian-lts-announce] 20210614 [SECURITY] [DLA 2685-1] squid3 security update mailing-list
- https://security.netapp.com/advisory/ntap-20210716-0007/
- [oss-security] 20231011 Squid Caching Proxy Security Audit: 55 Vulnerabilities, 35 0days. mailing-list
- 20231016 Squid Caching Proxy Security Audit: 55 Vulnerabilities, 35 0days. mailing-list