Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. silverstripe/framework
  4. ›
  5. GHSA-m2hh-2m46-x6j5

GHSA-m2hh-2m46-x6j5: silverstripe/framework may disclose database credentials during connection failure

May 28, 2024

When running SilverStripe 3.7 or 4.x in dev mode with the mysqli database driver, there is a potential to disclose the connection details.

We have denylisted the sensitive parts of the connection information from being included in dev mode stack traces when database errors occur.

References

  • github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2018-018-1.yaml
  • github.com/advisories/GHSA-m2hh-2m46-x6j5
  • github.com/silverstripe/silverstripe-framework
  • github.com/silverstripe/silverstripe-framework/commit/214e28127f5425b61c15b69f884afdbad31133c2
  • github.com/silverstripe/silverstripe-framework/commit/54251952387394d72b221e797a80edfbf9a973ee
  • github.com/silverstripe/silverstripe-framework/commit/9aabe0a0f7a061d87cc92923f8811e14d7a032f5
  • www.silverstripe.org/download/security-releases/ss-2018-018

Code Behaviors & Features

Detect and mitigate GHSA-m2hh-2m46-x6j5 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 3.7.0-rc1 before 3.7.1, all versions starting from 4.0.0-rc1 before 4.0.5, all versions starting from 4.1.0-rc1 before 4.1.3, all versions starting from 4.2.0-rc1 before 4.2.2

Fixed versions

  • 3.7.1
  • 4.0.5
  • 4.1.3
  • 4.2.2

Solution

Upgrade to versions 3.7.1, 4.0.5, 4.1.3, 4.2.2 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-209: Generation of Error Message Containing Sensitive Information

Source file

packagist/silverstripe/framework/GHSA-m2hh-2m46-x6j5.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:09 +0000.