CVE-2020-8449: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-rmc2-g977-jr5r
CWE-668
Published
Advisory Summary

CVE-2020-8449 is a MODERATE security vulnerability vulnerability (CWE-668: Exposure of Resource to Wrong Sphere) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.. Remediation is available in the latest vendor maintenance releases.

CVE-2020-8449 at a Glance

CVE Identifier CVE-2020-8449
GHSA Identifier GHSA-rmc2-g977-jr5r
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-668: Exposure of Resource to Wrong Sphere
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2020-8449

To remediate this vulnerability, upgrade all affected Software dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2020-8449, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree

Analyze the terminal output to locate any version of Software in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-668: Exposure of Resource to Wrong Sphere, where the product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource. In Software, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

An issue was discovered in Squid before 4.10. Due to incorrect input validation, it can interpret crafted HTTP requests in unexpected ways to access server resources prohibited by earlier security filters.

References

NVD — CVE-2020-8449 NVD
https://nvd.nist.gov/vuln/detail/CVE-2020-8449
lists.debian.org/debian-lts-announce... WEB
https://lists.debian.org/debian-lts-announce/2020/07/msg00009.html
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G6W2IQ7QV2OGREFFUBNVZIDD3RJBDE4R
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TSU6SPANL27AGK5PCGBJOKG4LUWA555J
Software Security Information SECURITY
https://security.gentoo.org/glsa/202003-34
Software Security Information SECURITY
https://security.netapp.com/advisory/ntap-20210304-0002
usn.ubuntu.com/4289-1 WEB
https://usn.ubuntu.com/4289-1
Software Security Information SECURITY
https://www.debian.org/security/2020/dsa-4682
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00012.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00010.html
www.squid-cache.org/advisories/squid-20... WEB
http://www.squid-cache.org/Advisories/SQUID-2020_1.txt
www.squid-cache.org/versions/v3/3.5/cha... WEB
http://www.squid-cache.org/Versions/v3/3.5/changesets/SQUID-2020_1.patch
www.squid-cache.org/versions/v3/3.5/cha... WEB
http://www.squid-cache.org/Versions/v3/3.5/changesets/squid-3.5-8e657e835965c3a011375feaa0359921c5b3e2dd.patch
www.squid-cache.org/versions/v4/changes... WEB
http://www.squid-cache.org/Versions/v4/changesets/SQUID-2020_1.patch
www.squid-cache.org/versions/v4/changes... WEB
http://www.squid-cache.org/Versions/v4/changesets/squid-4-b3a0719affab099c684f1cd62b79ab02816fa962.patch
www.squid-cache.org/versions/v4/changes... WEB
http://www.squid-cache.org/Versions/v4/changesets/squid-4-d8e4715992d0e530871519549add5519cbac0598.patch

Frequently Asked Questions

What is CVE-2020-8449?
CVE-2020-8449 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-668: Exposure of Resource to Wrong Sphere.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2020-8449?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2020-8449?
CVE-2020-8449 is classified under CWE-668: Exposure of Resource to Wrong Sphere (The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.).
How can I check Maven dependencies for CVE-2020-8449?
Run the dependency tree command: 'mvn dependency:tree'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-rmc2-g977-jr5r",
  "modified" : "2022-05-24T17:08:00Z",
  "published" : "2022-05-24T17:08:00Z",
  "aliases" : [ "CVE-2020-8449" ],
  "details" : "An issue was discovered in Squid before 4.10. Due to incorrect input validation, it can interpret crafted HTTP requests in unexpected ways to access server resources prohibited by earlier security filters.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-8449"
  }, {
    "type" : "WEB",
    "url" : "https://lists.debian.org/debian-lts-announce/2020/07/msg00009.html"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G6W2IQ7QV2OGREFFUBNVZIDD3RJBDE4R"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TSU6SPANL27AGK5PCGBJOKG4LUWA555J"
  }, {
    "type" : "WEB",
    "url" : "https://security.gentoo.org/glsa/202003-34"
  }, {
    "type" : "WEB",
    "url" : "https://security.netapp.com/advisory/ntap-20210304-0002"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/4289-1"
  }, {
    "type" : "WEB",
    "url" : "https://www.debian.org/security/2020/dsa-4682"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00012.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00010.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.squid-cache.org/Advisories/SQUID-2020_1.txt"
  }, {
    "type" : "WEB",
    "url" : "http://www.squid-cache.org/Versions/v3/3.5/changesets/SQUID-2020_1.patch"
  }, {
    "type" : "WEB",
    "url" : "http://www.squid-cache.org/Versions/v3/3.5/changesets/squid-3.5-8e657e835965c3a011375feaa0359921c5b3e2dd.patch"
  }, {
    "type" : "WEB",
    "url" : "http://www.squid-cache.org/Versions/v4/changesets/SQUID-2020_1.patch"
  }, {
    "type" : "WEB",
    "url" : "http://www.squid-cache.org/Versions/v4/changesets/squid-4-b3a0719affab099c684f1cd62b79ab02816fa962.patch"
  }, {
    "type" : "WEB",
    "url" : "http://www.squid-cache.org/Versions/v4/changesets/squid-4-d8e4715992d0e530871519549add5519cbac0598.patch"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-668" ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2020-02-04T20:15:00Z"
  }
}