pgEdge RAG Serverに認証なしで資源を使い果たされる脆弱性
Summary
pgEdge RAG Serverの2.0.0より前のバージョンには、認証なしで送れる検索要求によって、サービスの資源を使い果たされる脆弱性があります。要求ごとに文書全体を読み込んで検索索引を作り直す仕様のため、比較的軽い要求でもデータベースとCPUの負荷が大きくなります。修正版は2.0.0です。公開されたばかりのため、悪用の情報は確認されていません。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
pgEdge RAG Serverの2.0.0より前のバージョンには、認証なしで送れる検索要求によって、サービスの資源を使い果たされる脆弱性があります。要求ごとに文書全体を読み込んで検索索引を作り直す仕様のため、比較的軽い要求でもデータベースとCPUの負荷が大きくなります。修正版は2.0.0です。公開されたばかりのため、悪用の情報は確認されていません。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| pgEdgepgedge-rag-server | — | Not listed |
| gogithub.com/pgEdge/pgedge-rag-server |
< 1.0.1-0.20260729020411-a09d4872356b→ 1.0.1-0.20260729020411-a09d4872356b |
1.0.1-0.20260729020411-a09d4872356b |
Original description The description as published by the source.
pgEdge RAG Server is an API server for retrieval-augmented generation over PostgreSQL content using pgvector. Prior to 2.0.0, the unauthenticated query endpoint uses FetchDocuments in internal/database/search.go to read the entire filtered corpus without a LIMIT and rebuild an in-memory BM25 index on every request. Because HybridEnabled is set by default in internal/config/loader.go and the endpoint has no rate limit, inexpensive remote queries can impose database and CPU work proportional to corpus size and exhaust service resources. This issue is fixed in version 2.0.0.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com