Back to CVE catalog
CVE-2012-5371

Ruby hash collision denial of service

ruby-lang ruby

At a glance

Ruby (aka CRuby) 1.9 before 1.9.3-p327 and 2.0 before r37575 computes hash values without properly restricting the ability to trigger hash collisions predictably, which allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted input to an application that maintains a hash table, as demonstrated by a universal multicollision attack against a variant of the MurmurHash2 algorithm, a different vulnerability than CVE-2011-4815.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityNone
IntegrityNone
AvailabilityPartial

CVSS summary v2.0

5.0Medium
Published:
Updated:
EPSS:
3.451%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Related CWE

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:ruby-langrubyAffected versions:
≤ 1.9.3Show full version range for ruby
1.91.9.11.9.21.9.32.0

1–1 of 1 · Page 1 of 1

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary5.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:N/I:N/A:P
nvd · Wazuh CTI (cna)5.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories16

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences