{"id":"CVE-2009-4124","aliases":["EUVD-2009-4094","GHSA-9mvm-2xp2-9wmw"],"status":"published","title":"Heap-based buffer overflow in the rb_str_justify function in string.c in Ruby 1.9.1 before 1.9.1...","description":"Heap-based buffer overflow in the rb_str_justify function in string.c in Ruby 1.9.1 before 1.9.1-p376 allows context-dependent attackers to execute arbitrary code via unspecified vectors involving (1) String#ljust, (2) String#center, or (3) String#rjust.  NOTE: some of these details are obtained from third party information.","severity":{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.03875,"percentile":0.90272,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-119"],"published":"2009-12-11T16:00:00Z","modified":"2026-06-16T23:13:05Z","products":[{"vendor":"ruby-lang","product":"ruby"}],"references":[{"url":"http://www.osvdb.org/60880","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/54674","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.ruby-lang.org/en/news/2009/12/07/heap-overflow-in-string/","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory"]},{"url":"http://www.vupen.com/english/advisories/2009/3471","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/37278","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://secunia.com/advisories/37660","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2009-4124"},{"url":"http://www.ruby-lang.org/en/news/2009/12/07/heap-overflow-in-string"},{"url":"https://github.com/advisories/GHSA-9mvm-2xp2-9wmw"}],"sources":{"cve":[{"id":"CVE-2009-4124","description":"Heap-based buffer overflow in the rb_str_justify function in string.c in Ruby 1.9.1 before 1.9.1-p376 allows context-dependent attackers to execute arbitrary code via unspecified vectors involving (1) String#ljust, (2) String#center, or (3) String#rjust.  NOTE: some of these details are obtained from third party information.","status":"published","published":"2009-12-11T16:00:00Z","modified":"2024-08-07T06:54:10.177Z","updated_at":"2026-11-02T14:33:24.451733Z"}],"euvd":[{"id":"EUVD-2009-4094","description":"Heap-based buffer overflow in the rb_str_justify function in string.c in Ruby 1.9.1 before 1.9.1-p376 allows context-dependent attackers to execute arbitrary code via unspecified vectors involving (1) String#ljust, (2) String#center, or (3) String#rjust.  NOTE: some of these details are obtained from third party information.","status":"published","published":"2009-12-11T16:00:00Z","modified":"2024-08-07T06:54:10Z","updated_at":"2026-11-03T01:39:10.681785Z"}],"ghsa":[{"id":"GHSA-9mvm-2xp2-9wmw","title":"Heap-based buffer overflow in the rb_str_justify function in string.c in Ruby 1.9.1 before 1.9.1...","description":"Heap-based buffer overflow in the rb_str_justify function in string.c in Ruby 1.9.1 before 1.9.1-p376 allows context-dependent attackers to execute arbitrary code via unspecified vectors involving (1) String#ljust, (2) String#center, or (3) String#rjust.  NOTE: some of these details are obtained from third party information.","status":"published","published":"2022-05-02T03:51:53Z","modified":"2025-04-09T04:18:12Z","cwes":["CWE-119"],"updated_at":"2026-11-02T15:01:01.61975Z"}],"nvd":[{"id":"CVE-2009-4124","description":"Heap-based buffer overflow in the rb_str_justify function in string.c in Ruby 1.9.1 before 1.9.1-p376 allows context-dependent attackers to execute arbitrary code via unspecified vectors involving (1) String#ljust, (2) String#center, or (3) String#rjust.  NOTE: some of these details are obtained from third party information.","status":"published","published":"2009-12-11T16:30:00.267Z","modified":"2026-06-16T23:13:05.153Z","cvss":[{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:01:37.939838Z"}]}}
