CVE-2019-12529: Squid - Buffer Over-read
- Cve: CVE-2019-12529
- Name: Squid - Buffer Over-read
- Description: An issue was discovered in Squid 2.x through 2.7.STABLE9, 3.x through 3.5.28, and 4.x through 4.7. When Squid is configured to use Basic Authentication, the Proxy-Authorization header is parsed via uudecode. uudecode determines how many bytes will be decoded by iterating over the input and checking its table. The length is then used to start decoding the string. There are no checks to ensure that the length it calculates isn't greater than the input buffer. This leads to adjacent memory being decoded as well. An attacker would not be able to retrieve the decoded data unless the Squid maintainer had configured the display of usernames on error pages.
- Impact: Potentially allows reading adjacent memory contents, which may include sensitive information if configured to display usernames.
- Remediation: Update to the latest version of Squid where this issue is fixed or apply available patches.
- Vulnerability type: buffer_overflow
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.9
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.0778
- Epss percentile: 0.94794
- Assignee: [email protected]
- Published at: 2019-07-11T19:15:13Z
- Age in days: 2693
- Modified at: 2026-06-17T02:14:50Z
- Patch available: yes
- References total: 12
- Products total: 5
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-12529
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-125 | Out-of-bounds Read |
Hackerone
- Reports: 1
- Rank: 5211
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| http://www.squid-cache.org/Versions/v4/changesets/squid-4-dd46b5417809647f561d8a5e0e74c3aacd235258.patch | Patch, Vendor Advisory |
| https://github.com/squid-cache/squid/commits/v4 | Patch, Third Party Advisory |
| http://www.squid-cache.org/Versions/v4/changesets/ | Vendor Advisory |
| http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00053.html | Mailing List, Third Party Advisory |
| http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00056.html | Mailing List, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2019/07/msg00018.html | Mailing List, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2020/07/msg00009.html | Mailing List, Third Party Advisory |
| https://seclists.org/bugtraq/2019/Aug/42 | Mailing List, Third Party Advisory |
| https://usn.ubuntu.com/4065-1/ | Third Party Advisory |
| https://usn.ubuntu.com/4065-2/ | Third Party Advisory |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| squid-cache:squid | = 2.7 stable9; = 2.7 stable8; = 2.7 stable7; = 2.7 stable6; = 2.7 stable5; >= 4.0, <= 4.7; = 2.7 stable4; >= 3.0, <= 3.5.28; = 2.7 stable3; = 2.7 stable1; = 2.7 stable2; >= 2.0, < 2.7 | /v1/products/squid-cache/squid |
| debian:debian_linux | = 10.0, = 9.0, = 8.0 | /v1/products/debian/debian_linux |
| fedoraproject:fedora | = 29 | /v1/products/fedoraproject/fedora |
| canonical:ubuntu_linux | = 19.04, = 18.04, = 16.04, = 12.04 | /v1/products/canonical/ubuntu_linux |
| opensuse:leap | = 15.1, = 15.0 | /v1/products/opensuse/leap |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| squid-cache/squid | commit | yes | /v1/repositories/squid-cache/squid |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Hackerone reports: 1
- Exposed hosts: 21216412
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since