We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd97b08 commit 7a921bbCopy full SHA for 7a921bb
modules/exploits/linux/local/cve_2023_0386_overlayfs_priv_esc.rb
@@ -82,7 +82,7 @@ def check
82
83
kernel_version = Rex::Version.new(kernel_release.split('-').first)
84
if kernel_version < Rex::Version.new('5.11') ||
85
- Rex::Version.new('5.15.91') <= kernel_version && kernel_version < Rex::Version.new('5.16') ||
+ kernel_version.btween?(Rex::Version.new('5.15.91'), Rex::Version.new('5.16')) ||
86
Rex::Version.new('6.1.9') <= kernel_version
87
return CheckCode::Safe("Linux kernel version #{kernel_version} is not vulnerable")
88
end
0 commit comments