UBUNTU-CVE-2019-12525

Source
https://ubuntu.com/security/CVE-2019-12525
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-12525.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2019-12525
Related
Published
2019-07-11T00:00:00Z
Modified
2019-07-11T00:00:00Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

Ubuntu:16.04:LTS / squid3

Package

Name
squid3
Purl
pkg:deb/ubuntu/squid3?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.5.12-1ubuntu7.8

Affected versions

3.*

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",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.5.12-1ubuntu7.8",
            "binary_name": "squid"
        },
        {
            "binary_version": "3.5.12-1ubuntu7.8",
            "binary_name": "squid-cgi"
        },
        {
            "binary_version": "3.5.12-1ubuntu7.8",
            "binary_name": "squid-cgi-dbgsym"
        },
        {
            "binary_version": "3.5.12-1ubuntu7.8",
            "binary_name": "squid-common"
        },
        {
            "binary_version": "3.5.12-1ubuntu7.8",
            "binary_name": "squid-dbg"
        },
        {
            "binary_version": "3.5.12-1ubuntu7.8",
            "binary_name": "squid-dbgsym"
        },
        {
            "binary_version": "3.5.12-1ubuntu7.8",
            "binary_name": "squid-purge"
        },
        {
            "binary_version": "3.5.12-1ubuntu7.8",
            "binary_name": "squid-purge-dbgsym"
        },
        {
            "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",
            "binary_name": "squidclient-dbgsym"
        }
    ]
}

Ubuntu:18.04:LTS / squid3

Package

Name
squid3
Purl
pkg:deb/ubuntu/squid3?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.5.27-1ubuntu1.3

Affected versions

3.*

3.5.23-5ubuntu1
3.5.23-5ubuntu2
3.5.27-1ubuntu1
3.5.27-1ubuntu1.1
3.5.27-1ubuntu1.2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.5.27-1ubuntu1.3",
            "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-dbg"
        },
        {
            "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"
        }
    ]
}