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

GHSA-xr24-jp5c-6c4vmedium

Moodle reveals absolute path in exception message

Check your stack

The advisory, in context

lib/setuplib.php in Moodle through 2.1.10, 2.2.x before 2.2.8, 2.3.x before 2.3.5, and 2.4.x before 2.4.2 allows remote attackers to obtain sensitive information via an invalid request, which reveals the absolute path in an exception message.

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

Earlier releases through 2.1.10 (inclusive)

No fix recorded for this interval.

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "0"
        },
        {
          "last_affected": "2.1.10"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": []
}
Ecosystem versions

From 2.2.0 before 2.2.8

Fixed in 2.2.8

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

From 2.3.0 before 2.3.5

Fixed in 2.3.5

1 explicitly affected versions

v2.3.4

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "2.3.0"
        },
        {
          "fixed": "2.3.5"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "v2.3.4"
  ]
}
Ecosystem versions

From 2.4.0 before 2.4.2

Fixed in 2.4.2

2 explicitly affected versions

v2.4.0, v2.4.1

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "2.4.0"
        },
        {
          "fixed": "2.4.2"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "v2.4.0",
    "v2.4.1"
  ]
}

References