Off-by-one error in the encodes function in Ruby
Multiple products
At a glance
Off-by-one error in the encodes function in pack.c in Ruby 1.9.3 and earlier, and 2.x through 2.1.2, when using certain format string specifiers, allows context-dependent attackers to cause a denial of service (segmentation fault) via vectors that trigger a stack-based buffer overflow.
Source description · CVE List / CNA
System impact
CVSS summary v2.0
- Published:
- Updated:
- EPSS:
- 3.456%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:ruby-lang | ruby | Affected versions:≤ 1.9.3Show full version range for ruby2.02.0.02.12.1.12.1.2 |
| Vendor:Canonical | ubuntu linux | Affected versions:12.04Show full version range for ubuntu linux14.0414.10 |
| Vendor:Debian | debian linux | Affected versions:7.0Show full version range for debian linux8.0 |
| Vendor:redhat | enterprise linux desktop | Affected versions: 7.0 |
| Vendor:redhat | enterprise linux hpc node | Affected versions: 7.0 |
| Vendor:redhat | enterprise linux server | Affected versions: 7.0 |
| Vendor:redhat | enterprise linux workstation | Affected versions: 7.0 |
| Vendor:Fedora | rubyEnvironments (1)
| Affected versions: < 2.1.4-24.fc21 |
| Vendor:oraclelinux | ruby193-rubyEnvironments (1)
| Affected versions: < 0:1.9.3.484-50.0.1.el6 |
| Vendor:oraclelinux | ruby193-ruby-develEnvironments (1)
| Affected versions: < 0:1.9.3.484-50.0.1.el6 |
1–10 of 95 · Page 1 of 10
CVSS scores and metrics5
[email protected] · NVD (Primary)Primary5.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:N/A:Nnvd · Wazuh CTI (cna)5.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:N/A:Noraclelinux · Wazuh CTI (adp)2.6 / 10LowCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:H/Au:N/C:N/I:N/A:Predhat · Wazuh CTI (adp)2.6 / 10LowCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:H/Au:N/C:N/I:N/A:PRed Hat · Red Hat VEX (adp)2.6 / 10LowCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:H/Au:N/C:N/I:N/A:PCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories32
- cve.org
- NVD
- Wazuh CTI
- Red Hat VEX
- FIRST EPSS
- securityfocus.com
- mandriva.com
- oracle.com
- debian.org
- openwall.com
- ubuntu.com
- bugs.ruby-lang.org
- svn.ruby-lang.org
- rhn.redhat.com
- exchange.xforce.ibmcloud.com
- rhn.redhat.com
- bugzilla.redhat.com
- rhn.redhat.com
- advisories.mageia.org
- access.redhat.com
- SUSE CVE-2014-4975
- SUSE-CU-2019:738-1
- SUSE-SU-2017:1067-1
- openSUSE-SU-2017:1128-1
- SUSE-SU-2017:1067-1
- openSUSE-SU-2017:1128-1
- ubuntu.com
- ubuntu.com
- bodhi.fedoraproject.org
- linux.oracle.com
- access.redhat.com
- Mitre CVE-2014-4975
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