OESA-2022-1851

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-1851
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2022-1851.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2022-1851
Upstream
Published
2022-08-19T11:04:10Z
Modified
2025-08-12T05:04:10.661029Z
Summary
squid security update
Details

Squid is a high-performance proxy caching server. It handles all requests in a single, non-blocking, I/O-driven process and keeps meta data and implements negative caching of failed requests.

Security Fix(es):

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.(CVE-2019-12521)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / squid

Package

Name
squid
Purl
pkg:rpm/openEuler/squid&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.9-11.oe1

Ecosystem specific

{
    "src": [
        "squid-4.9-11.oe1.src.rpm"
    ],
    "x86_64": [
        "squid-debuginfo-4.9-11.oe1.x86_64.rpm",
        "squid-debugsource-4.9-11.oe1.x86_64.rpm",
        "squid-4.9-11.oe1.x86_64.rpm"
    ],
    "aarch64": [
        "squid-4.9-11.oe1.aarch64.rpm",
        "squid-debuginfo-4.9-11.oe1.aarch64.rpm",
        "squid-debugsource-4.9-11.oe1.aarch64.rpm"
    ]
}