Bug 1209505 (CVE-2023-28120)

Summary: VUL-0: CVE-2023-28120: TRACKERBUG: rubygem-activesupport: Possible XSS in SafeBuffer#bytesplice
Product: [Novell Products] SUSE Security Incidents Reporter: Cathy Hu <cathy.hu>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: security-team
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/360598/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-28120:4.2:(AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on: 1209506, 1209507    
Bug Blocks:    

Description Cathy Hu 2023-03-20 11:36:36 UTC
CVE-2023-28120

There is a vulnerability in ActiveSupport if the new bytesplice method is called on a SafeBuffer with untrusted user input. ActiveSupport uses the SafeBuffer string subclass to tag strings as html_safe after they have been sanitized. When these strings are mutated, the tag should be removed to mark them as no longer being html_safe.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-28120
https://bugzilla.redhat.com/show_bug.cgi?id=2179637
Comment 1 Cathy Hu 2023-09-25 12:02:17 UTC
done, closing