OESA-2024-1545 (CVE-2024-27282)
Vulnerability from osv_openeuler – Published: 2024-05-10 11:07 – Updated: 2026-08-06 11:07 – Source websiteRuby is a fast and easy interpreted scripting language for object-oriented programming. It has many functions for processing text Files and perform system management tasks (such as Perl).
Security Fix(es):
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.(CVE-2024-27282)
| URL | Type | |
|---|---|---|
{
"affected": [
{
"ecosystem_specific": {
"aarch64": [
"ruby-2.5.8-124.oe1.aarch64.rpm",
"rubygem-openssl-2.1.2-124.oe1.aarch64.rpm",
"ruby-devel-2.5.8-124.oe1.aarch64.rpm",
"ruby-debugsource-2.5.8-124.oe1.aarch64.rpm",
"rubygem-psych-3.0.2-124.oe1.aarch64.rpm",
"rubygem-io-console-0.4.6-124.oe1.aarch64.rpm",
"ruby-debuginfo-2.5.8-124.oe1.aarch64.rpm",
"rubygem-json-2.1.0-124.oe1.aarch64.rpm",
"rubygem-bigdecimal-1.3.4-124.oe1.aarch64.rpm"
],
"noarch": [
"rubygems-devel-2.7.6-124.oe1.noarch.rpm",
"rubygem-rdoc-6.0.1.1-124.oe1.noarch.rpm",
"rubygem-did_you_mean-1.2.0-124.oe1.noarch.rpm",
"rubygems-2.7.6-124.oe1.noarch.rpm",
"rubygem-test-unit-3.2.7-124.oe1.noarch.rpm",
"rubygem-rake-12.3.0-124.oe1.noarch.rpm",
"rubygem-net-telnet-0.1.1-124.oe1.noarch.rpm",
"rubygem-xmlrpc-0.3.0-124.oe1.noarch.rpm",
"ruby-irb-2.5.8-124.oe1.noarch.rpm",
"rubygem-minitest-5.10.3-124.oe1.noarch.rpm",
"rubygem-power_assert-1.1.1-124.oe1.noarch.rpm",
"ruby-help-2.5.8-124.oe1.noarch.rpm"
],
"src": [
"ruby-2.5.8-124.oe1.src.rpm"
],
"x86_64": [
"rubygem-psych-3.0.2-124.oe1.x86_64.rpm",
"ruby-2.5.8-124.oe1.x86_64.rpm",
"ruby-debuginfo-2.5.8-124.oe1.x86_64.rpm",
"rubygem-bigdecimal-1.3.4-124.oe1.x86_64.rpm",
"ruby-debugsource-2.5.8-124.oe1.x86_64.rpm",
"rubygem-json-2.1.0-124.oe1.x86_64.rpm",
"rubygem-openssl-2.1.2-124.oe1.x86_64.rpm",
"rubygem-io-console-0.4.6-124.oe1.x86_64.rpm",
"ruby-devel-2.5.8-124.oe1.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:20.03-LTS-SP1",
"name": "ruby",
"purl": "pkg:rpm/openEuler/ruby\u0026distro=openEuler-20.03-LTS-SP1"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.5.8-124.oe1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"severity": "Low"
},
"details": "Ruby is a fast and easy interpreted scripting language for object-oriented programming. It has many functions for processing text Files and perform system management tasks (such as Perl).\r\n\r\nSecurity Fix(es):\r\n\r\nAn 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.(CVE-2024-27282)",
"id": "OESA-2024-1545",
"modified": "2026-08-06T11:07:00Z",
"published": "2024-05-10T11:07:00Z",
"references": [
{
"type": "ADVISORY",
"url": "https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1545"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-27282"
}
],
"schema_version": "1.7.2",
"severity": [
{
"score": "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
"type": "CVSS_V3"
}
],
"summary": "ruby security update",
"upstream": [
"CVE-2024-27282"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.