CVE-2021-31808: Integer Overflow

Published May 20, 2021
·
Updated

An issue was discovered in Squid before 4.15 and 5.x before 5.0.6. Due to an input-validation bug, it is vulnerable to a Denial of Service attack (against all clients using the proxy). A client sends an HTTP Range request to trigger this.

Other sources

Due to an integer overflow 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

10 affected componentsFixes available
debian/squid
4.13-10+deb11u35.7-2+deb12u26.13-1
Squid-Cache Squid<4.15
Squid-Cache Squid>=5.0<5.0.6
Debian Debian Linux=9.0
Debian Debian Linux=10.0
NetApp Cloud Manager
Fedoraproject Fedora=33
Fedoraproject Fedora=34
redhat/squid<4.15
4.15
redhat/squid<5.0.6
5.0.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/squid to a version that resolves this vulnerability.

    Fixed in 4.13-10+deb11u3Fixed in 5.7-2+deb12u2Fixed in 6.13-1
  2. Upgrade

    Upgrade redhat/squid to a version that resolves this vulnerability.

    Fixed in 4.15
  3. Upgrade

    Upgrade redhat/squid to a version that resolves this vulnerability.

    Fixed in 5.0.6
  4. Upgrade

    Upgrade Squid to a version that resolves this vulnerability.

    Fixed in 4.15
  5. Upgrade

    Upgrade Squid to a version that resolves this vulnerability.

    Fixed in 5.0.6

Event History

May 20, 2021
Data Sourced
via Red Hat·10:44 AM
DescriptionSeverityAffected Software
May 27, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description

Frequently Asked Questions

1

What is CVE-2021-31808?

CVE-2021-31808 is a vulnerability in Squid before 4.15 and 5.x before 5.0.6 that allows for a Denial of Service attack.

2

How does CVE-2021-31808 affect Squid?

CVE-2021-31808 affects all clients using the Squid proxy, as it is vulnerable to a Denial of Service attack triggered by an HTTP Range request.

3

How severe is CVE-2021-31808?

CVE-2021-31808 has a severity rating of 6.5 (medium).

4

What software versions are affected by CVE-2021-31808?

CVE-2021-31808 affects Squid versions before 4.15 and 5.x before 5.0.6.

5

Are there any patches or fixes available for CVE-2021-31808?

Yes, there are patches available. Please refer to the references provided for more information.

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