Security advisory
RubyGems 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 series: 2.5.0 and earlier, prior to trunk revision 62422 contains a Improper Input Validation vulnerability in ruby gems specification homepage attribute that can result in a malicious gem could set an invalid homepage URL. This vulnerability appears to have been fixed in 2.7.6.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-1000077
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:20 UTC · Revision 1
Source evidence
RubyGems 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 series: 2.5.0 and earlier, prior to trunk revision 62422 contains a Improper Input Validation vulnerability in ruby gems specification homepage attribute that can result in a malicious gem could set an invalid homepage URL. This vulnerability appears to have been fixed in 2.7.6.
osv:CVE-2018-1000077
Complete source record
{
"id": "65bd265c679f4a50a8371666cc5c5d411e3203b79977594b060ead863750ffea",
"url": "https://osv.dev/vulnerability/CVE-2018-1000077",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-1000077",
"summary": "RubyGems 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 series: 2.5.0 and earlier, prior to trunk revision 62422 contains a Improper Input Validation vulnerability in ruby gems specification homepage attribute that can result in a malicious gem could set an invalid homepage URL. This vulnerability appears to have been fixed in 2.7.6.",
"evidence": "osv:CVE-2018-1000077",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2018-1000077",
"aliases": [
"CVE-2018-1000077",
"GHSA-gv86-43rv-79m2"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/ruby/rubygems",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "30e740c073e954474b08aa05aaa951e9bb74791c"
},
{
"last_affected": "056f64c33a4f3783290b7c9c09d387213caf3c3d"
},
{
"last_affected": "744e413f556ead46aabc659408a99a4c318b6549"
},
{
"last_affected": "b6f3b5fac7ec01e5dcc57d6768a7e9b456feaea8"
},
{
"fixed": "feadefc2d351dcb95d6492f5ad17ebca546eb964"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:rubygems:rubygems:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.2.9"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:rubygems:rubygems:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.3.6"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:rubygems:rubygems:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.4.3"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:rubygems:rubygems:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.5.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "feadefc2d351dcb95d6492f5ad17ebca546eb964"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v2.4.3",
"v2.4.2",
"v2.4.1",
"v2.4.0",
"v2.3.0",
"v2.2.1",
"v2.2.0.rc.1",
"v2.2.0.preview.1",
"v2.1.3",
"v2.1.2",
"v2.1.1",
"v2.1.0",
"v2.1.0.rc.2",
"v2.1.0.rc.1",
"v2.0.3",
"v2.0.2",
"v2.0.1",
"v2.0.0",
"v2.0.0.rc.2",
"v2.0.0.rc.1",
"v2.0.0.preview2.2",
"v2.0.0.preview2.1",
"v2.0.0.preview2",
"v1.8.2",
"v1.8.1",
"v1.8.0",
"v1.7.1",
"v1.7.0",
"v1.6.2",
"v1.6.1",
"v1.6.0",
"v1.5.2",
"v1.5.1",
"v1.5.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1000077.json"
}
}
],
"modified": "2026-10-20T10:50:14.080797532Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2018/04/msg00023.html",
"https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html",
"https://lists.debian.org/debian-lts-announce/2019/05/msg00028.html",
"https://usn.ubuntu.com/3621-1/",
"https://access.redhat.com/errata/RHSA-2018:3729",
"https://access.redhat.com/errata/RHSA-2018:3730",
"https://access.redhat.com/errata/RHSA-2018:3731",
"https://access.redhat.com/errata/RHSA-2019:2028",
"https://access.redhat.com/errata/RHSA-2020:0542",
"https://access.redhat.com/errata/RHSA-2020:0591",
"https://access.redhat.com/errata/RHSA-2020:0663",
"https://lists.debian.org/debian-lts-announce/2018/04/msg00000.html",
"https://lists.debian.org/debian-lts-announce/2018/04/msg00001.html",
"https://www.debian.org/security/2018/dsa-4219",
"https://www.debian.org/security/2018/dsa-4259",
"https://github.com/rubygems/rubygems/commit/feadefc2d351dcb95d6492f5ad17ebca546eb964"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "7.0"
},
{
"last_affected": "7.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-1000077",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 381424,
"published_at": "2018-03-13T15:29:00.677+00:00"
}