lean-0025: Missing kernel check for free variables in `opaque` declarations
Just as for definitions and theorems, an `opaque` declaration's value must not contain fvars. This check was missing in the kernel, letting a malicious metaprogram prove False. Comparator would have caught this (its export format cannot express fvars), as would nanoda. v4.32.0 is vulnerable; v4.32.1 and v4.33.0+ have the fix.
| Status | fixed |
|---|---|
| Fixed in | v4.32.1 |
| Subsystem | kernel |
| Guarantee broken | |
| Mechanism | |
| Symptom | proves-False |
| Severity | unsoundness |
| Fools | |
| Discovery | |
| Features | |
| References |