Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    UBUNTU-CVE-2019-12525 (CVE-2019-12525)

    Vulnerability from osv_ubuntu – Published: 2019-07-11 00:00 – Updated: 2026-11-24 09:43 – Source website
    VLAI
    Details

    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.

    Upstream
    Impacted products
    Ecosystem Package Version
    Ubuntu:16.04:LTS squid3
    pkg:deb/ubuntu/squid3@3.5.12-1ubuntu7.8?arch=source&distro=xenial
    Affected: < 3.5.12-1ubuntu7.8 (ecosystem)
    3.3.8-1ubuntu163.3.8-1ubuntu173.5.12-1ubuntu63.5.12-1ubuntu73.5.12-1ubuntu7.13.5.12-1ubuntu7.23.5.12-1ubuntu7.33.5.12-1ubuntu7.43.5.12-1ubuntu7.53.5.12-1ubuntu7.6 and 1 more (see JSON)
    Ubuntu:18.04:LTS squid3
    pkg:deb/ubuntu/squid3@3.5.27-1ubuntu1.3?arch=source&distro=bionic
    Affected: < 3.5.27-1ubuntu1.3 (ecosystem)
    3.5.23-5ubuntu13.5.23-5ubuntu23.5.27-1ubuntu13.5.27-1ubuntu1.13.5.27-1ubuntu1.2

    {
      "affected": [
        {
          "ecosystem_specific": {
            "availability": "No subscription required",
            "binaries": [
              {
                "binary_name": "squid",
                "binary_version": "3.5.12-1ubuntu7.8"
              },
              {
                "binary_name": "squid-cgi",
                "binary_version": "3.5.12-1ubuntu7.8"
              },
              {
                "binary_name": "squid-common",
                "binary_version": "3.5.12-1ubuntu7.8"
              },
              {
                "binary_name": "squid-purge",
                "binary_version": "3.5.12-1ubuntu7.8"
              },
              {
                "binary_name": "squid3",
                "binary_version": "3.5.12-1ubuntu7.8"
              },
              {
                "binary_name": "squidclient",
                "binary_version": "3.5.12-1ubuntu7.8"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:16.04:LTS",
            "name": "squid3",
            "purl": "pkg:deb/ubuntu/squid3@3.5.12-1ubuntu7.8?arch=source\u0026distro=xenial"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.5.12-1ubuntu7.8"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "3.3.8-1ubuntu16",
            "3.3.8-1ubuntu17",
            "3.5.12-1ubuntu6",
            "3.5.12-1ubuntu7",
            "3.5.12-1ubuntu7.1",
            "3.5.12-1ubuntu7.2",
            "3.5.12-1ubuntu7.3",
            "3.5.12-1ubuntu7.4",
            "3.5.12-1ubuntu7.5",
            "3.5.12-1ubuntu7.6",
            "3.5.12-1ubuntu7.7"
          ]
        },
        {
          "ecosystem_specific": {
            "availability": "No subscription required",
            "binaries": [
              {
                "binary_name": "squid",
                "binary_version": "3.5.27-1ubuntu1.3"
              },
              {
                "binary_name": "squid-cgi",
                "binary_version": "3.5.27-1ubuntu1.3"
              },
              {
                "binary_name": "squid-common",
                "binary_version": "3.5.27-1ubuntu1.3"
              },
              {
                "binary_name": "squid-purge",
                "binary_version": "3.5.27-1ubuntu1.3"
              },
              {
                "binary_name": "squid3",
                "binary_version": "3.5.27-1ubuntu1.3"
              },
              {
                "binary_name": "squidclient",
                "binary_version": "3.5.27-1ubuntu1.3"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:18.04:LTS",
            "name": "squid3",
            "purl": "pkg:deb/ubuntu/squid3@3.5.27-1ubuntu1.3?arch=source\u0026distro=bionic"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.5.27-1ubuntu1.3"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "3.5.23-5ubuntu1",
            "3.5.23-5ubuntu2",
            "3.5.27-1ubuntu1",
            "3.5.27-1ubuntu1.1",
            "3.5.27-1ubuntu1.2"
          ]
        }
      ],
      "aliases": [],
      "details": "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\u0027s 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.",
      "id": "UBUNTU-CVE-2019-12525",
      "modified": "2026-11-24T09:43:07Z",
      "published": "2019-07-11T00:00:00Z",
      "references": [
        {
          "type": "REPORT",
          "url": "https://ubuntu.com/security/CVE-2019-12525"
        },
        {
          "type": "REPORT",
          "url": "http://www.squid-cache.org/Advisories/SQUID-2019_3.txt"
        },
        {
          "type": "ADVISORY",
          "url": "https://ubuntu.com/security/notices/USN-4065-1"
        },
        {
          "type": "ADVISORY",
          "url": "https://ubuntu.com/security/notices/USN-4065-2"
        },
        {
          "type": "REPORT",
          "url": "https://www.cve.org/CVERecord?id=CVE-2019-12525"
        }
      ],
      "related": [
        "USN-4065-1",
        "USN-4065-2"
      ],
      "schema_version": "1.9.2",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "source": "NVD",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "source": "NVD",
          "type": "CVSS_V3"
        },
        {
          "score": "medium",
          "source": "SELF",
          "type": "Ubuntu"
        }
      ],
      "upstream": [
        "CVE-2019-12525"
      ]
    }

    UBUNTU-CVE-2019-12529 (CVE-2019-12529)

    Vulnerability from osv_ubuntu – Published: 2019-07-11 00:00 – Updated: 2026-11-24 09:43 – Source website
    VLAI
    Details

    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.

    Upstream
    Impacted products
    Ecosystem Package Version
    Ubuntu:16.04:LTS squid3
    pkg:deb/ubuntu/squid3@3.5.12-1ubuntu7.8?arch=source&distro=xenial
    Affected: < 3.5.12-1ubuntu7.8 (ecosystem)
    3.3.8-1ubuntu163.3.8-1ubuntu173.5.12-1ubuntu63.5.12-1ubuntu73.5.12-1ubuntu7.13.5.12-1ubuntu7.23.5.12-1ubuntu7.33.5.12-1ubuntu7.43.5.12-1ubuntu7.53.5.12-1ubuntu7.6 and 1 more (see JSON)
    Ubuntu:18.04:LTS squid3
    pkg:deb/ubuntu/squid3@3.5.27-1ubuntu1.3?arch=source&distro=bionic
    Affected: < 3.5.27-1ubuntu1.3 (ecosystem)
    3.5.23-5ubuntu13.5.23-5ubuntu23.5.27-1ubuntu13.5.27-1ubuntu1.13.5.27-1ubuntu1.2

    {
      "affected": [
        {
          "ecosystem_specific": {
            "availability": "No subscription required",
            "binaries": [
              {
                "binary_name": "squid",
                "binary_version": "3.5.12-1ubuntu7.8"
              },
              {
                "binary_name": "squid-cgi",
                "binary_version": "3.5.12-1ubuntu7.8"
              },
              {
                "binary_name": "squid-common",
                "binary_version": "3.5.12-1ubuntu7.8"
              },
              {
                "binary_name": "squid-purge",
                "binary_version": "3.5.12-1ubuntu7.8"
              },
              {
                "binary_name": "squid3",
                "binary_version": "3.5.12-1ubuntu7.8"
              },
              {
                "binary_name": "squidclient",
                "binary_version": "3.5.12-1ubuntu7.8"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:16.04:LTS",
            "name": "squid3",
            "purl": "pkg:deb/ubuntu/squid3@3.5.12-1ubuntu7.8?arch=source\u0026distro=xenial"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.5.12-1ubuntu7.8"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "3.3.8-1ubuntu16",
            "3.3.8-1ubuntu17",
            "3.5.12-1ubuntu6",
            "3.5.12-1ubuntu7",
            "3.5.12-1ubuntu7.1",
            "3.5.12-1ubuntu7.2",
            "3.5.12-1ubuntu7.3",
            "3.5.12-1ubuntu7.4",
            "3.5.12-1ubuntu7.5",
            "3.5.12-1ubuntu7.6",
            "3.5.12-1ubuntu7.7"
          ]
        },
        {
          "ecosystem_specific": {
            "availability": "No subscription required",
            "binaries": [
              {
                "binary_name": "squid",
                "binary_version": "3.5.27-1ubuntu1.3"
              },
              {
                "binary_name": "squid-cgi",
                "binary_version": "3.5.27-1ubuntu1.3"
              },
              {
                "binary_name": "squid-common",
                "binary_version": "3.5.27-1ubuntu1.3"
              },
              {
                "binary_name": "squid-purge",
                "binary_version": "3.5.27-1ubuntu1.3"
              },
              {
                "binary_name": "squid3",
                "binary_version": "3.5.27-1ubuntu1.3"
              },
              {
                "binary_name": "squidclient",
                "binary_version": "3.5.27-1ubuntu1.3"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:18.04:LTS",
            "name": "squid3",
            "purl": "pkg:deb/ubuntu/squid3@3.5.27-1ubuntu1.3?arch=source\u0026distro=bionic"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.5.27-1ubuntu1.3"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "3.5.23-5ubuntu1",
            "3.5.23-5ubuntu2",
            "3.5.27-1ubuntu1",
            "3.5.27-1ubuntu1.1",
            "3.5.27-1ubuntu1.2"
          ]
        }
      ],
      "aliases": [],
      "details": "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\u0027t 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.",
      "id": "UBUNTU-CVE-2019-12529",
      "modified": "2026-11-24T09:43:07Z",
      "published": "2019-07-11T00:00:00Z",
      "references": [
        {
          "type": "REPORT",
          "url": "https://ubuntu.com/security/CVE-2019-12529"
        },
        {
          "type": "REPORT",
          "url": "http://www.squid-cache.org/Advisories/SQUID-2019_2.txt"
        },
        {
          "type": "ADVISORY",
          "url": "https://ubuntu.com/security/notices/USN-4065-1"
        },
        {
          "type": "ADVISORY",
          "url": "https://ubuntu.com/security/notices/USN-4065-2"
        },
        {
          "type": "REPORT",
          "url": "https://www.cve.org/CVERecord?id=CVE-2019-12529"
        }
      ],
      "related": [
        "USN-4065-1",
        "USN-4065-2"
      ],
      "schema_version": "1.9.2",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
          "source": "NVD",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
          "source": "NVD",
          "type": "CVSS_V3"
        },
        {
          "score": "medium",
          "source": "SELF",
          "type": "Ubuntu"
        }
      ],
      "upstream": [
        "CVE-2019-12529"
      ]
    }