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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | https://github.com/rails/rails | 7.0.4.1, 6.1.7.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rails | 2:6.1.7.3+dfsg-1 | — |
| Debian 13 | rails | 2:6.1.7.3+dfsg-1 | — |
| Debian 12 | rails | 2:6.1.7.3+dfsg-1 | — |
| Debian 11 | rails | 2:6.0.3.7+dfsg-2+deb11u3 | DLA-4383-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | rails | No fix yet | — |
| Ubuntu 26.04 LTS | rails | No fix yet | — |
| Ubuntu 25.10 | rails | No fix yet | — |
| Ubuntu 24.04 LTS | rails | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | rails | No fix yet | — |
| Ubuntu Pro 20.04 LTS | rails | No fix yet | — |
| Ubuntu Pro 18.04 LTS | rails | No fix yet | — |
| Ubuntu Pro 16.04 LTS | rails | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Satellite Utils 6 | foreman +1 | 3.7.0.9-1.el8sat | RHSA-2023:6818 |
| Red Hat Satellite Capsule 6 | foreman +1 | 3.7.0.9-1.el8sat | RHSA-2023:6818 |
| Red Hat Satellite Capsule 6 | puppet-agent | 7.26.0-3.el8sat | RHSA-2023:6818 |
| Red Hat Satellite Capsule 6 | puppetserver | 7.11.0-1.el8sat | RHSA-2023:6818 |
| Red Hat Satellite Capsule 6 | python-django +1 | 3.2.21-1.el8pc | RHSA-2023:6818 |
| Red Hat Satellite Capsule 6 | python-future +1 | 0.18.3-1.el8pc | RHSA-2023:6818 |
| Red Hat Satellite Capsule 6 | python-gitpython +1 | 3.1.32-1.el8pc | RHSA-2023:6818 |
| Red Hat Satellite Capsule 6 | python-pulp-ansible +1 | 1:0.16.0-1.el8pc | RHSA-2023:6818 |
| Red Hat Satellite Capsule 6 | python-requests +1 | 2.31.0-1.el8pc | RHSA-2023:6818 |
| Red Hat Satellite Capsule 6 | python-sqlparse +1 | 0.4.4-1.el8pc | RHSA-2023:6818 |
| Red Hat Satellite Capsule 6 | rubygem-rack | 2.2.7-1.el8sat | RHSA-2023:6818 |
| Red Hat Satellite 6 | foreman +13 | 3.7.0.9-1.el8sat | RHSA-2023:6818 |
| Red Hat Satellite 6 | puppet-agent | 7.26.0-3.el8sat | RHSA-2023:6818 |
| Red Hat Satellite 6 | puppetserver | 7.11.0-1.el8sat | RHSA-2023:6818 |
| Red Hat Satellite 6 | python-django +1 | 3.2.21-1.el8pc | RHSA-2023:6818 |
| Red Hat Satellite 6 | python-future +1 | 0.18.3-1.el8pc | RHSA-2023:6818 |
| Red Hat Satellite 6 | python-gitpython +1 | 3.1.32-1.el8pc | RHSA-2023:6818 |
| Red Hat Satellite 6 | python-pulp-ansible +1 | 1:0.16.0-1.el8pc | RHSA-2023:6818 |
| Red Hat Satellite 6 | python-requests +1 | 2.31.0-1.el8pc | RHSA-2023:6818 |
| Red Hat Satellite 6 | python-sqlparse +1 | 0.4.4-1.el8pc | RHSA-2023:6818 |
| Red Hat Satellite 6 | rubygem-actionpack +2 | 6.1.7.3-1.el8sat | RHSA-2023:6818 |
| Red Hat Satellite 6 | rubygem-git | 1.18.0-1.el8sat | RHSA-2023:6818 |
| Red Hat Satellite 6 | rubygem-globalid | 1.1.0-1.el8sat | RHSA-2023:6818 |
| Red Hat Satellite 6 | rubygem-kubeclient | 4.10.1-1.el8sat | RHSA-2023:6818 |
| Red Hat Satellite 6 | rubygem-rack | 2.2.7-1.el8sat | RHSA-2023:6818 |
| Red Hat Satellite 6 | yggdrasil-worker-forwarder | 0.0.3-1.el8sat | RHSA-2023:6818 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | rubygem-activerecord-5_1 | 5.1.4-150000.5.6.1 | SUSE-SU-2023:0492-1 |
| SLES 15 SP3 | rubygem-activerecord-5_1 | 5.1.4-150000.5.6.1 | SUSE-SU-2023:0492-1 |
| SLES 15 SP2 | rubygem-activerecord-5_1 | 5.1.4-150000.5.6.1 | SUSE-SU-2023:0492-1 |
| SLES 15 SP1 | rubygem-activerecord-5_1 | 5.1.4-150000.5.6.1 | SUSE-SU-2023:0492-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE OpenStack Cloud Crowbar 9 | rubygem-activerecord-4_2 | 4.2.9-6.9.1 | SUSE-SU-2023:0587-1, SUSE-SU-2023:0518-1 |
| SUSE OpenStack Cloud Crowbar 8 | rubygem-activerecord-4_2 | 4.2.9-6.9.1 | SUSE-SU-2023:0587-1, SUSE-SU-2023:0518-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | rubygem-activerecord-7.0 | 7.0.4.1-1.1 | openSUSE-SU-2025:15112-1, openSUSE-SU-2024:14069-1, openSUSE-SU-2024:12766-1 |
| openSUSE Leap 15.4 | rubygem-activerecord-5_1 | 5.1.4-150000.5.6.1 | SUSE-SU-2023:0492-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | activerecord | < 6.1.7.1 | 6.1.7.1 | GHSA-579w-22j4-4749 |
| RubyGems | activerecord | >= 7.0.0, < 7.0.4.1 | 7.0.4.1 | GHSA-579w-22j4-4749 |
Advisories 10
- RHSA-2023:6818 Red Hat Security Advisory: Satellite 6.14 security and bug fix update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- SUSE-SU-2023:0587-1 Security update for rubygem-activerecord-4_2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0492-1 Security update for rubygem-activerecord-5_1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0518-1 Security update for rubygem-activerecord-4_2 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14069-1 ruby3.3-rubygem-activerecord-7.0-7.0.8.4-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2025:15112-1 ruby3.4-rubygem-activerecord-7.0-7.0.8.6-1.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12766-1 ruby3.1-rubygem-activerecord-7.0-7.0.4.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-0114 Ruby on Rails: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 25, 2025
- DLA-4383-1 rails - security update Debian Security (DSA / DLA) · Nov 25, 2025
- WID-SEC-2023-2101 genua genucenter: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 20, 2023