CVE-2019-19326: Silverstripe/framework SilverStripe Web Cache Poisoning Through Vulnerability

MODERATE
Advisory Identifier: GHSA-q9ff-3q93-fm8m
CVSS 5.9
CWE-444
Published
Advisory Summary

CVE-2019-19326 is a MODERATE (CVSS 5.9) silverstripe web cache poisoning through vulnerability (CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')) affecting Silverstripe/framework libraries in the Packagist ecosystem. The issue involves silverstripe web cache poisoning through httprequestbuilder. Remediation is available by upgrading affected packages to version 4.4.7, 4.5.4, 3.7.5.

CVE-2019-19326 at a Glance

CVE Identifier CVE-2019-19326
GHSA Identifier GHSA-q9ff-3q93-fm8m
Severity MODERATE
CVSS v3.1 Base Score 5.9
CWE Classification CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')
Affected Product Silverstripe/framework
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 5.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2019-19326

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

silverstripe/framework fixed: 4.4.7
Upgrade silverstripe/framework to 4.4.7
silverstripe/framework fixed: 4.5.4
Upgrade silverstripe/framework to 4.5.4
silverstripe/framework fixed: 3.7.5
Upgrade silverstripe/framework to 3.7.5
Verify Direct and Transitive Dependencies

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

inspect dependencies for silverstripe/framework

How to Check if You Are Affected

To determine whether your application is affected by CVE-2019-19326, inspect your project dependencies for Silverstripe/framework:

inspect dependencies for silverstripe/framework

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

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling'), where the product acts as an intermediary http agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed http requests or responses in ways that are consistent with how the messages will be processed by those entities that are at the ultimate destination. In Silverstripe/framework, 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

SilverStripe through 4.4.4 allows Web Cache Poisoning through HTTPRequestBuilder.

CVE-2019-19326 Affected Silverstripe/framework Versions

3 component(s)
Fixed Versions:
4.4.74.5.43.7.5
Product / Package Ecosystem Affected Versions Fixed Version
silverstripe/framework
Packagist
≥ 4.0.0
< 4.4.7
4.4.7
silverstripe/framework
Packagist
≥ 4.5.0
< 4.5.4
4.5.4
silverstripe/framework
Packagist
≥ 3.0.0
< 3.7.5
3.7.5

References

Frequently Asked Questions

What is CVE-2019-19326?
CVE-2019-19326 is a security vulnerability in Silverstripe/framework involving SilverStripe Web Cache Poisoning through HTTPRequestBuilder under CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling').
Which Silverstripe/framework versions are affected?
Affected versions include releases prior to 4.4.7, 4.5.4, 3.7.5 across affected packages: silverstripe/framework.
What version fixes CVE-2019-19326?
Upgrading to 4.4.7, 4.5.4, 3.7.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is silverstripe/framework affected?
Yes, silverstripe/framework is affected in releases prior to 4.4.7, 4.5.4, 3.7.5. Upgrade your dependency to 4.4.7, 4.5.4, 3.7.5 or later.
What is the CVSS score of CVE-2019-19326?
CVE-2019-19326 has a CVSS v3.1 base score of 5.9 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2019-19326?
CVE-2019-19326 is classified under CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') (The product acts as an intermediary HTTP agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed HTTP requests or responses in ways that are consistent with how the messages will be processed by those entities that are at the ultimate destination.).
How can I check Packagist dependencies for CVE-2019-19326?
Run the dependency tree command: 'inspect dependencies for silverstripe/framework'. 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-q9ff-3q93-fm8m",
  "modified" : "2024-05-22T19:22:00Z",
  "published" : "2022-05-24T17:22:55Z",
  "aliases" : [ "CVE-2019-19326" ],
  "summary" : "SilverStripe Web Cache Poisoning through HTTPRequestBuilder",
  "details" : "SilverStripe through 4.4.4 allows Web Cache Poisoning through HTTPRequestBuilder.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "silverstripe/framework"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.4.7"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "silverstripe/framework"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.5.0"
      }, {
        "fixed" : "4.5.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "silverstripe/framework"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.7.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-19326"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/silverstripe/silverstripe-framework/commit/107706c12cd9cf4d1b8b96b6a6e223633209d851"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/silverstripe/silverstripe-framework/commit/8518987cbd1eaca71b65dd4a4b35591db941509a"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/silverstripe/silverstripe-framework/commit/98926e4e6c26d1d43bb1faf516d15bdb2739556e"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2019-19326.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/silverstripe/silverstripe-framework"
  }, {
    "type" : "WEB",
    "url" : "https://www.silverstripe.org/download/security-releases/CVE-2019-19326"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-444" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-22T19:22:00Z",
    "nvd_published_at" : "2020-07-15T19:15:00Z"
  }
}