Refactoring cve verify.