CVE-2021-31807: Integer Overflow

Published May 20, 2021
·
Updated

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.

Other sources

Due to an incorrect memory management bug Squid is vulnerable to a Denial of Service attack against all clients using the proxy.

External Reference:

https://github.com/squid-cache/squid/security/advisories/GHSA-pxwq-f3qr-w2xf

Red Hat

Affected Software

31 affected componentsFixes available
debian/squid
4.13-10+deb11u35.7-2+deb12u26.13-1
Squid-Cache Squid>=3.0<4.15
Squid-Cache Squid>=5.0<5.0.6
Squid-Cache Squid=2.5.stable2
Squid-Cache Squid=2.5.stable3
Squid-Cache Squid=2.5.stable4
Squid-Cache Squid=2.5.stable5
Squid-Cache Squid=2.5.stable6
Squid-Cache Squid=2.5.stable7
Squid-Cache Squid=2.5.stable8
Squid-Cache Squid=2.5.stable9
Squid-Cache Squid=2.5.stable10
Squid-Cache Squid=2.5.stable11
Squid-Cache Squid=2.5.stable12
Squid-Cache Squid=2.5.stable13
Squid-Cache Squid=2.5.stable14
Squid-Cache Squid=2.6
Squid-Cache Squid=2.7
Squid-Cache Squid=2.7-stable2
Squid-Cache Squid=2.7-stable3
Squid-Cache Squid=2.7-stable4
Squid-Cache Squid=2.7-stable5
Squid-Cache Squid=2.7-stable6
Squid-Cache Squid=2.7-stable7
Squid-Cache Squid=2.7-stable8
Squid-Cache Squid=2.7-stable9
Fedoraproject Fedora=33
Fedoraproject Fedora=34
NetApp Cloud Manager
redhat/squid<4.15
4.15
redhat/squid<5.0.6
5.0.6

Event History

May 20, 2021
Data Sourced
via Red Hat·10:43 AM
DescriptionSeverityAffected Software
Jun 8, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Jul 1, 2024
Data Sourced
via Launchpad·04:53 AM
Description
Sep 15, 2024
Data Sourced
via Ubuntu·05:06 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2021-31807?

CVE-2021-31807 is a vulnerability discovered in Squid before 4.15 and 5.x before 5.0.6 that allows a remote server to achieve Denial of Service when delivering responses to HTTP Range requests.

2

How does CVE-2021-31807 affect Squid?

CVE-2021-31807 affects Squid versions before 4.15 and 5.x before 5.0.6, potentially leading to denial of service.

3

What is the severity of CVE-2021-31807?

The severity of CVE-2021-31807 is medium, with a CVSS score of 6.5.

4

How can I fix CVE-2021-31807?

To fix CVE-2021-31807, upgrade to Squid version 4.15 or 5.0.6 or later.

5

Where can I find more information about CVE-2021-31807?

You can find more information about CVE-2021-31807 at the following references: [reference1](http://seclists.org/fulldisclosure/2023/Oct/14), [reference2](http://www.openwall.com/lists/oss-security/2023/10/11/3), [reference3](http://www.squid-cache.org/Versions/v4/changesets/squid-4-e7cf864f938f24eea8af0692c04d16790983c823.patch)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203