5.9

CVE-2019-12521: canonical ubuntu_linux Off-by-one Error

CVSS: 5.9v3.1MediumModified
AliasesALPINE-CVE-2019-12521UBUNTU-CVE-2019-12521DEBIAN-CVE-2019-12521
Published 15-04-2020Last modified 04-08-2024

Vulnerability summary

CVE-2019-12521 is a medium (CVSS 5.9) Off-by-one Error vulnerability in canonical ubuntu_linux. EPSS estimates a 5.91% chance of exploitation in the next 30 days, higher than 93.1% of scored vulnerabilities.

Overall risk
25/100
0100
Medium · default modelHow is this calculated?
CVSS score
5.9/10
010
Medium · v3.1 (NVD)
EPSS score
5.91%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 9 · Related 6

Timeline

  1. 15-04-2020
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

5.91%

Chance of exploitation in the next 30 days

Percentile

93%

Versus all other CVEs

30-day change

0.00 pp

From 5.91% on 18-09-2026

18-09-202618-10-2026
EPSS score
5.91%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian2 products
Ubuntu2 products
  • squid< 4.10-1ubuntu1.1
  • squid3< 3.5.12-1ubuntu7.11 | < 3.5.27-1ubuntu1.6
Alpine1 product
  • squid≥ 3.0, < 4.11-r0
Canonical1 product
Opensuse1 product
Squid-cache1 product
  • squid≥ 3.0, ≤ 3.5.28 | ≥ 4.0, ≤ 4.7 | ≥ 5.0, ≤ 5.0.1

6 vendors · 8 products

References

14 links
Show all 14 references