ruby: Buffer underrun in OpenSSL ASN1 decode
Published Sep 19, 2017
7.5
HIGHCVSS 3.0
EPSS 7.73%
Description
The decode method in the OpenSSL::ASN1 module in Ruby before 2.2.8, 2.3.x before 2.3.5, and 2.4.x through 2.4.1 allows attackers to cause a denial of service (interpreter crash) via a crafted string.
Affected products
No data.
- 2.2.0
- 2.2.0
- 2.2.0
- 2.2.0
- 2.2.1
- 2.2.2
- 2.2.3
- 2.2.4
- 2.2.5
- 2.2.6
- 2.2.7
- 2.3.0
- 2.3.0
- 2.3.0
- 2.3.1
- 2.3.2
- 2.3.3
- 2.3.4
- 2.4.0
- 2.4.0
- 2.4.0
- 2.4.0
- 2.4.0
- 2.4.1
No data.
Red Hat Enterprise Linux 7
ruby-0:2.0.0.648-33.el7_4
Fixed · RHSA-2018:0378
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-ruby22-ruby-0:2.2.9-19.el6
Fixed · RHSA-2018:0583
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-ruby23-ruby-0:2.3.6-67.el6
Fixed · RHSA-2018:0585
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-ruby22-ruby-0:2.2.9-19.el6
Fixed · RHSA-2018:0583
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-ruby23-ruby-0:2.3.6-67.el6
Fixed · RHSA-2018:0585
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-ruby22-ruby-0:2.2.9-19.el7
Fixed · RHSA-2018:0583
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-ruby23-ruby-0:2.3.6-67.el7
Fixed · RHSA-2018:0585
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-ruby22-ruby-0:2.2.9-19.el7
Fixed · RHSA-2018:0583
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-ruby23-ruby-0:2.3.6-67.el7
Fixed · RHSA-2018:0585
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-ruby22-ruby-0:2.2.9-19.el7
Fixed · RHSA-2018:0583
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-ruby23-ruby-0:2.3.6-67.el7
Fixed · RHSA-2018:0585
CloudForms Management Engine 5
rh-ruby22-ruby
Not affected
CloudForms Management Engine 5
ruby-200-ruby
Not affected
Red Hat Enterprise Linux 5
ruby
Not affected
Red Hat Enterprise Linux 6
ruby
Not affected
Red Hat Software Collections
rh-ruby24-ruby
Not affected
Red Hat Subscription Asset Manager
ruby193-ruby
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | ruby-0:2.0.0.648-33.el7_4 | Fixed | RHSA-2018:0378 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-ruby22-ruby-0:2.2.9-19.el6 | Fixed | RHSA-2018:0583 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-ruby23-ruby-0:2.3.6-67.el6 | Fixed | RHSA-2018:0585 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-ruby22-ruby-0:2.2.9-19.el6 | Fixed | RHSA-2018:0583 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-ruby23-ruby-0:2.3.6-67.el6 | Fixed | RHSA-2018:0585 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-ruby22-ruby-0:2.2.9-19.el7 | Fixed | RHSA-2018:0583 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-ruby23-ruby-0:2.3.6-67.el7 | Fixed | RHSA-2018:0585 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-ruby22-ruby-0:2.2.9-19.el7 | Fixed | RHSA-2018:0583 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-ruby23-ruby-0:2.3.6-67.el7 | Fixed | RHSA-2018:0585 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-ruby22-ruby-0:2.2.9-19.el7 | Fixed | RHSA-2018:0583 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-ruby23-ruby-0:2.3.6-67.el7 | Fixed | RHSA-2018:0585 |
| CloudForms Management Engine 5 | rh-ruby22-ruby | Not affected | n/a |
| CloudForms Management Engine 5 | ruby-200-ruby | Not affected | n/a |
| Red Hat Enterprise Linux 5 | ruby | Not affected | n/a |
| Red Hat Enterprise Linux 6 | ruby | Not affected | n/a |
| Red Hat Software Collections | rh-ruby24-ruby | Not affected | n/a |
| Red Hat Subscription Asset Manager | ruby193-ruby | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect the versions of ruby as shipped with Red Hat Enterprise Linux 5 and 6, and the versions of rh-ruby24-ruby. This issue affects the versions of ruby as shipped with Red Hat Enterprise Linux 7 and the versions of rh-ruby22-ruby and rh-ruby23-ruby as shipped with Red Hat Software Collections 3. Red Hat Product Security has rated this issue as having Moderate security impact. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (61 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 7.73% (0.07734) | 94.45th | v5 (v2026.06.15) |
| Jun 15, 2026 | 7.73% (0.07734) | 93.84th | v5 (v2026.06.15) |
| Jun 12, 2026 | 5.99% (0.05986) | 90.91th | v4 (v2025.03.14) |
| Mar 4, 2026 | 7.82% (0.07822) | 91.82th | v4 (v2025.03.14) |
| Mar 1, 2026 | 6.73% (0.06731) | 91.15th | v4 (v2025.03.14) |
| Feb 4, 2026 | 7.82% (0.07822) | 91.76th | v4 (v2025.03.14) |
| Feb 1, 2026 | 6.73% (0.06731) | 91.10th | v4 (v2025.03.14) |
| Jan 4, 2026 | 7.82% (0.07822) | 91.70th | v4 (v2025.03.14) |
| Jan 1, 2026 | 6.73% (0.06731) | 91.04th | v4 (v2025.03.14) |
| Nov 18, 2025 | 7.82% (0.07822) | 91.10th | v4 (v2025.03.14) |
| Nov 4, 2025 | 10.26% (0.10256) | 92.82th | v4 (v2025.03.14) |
| Nov 1, 2025 | 6.73% (0.06731) | 90.89th | v4 (v2025.03.14) |
| Oct 4, 2025 | 10.26% (0.10256) | 92.87th | v4 (v2025.03.14) |
| Oct 1, 2025 | 6.73% (0.06731) | 90.95th | v4 (v2025.03.14) |
| Sep 4, 2025 | 11.12% (0.11124) | 93.23th | v4 (v2025.03.14) |
| Sep 1, 2025 | 6.04% (0.06039) | 90.43th | v4 (v2025.03.14) |
| Aug 4, 2025 | 11.12% (0.11124) | 93.19th | v4 (v2025.03.14) |
| Aug 1, 2025 | 6.04% (0.06039) | 90.43th | v4 (v2025.03.14) |
| Jul 30, 2025 | 11.12% (0.11124) | 93.18th | v4 (v2025.03.14) |
| Jul 4, 2025 | 9.92% (0.09915) | 92.66th | v4 (v2025.03.14) |
| Jul 1, 2025 | 5.34% (0.05340) | 89.64th | v4 (v2025.03.14) |
| Jun 17, 2025 | 9.92% (0.09915) | 92.60th | v4 (v2025.03.14) |
| Jun 6, 2025 | 5.99% (0.05994) | 90.19th | v4 (v2025.03.14) |
| Jun 4, 2025 | 9.92% (0.09915) | 92.59th | v4 (v2025.03.14) |
| Jun 1, 2025 | 5.34% (0.05340) | 89.60th | v4 (v2025.03.14) |
| May 30, 2025 | 9.92% (0.09915) | 92.58th | v4 (v2025.03.14) |
| May 21, 2025 | 7.64% (0.07641) | 91.40th | v4 (v2025.03.14) |
| May 5, 2025 | 10.36% (0.10356) | 92.75th | v4 (v2025.03.14) |
| May 1, 2025 | 5.26% (0.05258) | 89.48th | v4 (v2025.03.14) |
| Apr 18, 2025 | 10.36% (0.10356) | 92.73th | v4 (v2025.03.14) |
| Apr 17, 2025 | 5.26% (0.05258) | 89.42th | v4 (v2025.03.14) |
| Apr 13, 2025 | 10.36% (0.10356) | 92.49th | v4 (v2025.03.14) |
| Apr 11, 2025 | 6.28% (0.06276) | 90.04th | v4 (v2025.03.14) |
| Apr 10, 2025 | 3.77% (0.03766) | 87.03th | v4 (v2025.03.14) |
| Apr 8, 2025 | 6.28% (0.06276) | 90.03th | v4 (v2025.03.14) |
| Apr 7, 2025 | 3.77% (0.03766) | 87.02th | v4 (v2025.03.14) |
| Apr 4, 2025 | 6.28% (0.06276) | 90.02th | v4 (v2025.03.14) |
| Apr 3, 2025 | 3.77% (0.03766) | 86.99th | v4 (v2025.03.14) |
| Mar 30, 2025 | 6.28% (0.06276) | 89.97th | v4 (v2025.03.14) |
| Mar 29, 2025 | 9.72% (0.09721) | 88.13th | v4 (v2025.03.14) |
| Mar 28, 2025 | 3.77% (0.03766) | 86.97th | v4 (v2025.03.14) |
| Mar 23, 2025 | 6.28% (0.06276) | 89.25th | v4 (v2025.03.14) |
| Mar 22, 2025 | 3.77% (0.03766) | 87.05th | v4 (v2025.03.14) |
| Mar 17, 2025 | 6.28% (0.06276) | 90.22th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.83% (0.01832) | 88.73th | v3 (v2023.03.01) |
| Jul 10, 2024 | 1.72% (0.01721) | 87.98th | v3 (v2023.03.01) |
| Apr 22, 2024 | 1.67% (0.01670) | 87.50th | v3 (v2023.03.01) |
| Dec 24, 2023 | 1.18% (0.01184) | 83.50th | v3 (v2023.03.01) |
| Jul 8, 2023 | 1.17% (0.01167) | 83.03th | v3 (v2023.03.01) |
| May 9, 2023 | 1.31% (0.01312) | 83.89th | v3 (v2023.03.01) |
| May 8, 2023 | 1.56% (0.01557) | 85.23th | v3 (v2023.03.01) |
| Mar 22, 2023 | 1.52% (0.01515) | 84.96th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.78% (0.01777) | 86.09th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.54% (0.01537) | 74.52th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.54% (0.01537) | 74.48th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.54% (0.01537) | 72.41th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.54% (0.01537) | 51.33th | v2 (v2022.01.01) |
| Feb 3, 2022 | 3.32% (0.03317) | 66.60th | v1 |
| Jan 6, 2022 | 3.32% (0.03317) | 66.28th | v1 |
| Sep 1, 2021 | 3.32% (0.03317) | 81.62th | v1 |
| Apr 14, 2021 | 3.32% (0.03317) | 0.00th | v1 |
References (22)
- http://www.securityfocus.com/bid/100868 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1039363 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1042004 vdb-entryx_refsource_SECTRACK
- https://access.redhat.com/errata/RHSA-2018:0378 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2018:0583 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2018:0585 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2017-14033 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1491866 Issue Tracking
- https://github.com/advisories/GHSA-v6rp-3r3v-hf4p Advisory
- https://github.com/ruby/openssl/commit/36bf7f403ebb6cefcaa1e7af9d8ec99e6b4bc1ed
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/openssl/CVE-2017-14033.yml
- https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2017-14033
- https://security.gentoo.org/glsa/201710-18 vendor-advisoryx_refsource_GENTOO
- https://web.archive.org/web/20210509153849/http://www.securityfocus.com/bid/100868
- https://web.archive.org/web/20210622181826/http://www.securitytracker.com/id/1042004
- https://web.archive.org/web/20210724095519/http://www.securitytracker.com/id/1039363
- https://www.cve.org/CVERecord?id=CVE-2017-14033
- https://www.debian.org/security/2017/dsa-4031 vendor-advisoryx_refsource_DEBIAN
- https://www.ruby-lang.org/en/news/2017/09/14/openssl-asn1-buffer-underrun-cve-2017-14033/ x_refsource_CONFIRMMitigationVendor Advisory
- https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-2-8-released/ x_refsource_CONFIRMPatchRelease NotesVendor Advisory
- https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-3-5-released/ x_refsource_CONFIRMPatchRelease NotesVendor Advisory
Change history (0)
No recorded changes yet.