p PatchFirst

CVE-2019-12525

CVE-2019-12525

CVSS 9.8 · Critical · EPSS 23.5% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • squid Alpine 3.10Update to 4.8-r0
  • squid Alpine 3.9Update to 4.8-r0
  • squid Debian 12Update to 4.8-1
  • squid Debian 13Update to 4.8-1
  • and 3 more

Check the installed version:

apk list -I -o squid
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="squid"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

  • RHSA-2020:2040 · Red Hat Enterprise Linux 7 server, Red Hat Enterprise Linux 7 workstation ·
  • RHSA-2020:2041 · Red Hat Enterprise Linux 8 appstream ·
  • openSUSE-SU-2024:11403-1 · openSUSE Tumbleweed ·
  • SUSE-SU-2020:14460-1 · SUSE Linux Enterprise Point of Sale 11 SP3, SUSE Linux Enterprise Server 11 SP4-LTSS ·
  • DLA-2278-1 · Debian 9 ·
  • ALSA-2020:2041 · AlmaLinux 8 ·
  • RLSA-2020:2041 · Rocky Linux 8 ·
  • openSUSE-SU-2019:2541-1 · openSUSE Leap 15.1 ·
  • openSUSE-SU-2019:2540-1 · openSUSE Leap 15.0 ·
  • SUSE-SU-2019:2975-1 · SUSE Linux Enterprise Module for Server Applications 15, SUSE Linux Enterprise Module for Server Applications 15 SP1 ·
  • DSA-4507-1 · Debian 10 ·
  • SUSE-SU-2019:2089-1 · SUSE Enterprise Storage 4, SUSE Enterprise Storage 5, SUSE Linux Enterprise Server 12 SP2-BCL, SUSE Linux Enterprise Server 12 SP2-LTSS, SUSE Linux Enterprise Server 12 SP3-BCL, SUSE Linux Enterprise Server 12 SP3-LTSS, SUSE Linux Enterprise Server 12 SP4, SUSE Linux Enterprise Server for SAP Applications 12 SP2, SUSE Linux Enterprise Server for SAP Applications 12 SP3, SUSE Linux Enterprise Server for SAP Applications 12 SP4, SUSE OpenStack Cloud 7, SUSE OpenStack Cloud 8 ·
  • SUSE-SU-2019:2089-2 · SUSE Enterprise Storage 5, SUSE HPE Helion OpenStack 8, SUSE OpenStack Cloud Crowbar 8 ·
  • DLA-1858-1 · Debian 8 ·
  • USN-4065-1 · Ubuntu 16.04 LTS, Ubuntu 18.04 LTS ·

Stack: system

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • squid Alpine 3.10

    Affected ranges
    • ECOSYSTEM: ≥ 4.0, < 4.8-r0

    Update to 4.8-r0

  • squid Alpine 3.9

    Affected ranges
    • ECOSYSTEM: ≥ 4.0, < 4.8-r0

    Update to 4.8-r0

  • squid Debian 12

    Affected ranges
    • ECOSYSTEM: < 4.8-1

    Update to 4.8-1

  • squid Debian 13

    Affected ranges
    • ECOSYSTEM: < 4.8-1

    Update to 4.8-1

  • squid Debian 14

    Affected ranges
    • ECOSYSTEM: < 4.8-1

    Update to 4.8-1

  • squid3 Ubuntu 16.04 LTS

    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
    All versions (11)
    • 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
    Affected ranges
    • ECOSYSTEM: < 3.5.12-1ubuntu7.8

    Update to 3.5.12-1ubuntu7.8

  • squid3 Ubuntu 18.04 LTS

    Versions
    • 3.5.23-5ubuntu1
    • 3.5.23-5ubuntu2
    • 3.5.27-1ubuntu1
    • 3.5.27-1ubuntu1.1
    • 3.5.27-1ubuntu1.2
    Affected ranges
    • ECOSYSTEM: < 3.5.27-1ubuntu1.3

    Update to 3.5.27-1ubuntu1.3

Original sources

Check your server →