ubuntu-cve-2019-12519
Vulnerability from osv_ubuntu
Published
2020-04-15 20:15
Modified
2025-09-08 16:45
Summary
Details

An issue was discovered in Squid through 4.7. When handling the tag esi:when when ESI is enabled, Squid calls ESIExpression::Evaluate. This function uses a fixed stack buffer to hold the expression while it's being evaluated. When processing the expression, it could either evaluate the top of the stack, or add a new member to the stack. When adding a new member, there is no check to ensure that the stack won't overflow.

Severity

{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "squid",
            "binary_version": "3.5.12-1ubuntu7.11"
          },
          {
            "binary_name": "squid-cgi",
            "binary_version": "3.5.12-1ubuntu7.11"
          },
          {
            "binary_name": "squid-common",
            "binary_version": "3.5.12-1ubuntu7.11"
          },
          {
            "binary_name": "squid-purge",
            "binary_version": "3.5.12-1ubuntu7.11"
          },
          {
            "binary_name": "squid3",
            "binary_version": "3.5.12-1ubuntu7.11"
          },
          {
            "binary_name": "squidclient",
            "binary_version": "3.5.12-1ubuntu7.11"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "squid3",
        "purl": "pkg:deb/ubuntu/squid3@3.5.12-1ubuntu7.11?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.5.12-1ubuntu7.11"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.3.8-1ubuntu16",
        "3.3.8-1ubuntu17",
        "3.5.12-1ubuntu6",
        "3.5.12-1ubuntu7",
        "3.5.12-1ubuntu7.1",
        "3.5.12-1ubuntu7.2",
        "3.5.12-1ubuntu7.3",
        "3.5.12-1ubuntu7.4",
        "3.5.12-1ubuntu7.5",
        "3.5.12-1ubuntu7.6",
        "3.5.12-1ubuntu7.7",
        "3.5.12-1ubuntu7.8",
        "3.5.12-1ubuntu7.9",
        "3.5.12-1ubuntu7.10"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "squid",
            "binary_version": "3.5.27-1ubuntu1.6"
          },
          {
            "binary_name": "squid-cgi",
            "binary_version": "3.5.27-1ubuntu1.6"
          },
          {
            "binary_name": "squid-common",
            "binary_version": "3.5.27-1ubuntu1.6"
          },
          {
            "binary_name": "squid-purge",
            "binary_version": "3.5.27-1ubuntu1.6"
          },
          {
            "binary_name": "squid3",
            "binary_version": "3.5.27-1ubuntu1.6"
          },
          {
            "binary_name": "squidclient",
            "binary_version": "3.5.27-1ubuntu1.6"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "squid3",
        "purl": "pkg:deb/ubuntu/squid3@3.5.27-1ubuntu1.6?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.5.27-1ubuntu1.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.5.23-5ubuntu1",
        "3.5.23-5ubuntu2",
        "3.5.27-1ubuntu1",
        "3.5.27-1ubuntu1.1",
        "3.5.27-1ubuntu1.2",
        "3.5.27-1ubuntu1.3",
        "3.5.27-1ubuntu1.4",
        "3.5.27-1ubuntu1.5"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "squid",
            "binary_version": "4.10-1ubuntu1.1"
          },
          {
            "binary_name": "squid-cgi",
            "binary_version": "4.10-1ubuntu1.1"
          },
          {
            "binary_name": "squid-common",
            "binary_version": "4.10-1ubuntu1.1"
          },
          {
            "binary_name": "squid-purge",
            "binary_version": "4.10-1ubuntu1.1"
          },
          {
            "binary_name": "squidclient",
            "binary_version": "4.10-1ubuntu1.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "squid",
        "purl": "pkg:deb/ubuntu/squid@4.10-1ubuntu1.1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.10-1ubuntu1.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "4.8-1ubuntu2",
        "4.8-1ubuntu3",
        "4.9-2ubuntu1",
        "4.9-2ubuntu2",
        "4.9-2ubuntu3",
        "4.9-2ubuntu4",
        "4.10-1ubuntu1"
      ]
    }
  ],
  "aliases": [],
  "details": "An issue was discovered in Squid through 4.7. When handling the tag esi:when when ESI is enabled, Squid calls ESIExpression::Evaluate. This function uses a fixed stack buffer to hold the expression while it\u0027s being evaluated. When processing the expression, it could either evaluate the top of the stack, or add a new member to the stack. When adding a new member, there is no check to ensure that the stack won\u0027t overflow.",
  "id": "UBUNTU-CVE-2019-12519",
  "modified": "2025-09-08T16:45:26Z",
  "published": "2020-04-15T20:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2019-12519"
    },
    {
      "type": "REPORT",
      "url": "https://gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12519.txt"
    },
    {
      "type": "REPORT",
      "url": "http://www.squid-cache.org/Advisories/SQUID-2019_12.txt"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-4356-1"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2019-12519"
    }
  ],
  "related": [
    "USN-4356-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2019-12519"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…