RubyGems before 1.8.23 can redirect HTTPS connections to HTTP, which makes it easier for remote attackers to observe or modify a gem during
RubyGems before 1.8.23 can redirect HTTPS connections to HTTP, which makes it easier for remote attackers to observe or modify a gem during installation via a man-in-the-middle attack.
- Published
- Oct 1, 2013
- Updated
- Jun 16, 2026
- EPSS
- 2.5% · 84th percentile
- CWE
- —
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
24
Monitor
Low priority for now.
- CVSS
- 23 / 40 · 5.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.5%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| rubygems | rubygems | cpe:2.3:a:rubygems:rubygems |
| redhat | openshift | cpe:2.3:a:redhat:openshift |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- rubygems rubygemsup to 1.8.22 inclusive
- rubygems rubygems1.8.0
- rubygems rubygems1.8.1
- rubygems rubygems1.8.10
- rubygems rubygems1.8.11
- rubygems rubygems1.8.12
- rubygems rubygems1.8.13
- rubygems rubygems1.8.14
- rubygems rubygems1.8.15
- rubygems rubygems1.8.16
- rubygems rubygems1.8.17
- rubygems rubygems1.8.18
- rubygems rubygems1.8.19
- rubygems rubygems1.8.2
- rubygems rubygems1.8.20
- rubygems rubygems1.8.21
- rubygems rubygems1.8.3
- rubygems rubygems1.8.4
- rubygems rubygems1.8.5
- rubygems rubygems1.8.6
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | rubygems | before 1.8.24-1 | 1.8.24-1 |
| Red Hat:enterprise_linux:6::client | rubygems | before 0:1.3.7-4.el6_4 | 0:1.3.7-4.el6_4 |
| Red Hat:enterprise_mrg:2:computenode:el6 | rubygems | before 0:1.8.23.2-1.el6 | 0:1.8.23.2-1.el6 |
| Red Hat:enterprise_mrg:2:server:el6 | cumin | before 0:0.1.5787-4.el6 | 0:0.1.5787-4.el6 |
| Red Hat:openshift:1.2::el6 | rubygems | before 0:1.8.24-4.el6op | 0:1.8.24-4.el6op |
| RubyGems | rubygems-update | before 1.8.23 | 1.8.23 |
Same product
rubygems: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-0903RubyGems versions between 2.0.0 and 2.6.13 are vulnerable to a possible remote code execution vulnerability.44Plan
- CVE-2017-0899RubyGems version 2.6.12 and earlier is vulnerable to maliciously crafted gem specifications that include terminal escape characters.42Plan
- CVE-2018-1000076RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and earlier, Ruby 2.4 series: 2.4.3 and earlier, Ruby 2.5 series40Plan
- CVE-2017-0901RubyGems version 2.6.12 and earlier fails to validate specification names, allowing a maliciously crafted gem to potentially overwrite any f39Monitor
- CVE-2019-8324An issue was discovered in RubyGems 2.6 and later through 3.0.2.36Monitor
- CVE-2022-36073RubyGems allows creation of users with arbitrary unverified emails35Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:rubygems | 1.8.24-1 · Debian:12 | Package registry (OSV) |
| red hat:cumin | 0:0.1.5787-4.el6 · Red Hat:enterprise_mrg:2:server:el6 | Package registry (OSV) |
| red hat:rubygems | 0:1.8.24-4.el6op · Red Hat:openshift:1.2::el6 | Package registry (OSV) |
| RubyGems:rubygems-update | 1.8.23 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
- RubyGemsHackerOne · disclosure only (VDP) · rubygems/rubygems
- RubyGemsHackerOne · disclosure only (VDP)
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
Technical details
Attack conditions
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- none
- Attack complexity
- M
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- None
Weakness class (CWE)
—
CVSS vector
AV:N/AC:M/Au:N/C:P/I:P/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- rhn.redhat.com/errata/RHSA-2013-1203.html
- rhn.redhat.com/errata/RHSA-2013-1441.html
- rhn.redhat.com/errata/RHSA-2013-1852.html
- secunia.com/advisories/55381
- www.openwall.com/lists/oss-security/2012/04/20/24
- www.ubuntu.com/usn/USN-1582-1/
- bugzilla.redhat.com/show_bug.cgi?id=814718
- github.com/rubygems/rubygems/blob/1.8/History.txt
Vendor advisories and official records. Exploit/PoC links are deliberately left out.