Skip to content
OpenAdvisories
Medium · 5.3 CVE-2023-28120 EUVD-2023-1069GHSA-pj73-v5mw-pm9j

Possible XSS Security Vulnerability in SafeBuffer#bytesplice

Published Jan 9, 2025 · Updated Jan 9, 2025 · Assigned by hackerone

Description

There is a vulnerability in ActiveSupport if the new bytesplice method is called on a SafeBuffer with untrusted user input.

Affected products

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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

EcosystemPackageAffectedFixedRecord
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

References