{"schemaVersion":3,"id":"CVE-2024-27282","aliases":["ALPINE-CVE-2024-27282","UBUNTU-CVE-2024-27282","DEBIAN-CVE-2024-27282"],"status":"published","duplicateOf":null,"title":null,"description":"An issue was discovered in Ruby 3.x through 3.3.0. If attacker-supplied data is provided to the Ruby regex compiler, it is possible to extract arbitrary heap data relative to the start of the text, including pointers and sensitive strings. The fixed versions are 3.0.7, 3.1.5, 3.2.4, and 3.3.1.","dates":{"published":"2024-05-08T20:40:42.040Z","modified":"2025-11-04T17:17:53.040Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.6,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.6,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":6.6,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L","exploitability":4.6,"impact":7.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.6,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L","exploitability":4.6,"impact":7.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.6,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L","exploitability":4.6,"impact":7.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.6,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00629,"percentile":0.49161,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00629},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00629,"percentile":0.49161}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00629,"percentile":0.49161}]},"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-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"}],"affected":[{"vendor":"alpine","product":"ruby","name":"ruby","label":"ruby","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/ruby","purlType":"apk","versions":[{"text":"< 3.1.5-r0","noFixRecorded":false,"fixedIn":null},{"text":"< 3.2.4-r0","noFixRecorded":false,"fixedIn":null},{"text":"< 3.3.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.1.5-r0 | < 3.2.4-r0 | < 3.3.1-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"ruby3.1","name":"ruby3.1","label":"ruby3.1","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/ruby3.1","purlType":"deb","versions":[{"text":"< 3.1.2-7+deb12u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.1.2-7+deb12u1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"jruby","name":"jruby","label":"jruby","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/jruby","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ruby2.3","name":"ruby2.3","label":"ruby2.3","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ruby2.3","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ruby2.5","name":"ruby2.5","label":"ruby2.5","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ruby2.5","purlType":"deb","versions":[{"text":"< 2.5.1-1ubuntu1.16+esm5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.5.1-1ubuntu1.16+esm5","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ruby2.7","name":"ruby2.7","label":"ruby2.7","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ruby2.7","purlType":"deb","versions":[{"text":"< 2.7.0-5ubuntu1.13","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.7.0-5ubuntu1.13","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ruby3.0","name":"ruby3.0","label":"ruby3.0","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ruby3.0","purlType":"deb","versions":[{"text":"< 3.0.2-7ubuntu2.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.0.2-7ubuntu2.6","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ruby3.2","name":"ruby3.2","label":"ruby3.2","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ruby3.2","purlType":"deb","versions":[{"text":"< 3.2.3-1ubuntu0.24.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.2.3-1ubuntu0.24.04.1","eol":null,"hubHref":null}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://hackerone.com/reports/2122624","label":"hackerone.com/reports/2122624","hostname":"hackerone.com","tags":[]},{"url":"https://www.ruby-lang.org/en/news/2024/04/23/arbitrary-memory-address-read-regexp-cve-2024-27282/","label":"www.ruby-lang.org/en/news/2024/04/23/arbitrary-memory-address-read-regexp-cve-2024-27282/","hostname":"www.ruby-lang.org","tags":["REPORT"]},{"url":"https://security.netapp.com/advisory/ntap-20241011-0007/","label":"security.netapp.com/advisory/ntap-20241011-0007/","hostname":"security.netapp.com","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00000.html","label":"lists.debian.org/debian-lts-announce/2024/09/msg00000.html","hostname":"lists.debian.org","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/27LUWREIFTP3MQAW7QE4PJM4DPAQJWXF/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XYDHPHEZI7OQXTQKTDZHGZNPIJH7ZV5N/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":[]},{"url":"https://security.alpinelinux.org/vuln/CVE-2024-27282","label":"security.alpinelinux.org/vuln/CVE-2024-27282","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-27282","label":"ubuntu.com/security/CVE-2024-27282","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-27282","label":"www.cve.org/CVERecord?id=CVE-2024-27282","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://github.com/ruby/ruby/commit/989a2355808a63fc45367785c82ffd46d18c900a","label":"github.com/ruby/ruby/commit/989a2355808a63fc45367785c82ffd46d18c900a","hostname":"github.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6838-1","label":"ubuntu.com/security/notices/USN-6838-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-7734-1","label":"ubuntu.com/security/notices/USN-7734-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-27282","label":"security-tracker.debian.org/tracker/CVE-2024-27282","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27282","label":"nvd.nist.gov/vuln/detail/CVE-2024-27282","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-3858-1","DSA-5677-1","MGASA-2024-0160","RHSA-2024:3500","RHSA-2024:3546","RHSA-2024:3668","RHSA-2024:3670","RHSA-2024:3671","RHSA-2024:3838","RHSA-2024:4499","RHSA-2026:7305","RHSA-2026:7307","RHSA-2026:8838","USN-6838-1","USN-7734-1"],"duplicates":[],"related":["USN-6838-1","USN-7734-1"]},"timeline":[{"kind":"published","date":"2024-05-08T20:40:42.040Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-04T17:17:53.040Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":27,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T02:29:05.766Z","stale":false,"partial":false}}