Rocq/Coq 模块系统存在类型安全漏洞,可构造 False 证明
CVE-2020-37268: Rocq/Coq Print Assumptions omits unsafe universe checking inlined through Parameter Inline (0 = 1 demonstrated) — unfixed since 2020
涉及核心定理证明器的底层类型安全漏洞,可直接破坏证明可信度;建议相关用户立即审查代码并关注官方补丁。
Posted by Jonathan Brossard on Oct 25
由 Jonathan Brossard 发布于 10 月 25 日
1. Summary
1. 摘要
==========
A soundness-audit bypass in the Rocq (formerly Coq) module system
Rocq(前身为 Coq)模块系统中存在一个绕过健全性审计的漏洞
allows construction of a proof of False that Print Assumptions reports
允许构造一个 False 的证明,Print Assumptions 报告该证明
as closed under the global context — no axioms, no unsafe flags visible.
在全局上下文下是封闭的——没有公理,也没有可见的不安全标志。
When a module type declares Parameter Inline and functor application
当模块类型声明 Parameter Inline 且函子应用
inlines the parameter's body, the metadata recording that the original
内联参数的主体时,记录原始
definition was produced under Unset Universe Checking is dropped....
定义是在 Unset Universe Checking 设置下生成的元数据被丢弃了……
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力