GHSA-647r-72hf-4vmh

Suggest an improvement
Source
https://github.com/advisories/GHSA-647r-72hf-4vmh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-647r-72hf-4vmh/GHSA-647r-72hf-4vmh.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-647r-72hf-4vmh
Aliases
Published
2026-06-03T00:30:27Z
Modified
2026-07-13T16:42:52Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
  • 2.1 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P CVSS Calculator
Summary
Code Index MCP is vulnerable to Uncontrolled Resource Consumption
Details

A weakness has been identified in johnhuang316 code-index-mcp up to 2.14.0. Affected is the function is_safe_regex_pattern of the component search_code_advanced. Executing a manipulation of the argument regex can lead to inefficient regular expression complexity. It is possible to launch the attack remotely. The exploit has been made available to the public and could be used for attacks. Upgrading to version 2.14.1 is able to address this issue. This patch is called 25bc02fac74051ddae15ce79e952f00211b1ea6b. Upgrading the affected component is recommended.

Database specific
{
    "cwe_ids": [
        "CWE-400"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-07-10T17:16:29Z",
    "nvd_published_at": "2026-06-03T00:16:31Z",
    "severity": "LOW"
}
References

Affected packages

PyPI / code-index-mcp

Package

Name
code-index-mcp
View open source insights on deps.dev
Purl
pkg:pypi/code-index-mcp

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.14.1

Affected versions

0.*
0.1.0
0.1.1
0.1.2
0.1.3
0.1.4
0.1.5
0.2.0
0.2.1
0.3.0
0.3.1
0.4.1
0.4.2
0.5.0
1.*
1.0.0
1.1.0
1.1.1
1.2.0
1.2.1
2.*
2.0.0
2.0.1
2.1.0
2.1.1
2.1.2
2.2.0
2.2.1
2.3.0
2.3.1
2.3.2
2.4.0
2.4.1
2.5.0
2.5.1
2.6.0
2.7.0
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
2.9.3
2.9.4
2.10.0
2.11.0
2.12.0
2.13.0
2.14.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-647r-72hf-4vmh/GHSA-647r-72hf-4vmh.json"