Vulnerabilities / CVE-2019-12524

critical

CVE-2019-12524

squid: Improper access restriction in url_regex may lead to security bypass

Published Modified CWE 306
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Trivy's own label is CRITICAL. Rated critical by NVD, Amazon. Rated lower by Oracle (high), Red Hat (medium), AlmaLinux (medium), Rocky Linux (medium), Ubuntu (medium).

Description

An issue was discovered in Squid through 4.7. When handling requests from users, Squid checks its rules to see if the request should be denied. Squid by default comes with rules to block access to the Cache Manager, which serves detailed server information meant for the maintainer. This rule is implemented via url_regex. The handler for url_regex rules URL decodes an incoming request. This allows an attacker to encode their URL to bypass the url_regex check, and gain access to the blocked resource.

Affected packages and fixed versions

SourcePackageFixed in
amazon linux 2squid, squid-debuginfo, squid-migration-script and 1 more7:3.5.20-17.amzn2.7.10
alma 8squid:4::libecap, squid:4::libecap-devel1.0.1-2.module_el8.6.0+2741+01592ae8
debian 10squid4.6-1+deb10u2
debian 11squid4.8-1
debian 12squid4.8-1
debian 13squid4.8-1
debian 14squid4.8-1
debian 9squid33.5.23-5+deb9u2
echosquid4.8-1
Oracle Linux 7squid7:4.11-3.0.1.el7
Oracle Linux 8libecap, libecap-devel, squid1.0.1-2.module+el8.3.0+7819+eb7d4ef6 and 1 more
Red Hatsquid, squid-migration-script, squid-sysvinit and 1 moreno fix listed
Show all 25 entries from 15 sources
SourcePackageFixed in
amazon linux 2squid7:3.5.20-17.amzn2.7.10
amazon linux 2squid-debuginfo7:3.5.20-17.amzn2.7.10
amazon linux 2squid-migration-script7:3.5.20-17.amzn2.7.10
amazon linux 2squid-sysvinit7:3.5.20-17.amzn2.7.10
alma 8squid:4::libecap1.0.1-2.module_el8.6.0+2741+01592ae8
alma 8squid:4::libecap-devel1.0.1-2.module_el8.6.0+2741+01592ae8
debian 10squid4.6-1+deb10u2
debian 11squid4.8-1
debian 12squid4.8-1
debian 13squid4.8-1
debian 14squid4.8-1
debian 9squid33.5.23-5+deb9u2
echosquid4.8-1
Oracle Linux 7squid7:4.11-3.0.1.el7
Oracle Linux 8libecap1.0.1-2.module+el8.3.0+7819+eb7d4ef6
Oracle Linux 8libecap-devel1.0.1-2.module+el8.3.0+7819+eb7d4ef6
Oracle Linux 8squid7:4.11-3.module+el8.3.0+7819+eb7d4ef6
Red Hatsquidno fix listed
Red Hatsquid-migration-scriptno fix listed
Red Hatsquid-sysvinitno fix listed
Red Hatsquid34no fix listed
rocky 8squid:4::libecap1.0.1-2.module+el8.4.0+404+316a0dc5
rocky 8squid:4::libecap-devel1.0.1-2.module+el8.4.0+404+316a0dc5
ubuntu 18.04squid33.5.27-1ubuntu1.7
ubuntu 18.04-ESMsquid33.5.27-1ubuntu1.7

References

All 50 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.