CVE-2019-12521
CVSS V2 Medium 4.3
CVSS V3 Medium 5.9
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.
Overview
- CVE ID
- CVE-2019-12521
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2020-04-15T19:15:12
- Last Modified Date
- 2021-07-21T11:39:23
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:squid-cache:squid:*:*:*:*:*:*:*:* | 1 | OR | 3.0 | 3.5.28 |
cpe:2.3:a:squid-cache:squid:*:*:*:*:*:*:*:* | 1 | OR | 4.0 | 4.7 |
cpe:2.3:a:squid-cache:squid:*:*:*:*:*:*:*:* | 1 | OR | 5.0 | 5.0.1 |
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* | 1 | OR | ||
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* | 1 | OR | ||
cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:* | 1 | OR | ||
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:N/I:N/A:P
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- NONE
- Availability Impact
- PARTIAL
- Base Score
- 4.3
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- HIGH
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- HIGH
- Base Score
- 5.9
- Base Severity
- MEDIUM
- Exploitability Score
- 2.2
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12521.txt | Third Party Advisory |
http://www.openwall.com/lists/oss-security/2020/04/23/1 | Mailing List Patch Third Party Advisory |
https://www.debian.org/security/2020/dsa-4682 | Third Party Advisory |
http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00018.html | Mailing List Third Party Advisory |
https://security.gentoo.org/glsa/202005-05 | Third Party Advisory |
https://usn.ubuntu.com/4356-1/ | Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2020/07/msg00009.html | Mailing List Third Party Advisory |
https://security.netapp.com/advisory/ntap-20210205-0006/ | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2019-12521 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12521 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 16:09:18 | Added to TrackCVE | |||
2022-12-04 14:53:25 | 2020-04-15T19:15Z | 2020-04-15T19:15:12 | CVE Published Date | updated |
2022-12-04 14:53:25 | 2021-07-21T11:39:23 | CVE Modified Date | updated | |
2022-12-04 14:53:25 | Analyzed | Vulnerability Status | updated |