Description
There is a vulnerability in ActiveSupport if the new bytesplice method is called on a SafeBuffer with untrusted user input.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Rails | ActiveSupport | 7.0.4.3 – < 7.0.4.3, 6.1.7.3 – < 6.1.7.3 | 7.0.4.3 |
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+deb11u2 | DSA-5389-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 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | rmt-server | 2.13-150500.3.3.1 | SUSE-SU-2023:2781-1 |
| SLES 15 SP4 | rmt-server | 2.13-150400.3.12.1 | SUSE-SU-2023:2295-1 |
| SLES 15 SP3 | rmt-server | 2.13-150300.3.24.1 | SUSE-SU-2023:2280-1 |
| SLES 15 SP2 | rmt-server | 2.13-150200.3.32.1 | SUSE-SU-2023:2294-1 |
| SLES 15 SP1 | rmt-server | 2.13-150100.3.45.1 | SUSE-SU-2023:2304-1 |
Show 11 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP3 | rmt-server | 2.13-150300.3.24.1 | SUSE-SU-2023:2280-1 |
| SLES for SAP 15 SP2 | rmt-server | 2.13-150200.3.32.1 | SUSE-SU-2023:2294-1 |
| SLES for SAP 15 SP1 | rmt-server | 2.13-150100.3.45.1 | SUSE-SU-2023:2304-1 |
| SLE Real Time 15 SP3 | rmt-server | 2.13-150300.3.24.1 | SUSE-SU-2023:2280-1 |
| SLE HPC 15 SP3 | rmt-server | 2.13-150300.3.24.1 | SUSE-SU-2023:2280-1 |
| SLE HPC 15 SP2 | rmt-server | 2.13-150200.3.32.1 | SUSE-SU-2023:2294-1 |
| SLE HPC 15 SP1 | rmt-server | 2.13-150100.3.45.1 | SUSE-SU-2023:2304-1 |
| SUSE Manager Server 4.2 | rmt-server | 2.13-150300.3.24.1 | SUSE-SU-2023:2280-1 |
| SUSE Manager Proxy 4.2 | rmt-server | 2.13-150300.3.24.1 | SUSE-SU-2023:2280-1 |
| SUSE Enterprise Storage 7.1 | rmt-server | 2.13-150300.3.24.1 | SUSE-SU-2023:2280-1 |
| SUSE Enterprise Storage 7 | rmt-server | 2.13-150200.3.32.1 | SUSE-SU-2023:2294-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | rmt-server | 2.12-1.1 | openSUSE-SU-2024:12886-1 |
| openSUSE Tumbleweed | rubygem-activesupport-7.0 | 7.0.4.3-1.1 | openSUSE-SU-2025:15114-1, openSUSE-SU-2024:14071-1, openSUSE-SU-2024:12804-1 |
| openSUSE Leap 15.5 | rmt-server | 2.13-150500.3.3.1 | SUSE-SU-2023:2781-1 |
| openSUSE Leap 15.4 | rmt-server | 2.13-150400.3.12.1 | SUSE-SU-2023:2295-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | ruby-activesupport | 7.0.4.3-r0 | — |
| Alpine v3.23 | ruby-activesupport | 7.0.4.3-r0 | — |
| Alpine v3.22 | ruby-activesupport | 7.0.4.3-r0 | — |
| Alpine v3.21 | ruby-activesupport | 7.0.4.3-r0 | — |
| Alpine v3.20 | ruby-activesupport | 7.0.4.3-r0 | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | ruby-activesupport | 7.0.4.3-r0 | — |
| Alpine v3.18 | ruby-activesupport | 7.0.4.3-r0 | — |
| Alpine v3.17 | ruby-activesupport | 7.0.4.3-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | activesupport | >= 7.0.0, < 7.0.4.3 | 7.0.4.3 | GHSA-pj73-v5mw-pm9j |
| RubyGems | activesupport | < 6.1.7.3 | 6.1.7.3 | GHSA-pj73-v5mw-pm9j |
Advisories 11
- DSA-5389-1 rails - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2023:2781-1 Security update for rmt-server SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14071-1 ruby3.3-rubygem-activesupport-7.0-7.0.8.4-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2304-1 Security update for rmt-server SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2280-1 Security update for rmt-server SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2295-1 Security update for rmt-server SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2025:15114-1 ruby3.4-rubygem-activesupport-7.0-7.0.8.6-1.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12886-1 rmt-server-2.12-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2294-1 Security update for rmt-server SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-0632 Ruby on Rails: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 16, 2025
- openSUSE-SU-2024:12804-1 ruby3.1-rubygem-activesupport-7.0-7.0.4.3-1.1 on GA media SUSE / openSUSE Security Updates · May 7, 2025
References
- https://discuss.rubyonrails.org/t/cve-2023-28120-possible-xss-security-vulnerability-in-safebuffer-bytesplice/82469
- https://github.com/rails/rails/commit/3cf23c3f891e2e81c977ea4ab83b62bc2a444b70
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UPV6PVCX4VDJHLFFT42EXBBSGAWZICOW/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZE5W4MH6IE4DV7GELDK6ISCSTFLHKSYO/
- https://security.netapp.com/advisory/ntap-20240202-0006/
- https://www.debian.org/security/2023/dsa-5389