{"id":"CVE-2009-4124","state":"PUBLISHED","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 context-dependent attackers to execute arbitrary code via unspecified v","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.","publishedAt":"2009-12-11T16:00:00.000Z","updatedAt":"2024-08-07T06:54:10.177Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.osvdb.org/60880","https://exchange.xforce.ibmcloud.com/vulnerabilities/54674","http://www.ruby-lang.org/en/news/2009/12/07/heap-overflow-in-string/","http://www.vupen.com/english/advisories/2009/3471","http://www.securityfocus.com/bid/37278","http://secunia.com/advisories/37660"],"weaknesses":[],"ingestedAt":"2026-10-29T19:39:26.132Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2009/4xxx/CVE-2009-4124.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2009-4124","state":"PUBLISHED","datePublished":"2009-12-11T16:00:00.000Z","dateUpdated":"2024-08-07T06:54:10.177Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2009-11-30T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.osvdb.org/60880","name":"60880","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/54674","name":"ruby-rbstrjustify-bo(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","name":"ADV-2009-3471","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.securityfocus.com/bid/37278","name":"37278","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://secunia.com/advisories/37660","name":"37660","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2017-08-16T14:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2009-12-07T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2009-4124","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"60880","refsource":"OSVDB","url":"http://www.osvdb.org/60880"},{"name":"ruby-rbstrjustify-bo(54674)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/54674"},{"name":"http://www.ruby-lang.org/en/news/2009/12/07/heap-overflow-in-string/","refsource":"CONFIRM","url":"http://www.ruby-lang.org/en/news/2009/12/07/heap-overflow-in-string/"},{"name":"ADV-2009-3471","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2009/3471"},{"name":"37278","refsource":"BID","url":"http://www.securityfocus.com/bid/37278"},{"name":"37660","refsource":"SECUNIA","url":"http://secunia.com/advisories/37660"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.osvdb.org/60880","name":"60880","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/54674","name":"ruby-rbstrjustify-bo(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"]},{"url":"http://www.vupen.com/english/advisories/2009/3471","name":"ADV-2009-3471","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://www.securityfocus.com/bid/37278","name":"37278","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://secunia.com/advisories/37660","name":"37660","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T06:54:10.177Z"}}]}}}