SQL injection vulnerability in the 'where' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute arbitrary SQL commands via the 'id' parameter
Published Dec 29, 2017
8.1
HIGHCVSS 3.1
EPSS 2.27%
Description
SQL injection vulnerability in the 'where' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute arbitrary SQL commands via the 'id' parameter. NOTE: The vendor disputes this issue because the documentation states that this method is not intended for use with untrusted input
Affected products
No data.
- ≤ 5.1.4
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed Jun 26, 2024 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (22 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.27% (0.02272) | 82.45th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.26% (0.02264) | 80.66th | v5 (v2026.06.15) |
| Mar 30, 2025 | 1.87% (0.01873) | 81.49th | v4 (v2025.03.14) |
| Mar 29, 2025 | 14.58% (0.14583) | 90.80th | v4 (v2025.03.14) |
| Mar 28, 2025 | 1.87% (0.01873) | 81.50th | v4 (v2025.03.14) |
| Mar 27, 2025 | 14.58% (0.14583) | 93.53th | v4 (v2025.03.14) |
| Mar 20, 2025 | 1.87% (0.01873) | 81.58th | v4 (v2025.03.14) |
| Mar 19, 2025 | 14.58% (0.14583) | 93.65th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.87% (0.01873) | 81.90th | v4 (v2025.03.14) |
| Jul 19, 2024 | 0.14% (0.00138) | 49.86th | v3 (v2023.03.01) |
| Jan 20, 2024 | 0.14% (0.00138) | 49.26th | v3 (v2023.03.01) |
| Aug 18, 2023 | 0.16% (0.00161) | 52.11th | v3 (v2023.03.01) |
| Jul 8, 2023 | 0.15% (0.00151) | 50.38th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.16% (0.00161) | 50.89th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.05% (0.01055) | 52.13th | v2 (v2022.01.01) |
| Sep 17, 2022 | 1.05% (0.01055) | 50.47th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.05% (0.01055) | 48.43th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.05% (0.01055) | 27.52th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.52% (0.00523) | 12.55th | v1 |
| Jan 6, 2022 | 0.52% (0.00523) | 12.10th | v1 |
| Sep 1, 2021 | 0.52% (0.00523) | 32.27th | v1 |
| Apr 14, 2021 | 0.52% (0.00523) | 0.00th | v1 |
References (1)
- https://kay-malwarebenchmark.github.io/blog/ruby-on-rails-arbitrary-sql-injection/ x_refsource_MISCExploitThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://kay-malwarebenchmark.github.io/blog/ruby-on-rails-arbitrary-sql-injection/ | x_refsource_MISCExploitThird Party Advisory |
Change history (0)
No recorded changes yet.