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 11c64b8 commit db08295Copy full SHA for db08295
modules/exploits/multi/http/flowise_custommcp_rce.rb
@@ -83,9 +83,7 @@ def check
83
84
# Vulnerability introduced in 2.2.7-patch.1 (March 14, 2025) and fixed in 3.0.1 (May 29, 2025)
85
# Note: Rex::Version parses "2.2.7-patch.1" as "2.2.7.pre.patch.1", so we check >= 2.2.7
86
- if (version >= Rex::Version.new('2.2.7') || version.to_s.include?('2.2.7')) && version < Rex::Version.new('3.0.1')
87
- return CheckCode::Appears('(affected: >= 2.2.7-patch.1 and < 3.0.1)')
88
- end
+ return CheckCode::Appears('(affected: >= 2.2.7-patch.1 and < 3.0.1)') if (version >= Rex::Version.new('2.2.7') || version.to_s.include?('2.2.7')) && version < Rex::Version.new('3.0.1')
89
90
CheckCode::Safe("Version #{version} is not vulnerable")
91
end
0 commit comments