Medium severity · published Jan 9, 2025
CVE-2023-28120
There is a vulnerability in ActiveSupport if the new bytesplice method is called on a SafeBuffer with untrusted user input
5.3
CVSS
0.9%
EPSS
No
On KEV
Description
There is a vulnerability in ActiveSupport if the new bytesplice method is called on a SafeBuffer with untrusted user input.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.9% · higher than 61% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AC
ActiveSupport · Rails
7.0.4.3 before 7.0.4.3; 6.1.7.3 before 6.1.7.3 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-28120
CVE.org
https://www.cve.org/CVERecord?id=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
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/
security.netapp.com
https://security.netapp.com/advisory/ntap-20240202-0006/
www.debian.org
https://www.debian.org/security/2023/dsa-5389
More from ActiveSupport
7.5
CVE-2026-33176
Rails Active Support has a possible DoS vulnerability in its number helpers
6.1
CVE-2026-33170
Rails Active Support has a possible XSS vulnerability in SafeBuffer#%
5.5
CVE-2023-38037
ActiveSupport::EncryptedFile writes contents that will be encrypted to a temporary file
5.3
CVE-2026-33169
Rails Active Support has a possible ReDoS vulnerability in number_to_delimited
