CVE-2019-12246: Silverstripe/framework Denial of Service Vulnerability

MODERATE
Advisory Identifier: GHSA-5fr8-xhqq-4p3q
CVSS 4.3
CWE-352
Published
Advisory Summary

CVE-2019-12246 is a MODERATE (CVSS 4.3) denial of service vulnerability (CWE-352: Cross-Site Request Forgery (CSRF)) affecting Silverstripe/framework libraries in the Packagist ecosystem. The issue involves silverstripe denial of service on flush and development url tools. Remediation is available by upgrading affected packages to version 4.4.0.

CVE-2019-12246 at a Glance

CVE Identifier CVE-2019-12246
GHSA Identifier GHSA-5fr8-xhqq-4p3q
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-352: Cross-Site Request Forgery (CSRF)
Affected Product Silverstripe/framework
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 4.3

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

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

How to Fix CVE-2019-12246

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.0
Upgrade silverstripe/framework to 4.4.0
silverstripe/framework fixed: Latest secure release
Upgrade silverstripe/framework to Latest secure release
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-12246, 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.0), 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-352: Cross-Site Request Forgery (CSRF), where the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. 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 before 4.4.0 allows a Denial of Service on flush and development URL tools.

CVE-2019-12246 Affected Silverstripe/framework Versions

2 component(s)
Fixed Versions:
4.4.0
Product / Package Ecosystem Affected Versions Fixed Version
silverstripe/framework
Packagist
≥ 4.0.0
< 4.4.0
4.4.0
silverstripe/framework
Packagist
≤ 3.6

References

Frequently Asked Questions

What is CVE-2019-12246?
CVE-2019-12246 is a security vulnerability in Silverstripe/framework involving SilverStripe Denial of Service on flush and development URL tools under CWE-352: Cross-Site Request Forgery (CSRF).
Which Silverstripe/framework versions are affected?
Affected versions include releases prior to 4.4.0 across affected packages: silverstripe/framework.
What version fixes CVE-2019-12246?
Upgrading to 4.4.0 (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.0, Latest secure release. Upgrade your dependency to 4.4.0, Latest secure release or later.
What is the CVSS score of CVE-2019-12246?
CVE-2019-12246 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L.
What CWE is associated with CVE-2019-12246?
CVE-2019-12246 is classified under CWE-352: Cross-Site Request Forgery (CSRF) (The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.).
How can I check Packagist dependencies for CVE-2019-12246?
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-5fr8-xhqq-4p3q",
  "modified" : "2024-04-25T21:06:36Z",
  "published" : "2022-05-24T17:09:19Z",
  "aliases" : [ "CVE-2019-12246" ],
  "summary" : "SilverStripe Denial of Service on flush and development URL tools",
  "details" : "SilverStripe before 4.4.0 allows a Denial of Service on flush and development URL tools.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "silverstripe/framework"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.4.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "silverstripe/framework"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "3.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-12246"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/silverstripe/silverstripe-framework/commit/ca56e8d78e468874b9267c94d8ec75240b6da0ab"
  }, {
    "type" : "WEB",
    "url" : "https://forum.silverstripe.org/c/releases"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2019-12246.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/silverstripe/silverstripe-framework"
  }, {
    "type" : "WEB",
    "url" : "https://www.silverstripe.org/blog/tag/release"
  }, {
    "type" : "WEB",
    "url" : "https://www.silverstripe.org/download/security-releases/cve-2019-12246"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-352" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-04-25T21:06:36Z",
    "nvd_published_at" : "2020-02-19T17:15:00Z"
  }
}