{
    "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2019-12525",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "n/a",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "n/a"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "n/a"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "CONFIRM",
                "name": "http://www.squid-cache.org/Versions/v4/changesets/",
                "url": "http://www.squid-cache.org/Versions/v4/changesets/"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://github.com/squid-cache/squid/commits/v4",
                "url": "https://github.com/squid-cache/squid/commits/v4"
            },
            {
                "refsource": "CONFIRM",
                "name": "http://www.squid-cache.org/Versions/v4/changesets/squid-4-7f73e9c5d17664b882ed32590e6af310c247f320.patch",
                "url": "http://www.squid-cache.org/Versions/v4/changesets/squid-4-7f73e9c5d17664b882ed32590e6af310c247f320.patch"
            },
            {
                "refsource": "UBUNTU",
                "name": "USN-4065-1",
                "url": "https://usn.ubuntu.com/4065-1/"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20190720 [SECURITY] [DLA 1858-1] squid3 security update",
                "url": "https://lists.debian.org/debian-lts-announce/2019/07/msg00018.html"
            },
            {
                "refsource": "UBUNTU",
                "name": "USN-4065-2",
                "url": "https://usn.ubuntu.com/4065-2/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2019-cb50bcc189",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SPXN2CLAGN5QSQBTOV5IGVLDOQSRFNTZ/"
            },
            {
                "refsource": "DEBIAN",
                "name": "DSA-4507",
                "url": "https://www.debian.org/security/2019/dsa-4507"
            },
            {
                "refsource": "BUGTRAQ",
                "name": "20190825 [SECURITY] [DSA 4507-1] squid security update",
                "url": "https://seclists.org/bugtraq/2019/Aug/42"
            },
            {
                "refsource": "SUSE",
                "name": "openSUSE-SU-2019:2540",
                "url": "http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00053.html"
            },
            {
                "refsource": "SUSE",
                "name": "openSUSE-SU-2019:2541",
                "url": "http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00056.html"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20200710 [SECURITY] [DLA 2278-1] squid3 security update",
                "url": "https://lists.debian.org/debian-lts-announce/2020/07/msg00009.html"
            }
        ]
    }
}