CVE-2019-12525

An issue was discovered in Squid 3.3.9 through 3.5.28 and 4.x through 4.7. When Squid is configured to use Digest authentication, it parses the header Proxy-Authorization. It searches for certain tokens such as domain, uri, and qop. Squid checks if this token's value starts with a quote and ends with one. If so, it performs a memcpy of its length minus 2. Squid never checks whether the value is just a single quote (which would satisfy its requirements), leading to a memcpy of its length minus 1.
References
Link Resource
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
http://www.squid-cache.org/Versions/v4/changesets/ Vendor Advisory
http://www.squid-cache.org/Versions/v4/changesets/squid-4-7f73e9c5d17664b882ed32590e6af310c247f320.patch Patch Vendor Advisory
https://github.com/squid-cache/squid/commits/v4 Patch 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://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SPXN2CLAGN5QSQBTOV5IGVLDOQSRFNTZ/
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
https://www.debian.org/security/2019/dsa-4507 Third Party 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
http://www.squid-cache.org/Versions/v4/changesets/ Vendor Advisory
http://www.squid-cache.org/Versions/v4/changesets/squid-4-7f73e9c5d17664b882ed32590e6af310c247f320.patch Patch Vendor Advisory
https://github.com/squid-cache/squid/commits/v4 Patch 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://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SPXN2CLAGN5QSQBTOV5IGVLDOQSRFNTZ/
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
https://www.debian.org/security/2019/dsa-4507 Third Party Advisory
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:squid-cache:squid:*:*:*:*:*:*:*:*
cpe:2.3:a:squid-cache:squid:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

Configuration 3 (hide)

OR cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*

Configuration 4 (hide)

cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*

Configuration 5 (hide)

OR cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*

History

21 Nov 2024, 04:23

Type Values Removed Values Added
References () 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/msg00053.html - Mailing List, Third Party Advisory
References () http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00056.html - Mailing List, Third Party Advisory () http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00056.html - Mailing List, Third Party Advisory
References () http://www.squid-cache.org/Versions/v4/changesets/ - Vendor Advisory () http://www.squid-cache.org/Versions/v4/changesets/ - Vendor Advisory
References () http://www.squid-cache.org/Versions/v4/changesets/squid-4-7f73e9c5d17664b882ed32590e6af310c247f320.patch - Patch, Vendor Advisory () http://www.squid-cache.org/Versions/v4/changesets/squid-4-7f73e9c5d17664b882ed32590e6af310c247f320.patch - Patch, Vendor Advisory
References () https://github.com/squid-cache/squid/commits/v4 - Patch, Third Party Advisory () https://github.com/squid-cache/squid/commits/v4 - Patch, Third Party Advisory
References () https://lists.debian.org/debian-lts-announce/2019/07/msg00018.html - Mailing List, Third Party Advisory () https://lists.debian.org/debian-lts-announce/2019/07/msg00018.html - Mailing List, Third Party Advisory
References () https://lists.debian.org/debian-lts-announce/2020/07/msg00009.html - Mailing List, Third Party Advisory () https://lists.debian.org/debian-lts-announce/2020/07/msg00009.html - Mailing List, Third Party Advisory
References () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SPXN2CLAGN5QSQBTOV5IGVLDOQSRFNTZ/ - () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SPXN2CLAGN5QSQBTOV5IGVLDOQSRFNTZ/ -
References () https://seclists.org/bugtraq/2019/Aug/42 - Mailing List, Third Party Advisory () https://seclists.org/bugtraq/2019/Aug/42 - Mailing List, Third Party Advisory
References () https://usn.ubuntu.com/4065-1/ - Third Party Advisory () https://usn.ubuntu.com/4065-1/ - Third Party Advisory
References () https://usn.ubuntu.com/4065-2/ - Third Party Advisory () https://usn.ubuntu.com/4065-2/ - Third Party Advisory
References () https://www.debian.org/security/2019/dsa-4507 - Third Party Advisory () https://www.debian.org/security/2019/dsa-4507 - Third Party Advisory

07 Nov 2023, 03:03

Type Values Removed Values Added
References
  • {'url': 'https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SPXN2CLAGN5QSQBTOV5IGVLDOQSRFNTZ/', 'name': 'FEDORA-2019-cb50bcc189', 'tags': ['Mailing List', 'Third Party Advisory'], 'refsource': 'FEDORA'}
  • () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SPXN2CLAGN5QSQBTOV5IGVLDOQSRFNTZ/ -

Information

Published : 2019-07-11 19:15

Updated : 2024-11-21 04:23


NVD link : CVE-2019-12525

Mitre link : CVE-2019-12525

CVE.ORG link : CVE-2019-12525


JSON object : View

Products Affected

canonical

  • ubuntu_linux

opensuse

  • leap

squid-cache

  • squid

debian

  • debian_linux

fedoraproject

  • fedora
CWE
CWE-787

Out-of-bounds Write