NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

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

mediumCVSS 3.1 6.5

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 blacklisted the sensitive parts of the connection information from being included in dev mode stack traces when database errors occur.

Published May 28, 2024

Affected packages

silverstripe/framework

Ecosystem
Composer (PHP)
Affected
>= 3.7.0-rc1, < 3.7.1
Fixed in
3.7.1
Check
composer show silverstripe/framework

silverstripe/framework

Ecosystem
Composer (PHP)
Affected
>= 4.0.0-rc1, < 4.0.5
Fixed in
4.0.5
Check
composer show silverstripe/framework

silverstripe/framework

Ecosystem
Composer (PHP)
Affected
>= 4.1.0-rc1, < 4.1.3
Fixed in
4.1.3
Check
composer show silverstripe/framework

silverstripe/framework

Ecosystem
Composer (PHP)
Affected
>= 4.2.0-rc1, < 4.2.2
Fixed in
4.2.2
Check
composer show silverstripe/framework

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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 blacklisted the sensitive parts of the connection information from being included in dev mode stack traces when database errors occur.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries