Vulnerabilities in pkg:gem/openssl
PACKAGECVE-2017-14033 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer) affecting Openssl libraries in the RubyGems ecosystem. The issue involves ruby openssl dos vulnerability. Remediation is available by upgrading affected packages to version 2.0.0.
pkg:gem/openssl
Vulnerability advisories affecting package pkg:gem/openssl. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-v6rp-3r3v-hf4p | CVE-2017-14033 | HIGH | Ruby OpenSSL DoS Vulnerability |
| GHSA-mmrq-6999-72v8 | CVE-2018-16395 | CRITICAL | Ruby Openssl Allows Incorrect Value Comparison |
| GHSA-6h88-qjpv-p32m | CVE-2016-7798 | HIGH | OpenSSL gem for Ruby using inadequate encryption strength |
CVE-2017-14033 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2017-14033
To remediate this vulnerability, upgrade all affected Openssl dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade openssl to 2.0.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for openssl
How to Check if You Are Affected
To determine whether your application is affected by CVE-2017-14033, inspect your project dependencies for Openssl:
inspect dependencies for openssl
Analyze the terminal output to locate any version of Openssl in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer, where the product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. this may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. In Openssl, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2017-14033 Affected Openssl Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
openssl
|
RubyGems |
< 2.0.0
|
2.0.0
|
References
Frequently Asked Questions
What is CVE-2017-14033?
Which Openssl versions are affected?
What version fixes CVE-2017-14033?
Is openssl affected?
What is the CVSS score of CVE-2017-14033?
What CWE is associated with CVE-2017-14033?
How can I check RubyGems dependencies for CVE-2017-14033?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-v6rp-3r3v-hf4p",
"modified" : "2023-10-24T13:25:43Z",
"published" : "2022-05-14T02:03:26Z",
"aliases" : [ "CVE-2017-14033" ],
"summary" : "Ruby OpenSSL DoS Vulnerability",
"details" : "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. The `openssl` gem that contains this module is patched in version 2.0.0.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "openssl"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-14033"
}, {
"type" : "WEB",
"url" : "https://github.com/ruby/openssl/commit/36bf7f403ebb6cefcaa1e7af9d8ec99e6b4bc1ed"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:0378"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:0583"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:0585"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ruby/openssl"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/openssl/CVE-2017-14033.yml"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html"
}, {
"type" : "WEB",
"url" : "https://security.gentoo.org/glsa/201710-18"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20210509153849/http://www.securityfocus.com/bid/100868"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20210622181826/http://www.securitytracker.com/id/1042004"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20210724095519/http://www.securitytracker.com/id/1039363"
}, {
"type" : "WEB",
"url" : "https://www.debian.org/security/2017/dsa-4031"
}, {
"type" : "WEB",
"url" : "https://www.ruby-lang.org/en/news/2017/09/14/openssl-asn1-buffer-underrun-cve-2017-14033"
}, {
"type" : "WEB",
"url" : "https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-2-8-released"
}, {
"type" : "WEB",
"url" : "https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-3-5-released"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-119" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-26T20:29:06Z",
"nvd_published_at" : "2017-09-19T17:29:00Z"
}
}