Advisory

UBUNTU-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-02-04 03:49 UTC

Affected packages and fixes

squid3

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 3.5.12-1ubuntu7.11 (ecosystem)

Fixed versions

3.5.12-1ubuntu7.11

Fix

  • Fixed version 3.5.12-1ubuntu7.11
    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.

squid3

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 3.5.27-1ubuntu1.6 (ecosystem)

Fixed versions

3.5.27-1ubuntu1.6

Fix

  • Fixed version 3.5.27-1ubuntu1.6
    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) · Ubuntu 20.04

Affected

  • introduced 0, fixed 4.10-1ubuntu1.1 (ecosystem)

Fixed versions

4.10-1ubuntu1.1

Fix

  • Fixed version 4.10-1ubuntu1.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: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences