CVEvulnerability
CVE-2009-4124
10.0 HIGH
Official page ↗
- Status
- Modified
- Published
- 2009-12-11
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 10.0 HIGH — AV:N/AC:L/Au:N/C:C/I:C/A:C
- Weaknesses
- CWE-119
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.
Affected configurations
• ruby-lang ruby 1.9.1
Related
Weakness · CWE (1)
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness
References
- http://secunia.com/advisories/37660 Vendor Advisory
- http://www.osvdb.org/60880 www.osvdb.org
- http://www.ruby-lang.org/en/news/2009/12/07/heap-overflow-in-string/ Patch, Vendor Advisory
- http://www.securityfocus.com/bid/37278 www.securityfocus.com
- http://www.vupen.com/english/advisories/2009/3471 Vendor Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/54674 exchange.xforce.ibmcloud.com
- http://secunia.com/advisories/37660 Vendor Advisory
- http://www.osvdb.org/60880 www.osvdb.org
- http://www.ruby-lang.org/en/news/2009/12/07/heap-overflow-in-string/ Patch, Vendor Advisory
- http://www.securityfocus.com/bid/37278 www.securityfocus.com
- http://www.vupen.com/english/advisories/2009/3471 Vendor Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/54674 exchange.xforce.ibmcloud.com