GHSA-f3wp-xpv2-6vmg: Silverstripe/framework Silverstripe/framework Password Encryption Salt Not Vulnerability

LOW
Published
Advisory Summary

GHSA-f3wp-xpv2-6vmg is a LOW silverstripe/framework password encryption salt not vulnerability (General Security Weakness) affecting Silverstripe/framework libraries in the Packagist ecosystem. The issue involves silverstripe/framework password encryption salt not updated. Remediation is available by upgrading affected packages to version 3.1.20, 3.2.5, 3.3.3, 3.4.1.

GHSA-f3wp-xpv2-6vmg at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-f3wp-xpv2-6vmg
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Silverstripe/framework
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-f3wp-xpv2-6vmg

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: 3.1.20
Upgrade silverstripe/framework to 3.1.20
silverstripe/framework fixed: 3.2.5
Upgrade silverstripe/framework to 3.2.5
silverstripe/framework fixed: 3.3.3
Upgrade silverstripe/framework to 3.3.3
silverstripe/framework fixed: 3.4.1
Upgrade silverstripe/framework to 3.4.1
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 GHSA-f3wp-xpv2-6vmg, 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 3.1.20), 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 General Security Weakness. 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

When a user changes their password, the internal salt used for hashing their password is not updated. Although this is not considered a security vulnerability, this behaviour has been improved to ensure the salt is reset on change of password.

GHSA-f3wp-xpv2-6vmg Affected Silverstripe/framework Versions

4 component(s)
Fixed Versions:
3.1.203.2.53.3.33.4.1
Product / Package Ecosystem Affected Versions Fixed Version
silverstripe/framework
Packagist
≥ 3.1.19-rc1
< 3.1.20
3.1.20
silverstripe/framework
Packagist
≥ 3.2.4-rc1
< 3.2.5
3.2.5
silverstripe/framework
Packagist
≥ 3.3.2-rc1
< 3.3.3
3.3.3
silverstripe/framework
Packagist
≥ 3.4.0-rc1
< 3.4.1
3.4.1

References

Frequently Asked Questions

What is GHSA-f3wp-xpv2-6vmg?
GHSA-f3wp-xpv2-6vmg is a security vulnerability in Silverstripe/framework involving silverstripe/framework password encryption salt not updated under General Security Weakness.
Which Silverstripe/framework versions are affected?
Affected versions include releases prior to 3.1.20, 3.2.5, 3.3.3, 3.4.1 across affected packages: silverstripe/framework.
What version fixes GHSA-f3wp-xpv2-6vmg?
Upgrading to 3.1.20, 3.2.5, 3.3.3, 3.4.1 (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 3.1.20, 3.2.5, 3.3.3, 3.4.1. Upgrade your dependency to 3.1.20, 3.2.5, 3.3.3, 3.4.1 or later.
What CWE is associated with GHSA-f3wp-xpv2-6vmg?
GHSA-f3wp-xpv2-6vmg is classified under General Security Weakness.
How can I check Packagist dependencies for GHSA-f3wp-xpv2-6vmg?
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-f3wp-xpv2-6vmg",
  "modified" : "2024-05-27T18:33:04Z",
  "published" : "2024-05-27T18:33:04Z",
  "aliases" : [ ],
  "summary" : "silverstripe/framework password encryption salt not updated",
  "details" : "When a user changes their password, the internal salt used for hashing their password is not updated.\n\nAlthough this is not considered a security vulnerability, this behaviour has been improved to ensure the salt is reset on change of password.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "silverstripe/framework"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.1.19-rc1"
      }, {
        "fixed" : "3.1.20"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "silverstripe/framework"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.2.4-rc1"
      }, {
        "fixed" : "3.2.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "silverstripe/framework"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.3.2-rc1"
      }, {
        "fixed" : "3.3.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "silverstripe/framework"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.4.0-rc1"
      }, {
        "fixed" : "3.4.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/silverstripe/silverstripe-framework/commit/08384bb4d6b98c44388ffb4727c317ed14fe3c81"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/silverstripe/silverstripe-framework/commit/298f61521c55b07e5c898a92264dbe111735a87a"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/silverstripe/silverstripe-framework/commit/dc47f7ec9adf67a3f31887467de5b110e8e5b285"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/silverstripe/silverstripe-framework/commit/f85dea2e6d5b303abd43b5e5efc07c66c8d2acf4"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2016-008-1.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/silverstripe/silverstripe-framework"
  }, {
    "type" : "WEB",
    "url" : "https://www.silverstripe.org/download/security-releases/ss-2016-008"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-27T18:33:04Z",
    "nvd_published_at" : null
  }
}