Skip to content

Conversation

@franbuehler
Copy link
Contributor

@franbuehler franbuehler commented Jan 1, 2025

This PR removes the following function names to resolve false positives at PL1 rule 942151:

  • Matched Data: elt ( found
  • Matched Data: Left ( found
  • Matched Data: quarter ( found
  • Matched Data: space ( found
  • Matched Data: likelihood ( found
  • Matched Data: lower ( found
  • Matched Data: convert ( found
  • Matched Data: position ( found
  • Matched Data: degrees ( found
  • Matched Data: unlikely ( found
  • Matched Data: Left, ( found

Fixes #3929

Test 5 will fail, because I removed likelihood from the sql function names. Should I just remove this test?

@github-actions
Copy link
Contributor

github-actions bot commented Jan 1, 2025

📊 Quantitative test results for language: eng, year: 2023, size: 10K, paranoia level: 1:
🚀 Quantitative testing did not detect new false positives

@fzipi
Copy link
Member

fzipi commented Jan 2, 2025

Test 5 will fail, because I removed likelihood from the sql function names. Should I just remove this test?

Yes, or change it for a different, supported word?

@franbuehler franbuehler requested a review from theseion January 10, 2025 12:22
@franbuehler franbuehler added this pull request to the merge queue Jan 10, 2025
Merged via the queue into coreruleset:main with commit b70bf85 Jan 10, 2025
6 checks passed
@franbuehler franbuehler deleted the fix-942151 branch January 10, 2025 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

False positives with 942151 PL1 SQL Injection Attack: SQL function name detected

3 participants