{"id":"CVE-2009-4124","published":"2009-12-11T16:00:00Z","modified":"2024-08-07T06:54:10Z","title":"Heap-based buffer overflow in the rb_str_justify function in string.c in Ruby 1.9.1 before 1.9.1-p376 allows…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03875,"percentile":0.90459,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.osvdb.org/60880","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/54674","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.ruby-lang.org/en/news/2009/12/07/heap-overflow-in-string/","tags":["x_refsource_CONFIRM"]},{"url":"http://www.vupen.com/english/advisories/2009/3471","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.securityfocus.com/bid/37278","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://secunia.com/advisories/37660","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"priority":{"score":18.1,"factors":[{"name":"EPSS percentile","points":18.09}]},"summary":{"text":"The flaw is a heap-based buffer overflow in the rb_str_justify function in string.c of Ruby 1.9.1 before 1.9.1-p376. It affects the Ruby interpreter's string handling, reached through the String#ljust, String#center, and String#rjust methods. An attacker who can supply input to these methods in a context-dependent way can execute arbitrary code, though the specific input vectors are unspecified in the available information. Network access, authentication, user interaction, and configuration requirements are not specified.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:24:47Z"},"euvd":{"id":"EUVD-2009-4094","exploited":false,"provenance":"source"}}