22-year-old PostgreSQL type-confusion flaw exploited for RCE
What happened
A November 13 report describes how security researchers turned a type-confusion zero-day in PostgreSQL core, present for 22 years, into a highly reliable memory-corruption exploit chain that achieves remote code execution. The flaw comes from writing a value into a composite-type field, changing the field type, then reading the value back. The researchers found the core flaw while working with the pg_clickhouse extension; the report says the extension flaw was fixed on June 23 but does not say whether the PostgreSQL core flaw has been fixed.
Written by AI from the coverage · updated 4 days ago
Coverage
Follow the reports to see the story from different sides.
- Hacker News front pageTurning a 22-year-old Postgres type-confusion primitive into RCE
安全研究者将 PostgreSQL 核心中一个存在 22 年的类型混淆零日漏洞转化为高可靠性的内存破坏利用链,最终实现远程代码执行。该漏洞源于在复合类型字段中写入值后修改字段类型再读回,研究者在利用 pg_clickhouse 扩展时顺藤摸瓜发现,相关扩展漏洞已于 6 月 23 日修复。
Heat over time
Heat now 3·Comparable peak 10(Nov 13 04:00)·Comparable change over 24 hours -51%
The trend only compares accounts observed without gaps, so its range may be smaller than the current heat. Hover or tap the chart for each hour; the left and right arrow keys step through it.