CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
  Take a third party risk management course for FREE
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2019-12521

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.
Publish Date : 2020-04-15 Last Update Date : 2021-07-21
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
4.3
Confidentiality Impact None (There is no impact to the confidentiality of the system.)
Integrity Impact None (There is no impact to the integrity of the system)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Overflow
CWE ID 787

- Related OVAL Definitions

Title Definition Id Class Family
RHSA-2020:4743: squid:4 security, bug fix, and enhancement update (Moderate) oval:com.redhat.rhsa:def:20204743 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2019-12521

# Product Type Vendor Product Version Update Edition Language
1 OS Canonical Ubuntu Linux 16.04 * * * Version Details Vulnerabilities
2 OS Canonical Ubuntu Linux 18.04 * * * Version Details Vulnerabilities
3 OS Canonical Ubuntu Linux 19.10 * * * Version Details Vulnerabilities
4 OS Canonical Ubuntu Linux 20.04 * * * Version Details Vulnerabilities
5 OS Debian Debian Linux 9.0 * * * Version Details Vulnerabilities
6 OS Debian Debian Linux 10.0 * * * Version Details Vulnerabilities
7 OS Opensuse Leap 15.1 * * * Version Details Vulnerabilities
8 Application Squid-cache Squid * * * * Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Canonical Ubuntu Linux 4
Debian Debian Linux 2
Opensuse Leap 1
Squid-cache Squid 1

- References For CVE-2019-12521

https://security.netapp.com/advisory/ntap-20210205-0006/ CONFIRM
https://gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12521.txt
https://usn.ubuntu.com/4356-1/
UBUNTU USN-4356-1
https://lists.debian.org/debian-lts-announce/2020/07/msg00009.html
MLIST [debian-lts-announce] 20200710 [SECURITY] [DLA 2278-1] squid3 security update
https://security.gentoo.org/glsa/202005-05
GENTOO GLSA-202005-05
http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00018.html
SUSE openSUSE-SU-2020:0623
http://www.openwall.com/lists/oss-security/2020/04/23/1
MLIST [oss-security] 20200423 [ADVISORY] SQUID-2019:12 Multiple issues in ESI Response processing
https://www.debian.org/security/2020/dsa-4682
DEBIAN DSA-4682

- Metasploit Modules Related To CVE-2019-12521

There are not any metasploit modules related to this CVE entry (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.