CVE-2023-28120
rubygem-activesupport: Possible XSS in SafeBuffer#bytesplice
Overview
Description
There is a vulnerability in ActiveSupport if the new bytesplice method is called on a SafeBuffer with untrusted user input.
Source: OX vulnerability database
Severity
5.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness: CWE-79
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | activesupport | >=7.0.0, <7.0.4.3<6.1.7.3 | 7.0.4.36.1.7.3~> 6.1.7, >= 6.1.7.3 |
Open a package to see all its vulnerabilities.
Operating systems · 16 fixes
Red Hat 1 release · 1 package
eol 1
rubygem-activesupport
| Release | Package | Fixed in |
|---|---|---|
| 7 | rubygem-activesupport +1 | eol |
SUSE Linux Enterprise 2 releases · 1 package
fixed 2
rmt-server
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | rmt-server +2 | 2.13-150400.3.12.1 | SUSE-SU-2023:2295-1 |
| 15.5 | rmt-server +2 | 2.13-150500.3.3.1 | SUSE-SU-2023:2781-1 |
alpine 4 releases · 1 package
fixed 4
ruby-activesupport
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | ruby-activesupport | 7.0.4.3-r0 |
| 3.23 | ruby-activesupport | 7.0.4.3-r0 |
| 3.24 | ruby-activesupport | 7.0.4.3-r0 |
| edge | ruby-activesupport | 7.0.4.3-r0 |
debian 4 releases · 1 package
fixed 4
rails
| Release | Package | Fixed in |
|---|---|---|
| 11 | rails | 2:6.0.3.7+dfsg-2+deb11u2 |
| 12 | rails | 2:6.1.7.3+dfsg-1 |
| 13 | rails | 2:6.1.7.3+dfsg-1 |
| 14 | rails | 2:6.1.7.3+dfsg-1 |
echo 1 release · 1 package
fixed 1
rails
| Release | Package | Fixed in |
|---|---|---|
| rails | 2:6.1.7.3+dfsg-1 |
openSUSE 1 release · 4 packages
fixed 4
rmt-server
ruby3-1-rubygem-activesupport-7-0
ruby3-3-rubygem-activesupport-7-0
ruby3-4-rubygem-activesupport-7-0
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | rmt-server +2 | 2.12-1.1 | openSUSE-SU-2024:12886-1 |
| Tumbleweed | ruby3-1-rubygem-activesupport-7-0 +1 | 7.0.4.3-1.1 | openSUSE-SU-2024:12804-1 |
| Tumbleweed | ruby3-3-rubygem-activesupport-7-0 | 7.0.8.4-1.1 | openSUSE-SU-2024:14071-1 |
| Tumbleweed | ruby3-4-rubygem-activesupport-7-0 | 7.0.8.6-1.3 | openSUSE-SU-2025:15114-1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-28120
- discuss.rubyonrails.org https://discuss.rubyonrails.org/t/cve-2023-28120-possible-xss-security-vulnerability-in-safebuffer-bytesplice/82469
- github.com https://github.com/rails/rails/commit/3cf23c3f891e2e81c977ea4ab83b62bc2a444b70
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2023-28120.yml
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UPV6PVCX4VDJHLFFT42EXBBSGAWZICOW
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UPV6PVCX4VDJHLFFT42EXBBSGAWZICOW/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZE5W4MH6IE4DV7GELDK6ISCSTFLHKSYO
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZE5W4MH6IE4DV7GELDK6ISCSTFLHKSYO/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-28120
- security.netapp.com https://security.netapp.com/advisory/ntap-20240202-0006
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.