Skip to content

Commit ee58313

Browse files
committed
Update check function
1 parent c66540e commit ee58313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/linux/http/ray_cpu_profile_cmd_injection_cve_2023_6019.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def check
8585

8686
return Exploit::CheckCode::Unknown unless ray_version
8787

88-
return Exploit::CheckCode::Safe unless Rex::Version.new(ray_version) <= Rex::Version.new('2.6.3')
88+
return Exploit::CheckCode::Safe unless Rex::Version.new('2.2.0') <= Rex::Version.new(ray_version) && Rex::Version.new(ray_version) <= Rex::Version.new('2.6.3')
8989

9090
@nodes = get_nodes
9191
return Exploit::CheckCode::Vulnerable unless @nodes.nil?

0 commit comments

Comments
 (0)