{"schemaVersion":3,"id":"CVE-2023-28120","aliases":["UBUNTU-CVE-2023-28120","DEBIAN-CVE-2023-28120","openSUSE-SU-2024:12804-1","GHSA-pj73-v5mw-pm9j"],"status":"published","duplicateOf":null,"title":null,"description":"There is a vulnerability in ActiveSupport if the new bytesplice method is called on a SafeBuffer with untrusted user input.","dates":{"published":"2025-01-09T00:33:47.658Z","modified":"2025-01-09T21:46:38.220Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Rubygems","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00948,"percentile":0.60573,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.025000000000000022,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00923},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00948,"percentile":0.60573}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00923,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00948,"percentile":0.60573}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"debian","product":"rails","name":"rails","label":"rails","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/rails","purlType":"deb","versions":[{"text":"< 2:6.1.7.3+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:6.1.7.3+dfsg-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"rails","name":"rails","label":"rails","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/rails","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"RubyGems","product":"activesupport","name":"activesupport","label":"activesupport","ecosystem":"RubyGems","cpePart":null,"purl":"pkg:gem/activesupport","purlType":"gem","versions":[{"text":"≥ 7.0.0, < 7.0.4.3","noFixRecorded":false,"fixedIn":null},{"text":"< 6.1.7.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.0.0, < 7.0.4.3 | < 6.1.7.3","eol":null,"hubHref":null},{"vendor":"rails","product":"activesupport","name":"ActiveSupport","label":"activesupport","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.0.4.3, < 7.0.4.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.1.7.3, < 6.1.7.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.0.4.3, < 7.0.4.3 | ≥ 6.1.7.3, < 6.1.7.3","eol":null,"hubHref":"/vendor/rails/activesupport"},{"vendor":"opensuse","product":"rubygem-activesupport-7.0&distro=openSUSE Tumbleweed","name":"rubygem-activesupport-7.0","label":"rubygem-activesupport-7.0&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/rubygem-activesupport-7.0&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 7.0.4.3-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.0.4.3-1.1","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://discuss.rubyonrails.org/t/cve-2023-28120-possible-xss-security-vulnerability-in-safebuffer-bytesplice/82469","label":"discuss.rubyonrails.org/t/…","hostname":"discuss.rubyonrails.org","tags":["REPORT","WEB"]},{"url":"https://github.com/rails/rails/commit/3cf23c3f891e2e81c977ea4ab83b62bc2a444b70","label":"github.com/rails/rails/commit/3cf23c3f891e2e81c977ea4ab83b62bc2a444b70","hostname":"github.com","tags":["REPORT","WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UPV6PVCX4VDJHLFFT42EXBBSGAWZICOW/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZE5W4MH6IE4DV7GELDK6ISCSTFLHKSYO/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20240202-0006/","label":"security.netapp.com/advisory/ntap-20240202-0006/","hostname":"security.netapp.com","tags":[]},{"url":"https://www.debian.org/security/2023/dsa-5389","label":"www.debian.org/security/2023/dsa-5389","hostname":"www.debian.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2023-28120","label":"ubuntu.com/security/CVE-2023-28120","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-28120","label":"www.cve.org/CVERecord?id=CVE-2023-28120","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-28120","label":"security-tracker.debian.org/tracker/CVE-2023-28120","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2023-28120","label":"www.suse.com/security/cve/CVE-2023-28120","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28120","label":"nvd.nist.gov/vuln/detail/CVE-2023-28120","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2023-28120.yml","label":"github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2023-28120.yml","hostname":"github.com","tags":["WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UPV6PVCX4VDJHLFFT42EXBBSGAWZICOW","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZE5W4MH6IE4DV7GELDK6ISCSTFLHKSYO","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://security.netapp.com/advisory/ntap-20240202-0006","label":"security.netapp.com/advisory/ntap-20240202-0006","hostname":"security.netapp.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["DSA-5389-1","OPENSUSE-SU-2024:12886-1","OPENSUSE-SU-2024:14071-1","OPENSUSE-SU-2025:15114-1","SUSE-SU-2023:2280-1","SUSE-SU-2023:2294-1","SUSE-SU-2023:2295-1","SUSE-SU-2023:2304-1","SUSE-SU-2023:2781-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:12886-1","OPENSUSE-SU-2024:14071-1","OPENSUSE-SU-2025:15114-1","SUSE-SU-2023:2280-1","SUSE-SU-2023:2294-1","SUSE-SU-2023:2295-1","SUSE-SU-2023:2304-1","SUSE-SU-2023:2781-1"]},"timeline":[{"kind":"published","date":"2025-01-09T00:33:47.658Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-01-09T21:46:38.220Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":21,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T17:24:05.970Z","stale":false,"partial":false}}