{
  "threat_severity" : "Moderate",
  "public_date" : "2019-07-12T00:00:00Z",
  "bugzilla" : {
    "description" : "squid: parsing of header Proxy-Authentication leads to memory corruption",
    "id" : "1730535",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1730535"
  },
  "cvss3" : {
    "cvss3_base_score" : "4.3",
    "cvss3_scoring_vector" : "CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
    "status" : "verified"
  },
  "cwe" : "CWE-119",
  "details" : [ "An issue was discovered in Squid 3.3.9 through 3.5.28 and 4.x through 4.7. When Squid is configured to use Digest authentication, it parses the header Proxy-Authorization. It searches for certain tokens such as domain, uri, and qop. Squid checks if this token's value starts with a quote and ends with one. If so, it performs a memcpy of its length minus 2. Squid never checks whether the value is just a single quote (which would satisfy its requirements), leading to a memcpy of its length minus 1." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 7",
    "release_date" : "2020-05-06T00:00:00Z",
    "advisory" : "RHSA-2020:2040",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7",
    "package" : "squid-7:3.5.20-15.el7_8.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2020-05-06T00:00:00Z",
    "advisory" : "RHSA-2020:2041",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "squid:4-8020020200430095908.4cda2c84"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 5",
    "fix_state" : "Not affected",
    "package_name" : "squid",
    "cpe" : "cpe:/o:redhat:enterprise_linux:5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Not affected",
    "package_name" : "squid",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Out of support scope",
    "package_name" : "squid34",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2019-12525\nhttps://nvd.nist.gov/vuln/detail/CVE-2019-12525\nhttp://www.squid-cache.org/Advisories/SQUID-2019_3.txt" ],
  "name" : "CVE-2019-12525",
  "mitigation" : {
    "value" : "Remove 'auth_param digest ...' configuration settings from squid.conf.",
    "lang" : "en:us"
  },
  "csaw" : false
}