https://github.com/rails/rails
At a glance
- Source
- NVD
- EPSS
- EPSS 1.26 % · percentile 70 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- hackerone
- NVD status
- Modified
Description
A denial of service vulnerability present in ActiveRecord's PostgreSQL adapter <7.0.4.1 and <6.1.7.1. When a value outside the range for a 64bit signed integer is provided to the PostgreSQL connection adapter, it will treat the target column type as numeric. Comparing integer values against numeric values can result in a slow sequential scan resulting in potential Denial of Service.
Weaknesses (CWE)
- CWE-400 — Uncontrolled Resource Consumption
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | CISA-ADP |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) |
Advisories
- GHSA-579w-22j4-4749 — Denial of Service Vulnerability in ActiveRecord's PostgreSQL adapter
European references
- ENISA EUVD · EUVD-2023-0336
- GCVE · GCVE-0-2022-44566
Affected configurations (NVD CPE)
cpe:2.3:a:activerecord_project:activerecord:*:*:*:*:*:ruby:*:*< 6.1.7.1cpe:2.3:a:activerecord_project:activerecord:*:*:*:*:*:ruby:*:*≥ 7.0.0 < 7.0.4.1
Affected products
| Product | Versions |
|---|---|
| https://github.com/rails/rails | affected 7.0.4.1, 6.1.7.1 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |