Bug 1209505 (CVE-2023-28120) - VUL-0: CVE-2023-28120: TRACKERBUG: rubygem-activesupport: Possible XSS in SafeBuffer#bytesplice
Summary: VUL-0: CVE-2023-28120: TRACKERBUG: rubygem-activesupport: Possible XSS in Saf...
Status: RESOLVED FIXED
Alias: CVE-2023-28120
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/360598/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-28120:4.2:(AV:...
Keywords:
Depends on: 1209506 1209507
Blocks:
  Show dependency treegraph
 
Reported: 2023-03-20 11:36 UTC by Cathy Hu
Modified: 2023-09-25 12:02 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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