Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2020-37268

MEDIUM · 6.3 CVSS Gepubliceerd: CWE-778

Beschrijving NL

Aannames afdrukken rapporteert niet dat er een definitie is geproduceerd terwijl universumcontrole was uitgeschakeld wanneer die definitie de beller bereikt via Parameter Inline in een moduletype. Het toepassen van een functor inline de body van de parameter, en de inline laat het record vallen dat de term is gebouwd onder Unset Universe Checking, dus de resulterende constante draagt geen spoor van de onveilige bewerking. Een module-implementatie kan daarom False bewijzen met behulp van een universum-inconsistentie, deze blootleggen via een inline parameter en Print Assumptions het afhankelijke bewijs laten rapporteren als gesloten onder de wereldwijde context. Omdat Print Assumptions de in-process audit is die wordt gebruikt om te bevestigen dat een ontwikkeling op geen onverwachte veronderstellingen berust, passeert een op deze manier gebouwde afhankelijkheid die audit terwijl willekeurige proposities worden bewezen. De standalone checker coqchk wijst het resulterende gecompileerde bestand af. Het project registreert dit in dev/doc/critical-bugs.md onder niet-gefixeerde bugs en beoordeelt het risico als matig wanneer coqchk niet wordt gebruikt.

Origineel (Engels) tonen

Print Assumptions does not report that a definition was produced while universe checking was disabled when that definition reaches the caller through Parameter Inline in a module type. Applying a functor inlines the body of the parameter, and the inlining drops the record that the term was built under Unset Universe Checking, so the resulting constant carries no trace of the unsafe operation. A module implementation can therefore prove False using a universe inconsistency, expose it through an inlined parameter, and have Print Assumptions report the dependent proof as closed under the global context. Because Print Assumptions is the in-process audit used to confirm that a development rests on no unexpected assumptions, a dependency built this way passes that audit while proving arbitrary propositions. The standalone checker coqchk does reject the resulting compiled file. The project records this in dev/doc/critical-bugs.md under non-fixed bugs and rates the risk as moderate when coqchk is not used.

References