← 취약점·업데이트

높음취약점 권고GoGitHubPostgreSQL

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.02.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…

GitHub Advisory Database에서 읽기

2026. 11. 20. 오후 11: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.