U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2019-12521 Detail

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00018.html Mailing List  Third Party Advisory 
http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00018.html Mailing List  Third Party Advisory 
http://www.openwall.com/lists/oss-security/2020/04/23/1 Mailing List  Patch  Third Party Advisory 
http://www.openwall.com/lists/oss-security/2020/04/23/1 Mailing List  Patch  Third Party Advisory 
https://gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12521.txt Third Party Advisory 
https://gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12521.txt Third Party Advisory 
https://lists.debian.org/debian-lts-announce/2020/07/msg00009.html Mailing List  Third Party Advisory 
https://lists.debian.org/debian-lts-announce/2020/07/msg00009.html Mailing List  Third Party Advisory 
https://security.gentoo.org/glsa/202005-05 Third Party Advisory 
https://security.gentoo.org/glsa/202005-05 Third Party Advisory 
https://security.netapp.com/advisory/ntap-20210205-0006/ Third Party Advisory 
https://security.netapp.com/advisory/ntap-20210205-0006/ Third Party Advisory 
https://usn.ubuntu.com/4356-1/ Third Party Advisory 
https://usn.ubuntu.com/4356-1/ Third Party Advisory 
https://www.debian.org/security/2020/dsa-4682 Third Party Advisory 
https://www.debian.org/security/2020/dsa-4682 Third Party Advisory 

Weakness Enumeration

CWE-ID CWE Name Source
CWE-193 Off-by-one Error cwe source acceptance level NIST  
CWE-787 Out-of-bounds Write cwe source acceptance level NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

14 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2019-12521
NVD Published Date:
04/15/2020
NVD Last Modified:
11/20/2024
Source:
MITRE