pREST _groupby function-expression SQL injection (incomplete fix of CVE-2025-58450)
影響
| パッケージ | 影響する版 | 修正版 |
|---|---|---|
| go:github.com/prest/prest | <= 1.5.5 | 未提供 |
| go:github.com/prest/prest/v2 | <= 2.3.0 | 2.4.0 |
What the fix did and the gap ---------------------------- The v2.3.0 fix (commit e88dabb) routed the _select field through a strict new gate, sanitizeSelectField (postgres.go:947/1003/2097). The sibling _groupby path was left on the far weaker isSafeSQLExpression. adapters/postgres/postgres.go, GroupByClause (line 1946): a _groupby field that contains balanced parens takes the raw-SQL-expression branch (around lines 1999-2006), gated only by isSafeSQLExpression (line 2001, defined at 2043). Tha…
重大な脆弱性・障害の速報を X で受け取る悪用・大規模な漏洩・障害を、対処法と一緒に。
@vulnpulse_app をフォロー2026/11/20 23:41、GitHub Advisory Databaseが「pREST _groupby function-expression SQL injection (incomplete fix of CVE-2025-58450)」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「重要」(high) です。関連する技術: Go、GitHub、PostgreSQL。CVE: CVE-2026-104129、CVE-2025-58450。