GIVE YOUR AGENT THE EVIDENCE

Set up in your agent.

One prompt to get started. Paste it into your coding agent to connect cve.new through MCP and bring vulnerability context into your workflow.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

GIVE YOUR AGENT THE EVIDENCE

Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

All vulnerabilities
GHSA-m2hh-2m46-x6j5medium6.5

silverstripe/framework may disclose database credentials during connection failure

No CVE assignedCheck your stack

The advisory, in context

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.

Affected packages

Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.

Ecosystem versions

From 3.7.0-rc1 before 3.7.1

Fixed in 3.7.1

2 explicitly affected versions

3.7.0, 3.7.1-rc1

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "3.7.0-rc1"
        },
        {
          "fixed": "3.7.1"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "3.7.0",
    "3.7.1-rc1"
  ]
}
Ecosystem versions

From 4.0.0-rc1 before 4.0.5

Fixed in 4.0.5

9 explicitly affected versions

4.0.0, 4.0.0-rc1, 4.0.0-rc2, 4.0.0-rc3, 4.0.1, 4.0.1-rc1, 4.0.2, 4.0.3, 4.0.4

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "4.0.0-rc1"
        },
        {
          "fixed": "4.0.5"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "4.0.0",
    "4.0.0-rc1",
    "4.0.0-rc2",
    "4.0.0-rc3",
    "4.0.1",
    "4.0.1-rc1",
    "4.0.2",
    "4.0.3",
    "4.0.4"
  ]
}
Ecosystem versions

From 4.1.0-rc1 before 4.1.3

Fixed in 4.1.3

5 explicitly affected versions

4.1.0, 4.1.0-rc1, 4.1.0-rc2, 4.1.1, 4.1.2

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "4.1.0-rc1"
        },
        {
          "fixed": "4.1.3"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "4.1.0",
    "4.1.0-rc1",
    "4.1.0-rc2",
    "4.1.1",
    "4.1.2"
  ]
}
Ecosystem versions

From 4.2.0-rc1 before 4.2.2

Fixed in 4.2.2

2 explicitly affected versions

4.2.0, 4.2.1

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "4.2.0-rc1"
        },
        {
          "fixed": "4.2.2"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "4.2.0",
    "4.2.1"
  ]
}

References