Advisory

DEBIAN-CVE-2019-12521

Also known as: CVE-2019-12521

Summary

The record has no summary.

Details

An issue was discovered in Squid through 4.7. When Squid is parsing ESI, it keeps the ESI elements in ESIContext. ESIContext contains a buffer for holding a stack of ESIElements. When a new ESIElement is parsed, it is added via addStackElement. addStackElement has a check for the number of elements in this buffer, but it's off by 1, leading to a Heap Overflow of 1 element. The overflow is within the same structure so it can't affect adjacent memory blocks, and thus just leads to a crash while processing.

Severity

Medium Basis: CVSS v3 score 5.9, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2020-04-15 19:15 UTC
Modified
2026-09-21 07:01 UTC

Affected packages and fixes

squid

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 4.11-1 (ecosystem)

Fixed versions

4.11-1

Fix

  • Fixed version 4.11-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

squid

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 4.11-1 (ecosystem)

Fixed versions

4.11-1

Fix

  • Fixed version 4.11-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

squid

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 4.11-1 (ecosystem)

Fixed versions

4.11-1

Fix

  • Fixed version 4.11-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences