Loading HuntDB...

CVE-2015-4020

UNKNOWN
Published 2015-08-25T17:00:00
Actions:

Expert Analysis

Professional remediation guidance

Get tailored security recommendations from our analyst team for CVE-2015-4020. We'll provide specific mitigation strategies based on your environment and risk profile.

No CVSS data available

Description

RubyGems 2.0.x before 2.0.17, 2.2.x before 2.2.5, and 2.4.x before 2.4.8 does not validate the hostname when fetching gems or making API requests, which allows remote attackers to redirect requests to arbitrary domains via a crafted DNS SRV record with a domain that is suffixed with the original domain name, aka a "DNS hijack attack." NOTE: this vulnerability exists because to an incomplete fix for CVE-2015-3900.

Available Exploits

No exploits available for this CVE.

Related News

No news articles found for this CVE.

GitHub Security Advisories

Community-driven vulnerability intelligence from GitHub

✓ GitHub Reviewed MODERATE

RubyGems Improper Input Validation vulnerability

GHSA-qv62-xfj6-32xm

Advisory Details

RubyGems 2.0.x before 2.0.17, 2.2.x before 2.2.5, and 2.3.x before 2.4.8 does not validate the hostname when fetching gems or making API requests, which allows remote attackers to redirect requests to arbitrary domains via a crafted DNS SRV record with a domain that is suffixed with the original domain name, aka a "DNS hijack attack." NOTE: this vulnerability exists because of an incomplete fix for CVE-2015-3900.

Affected Packages

RubyGems rubygems-update
ECOSYSTEM: ≥0 <2.0.17
RubyGems rubygems-update
ECOSYSTEM: ≥2.1.0.rc.1 <2.2.5
RubyGems rubygems-update
ECOSYSTEM: ≥2.3.0 <2.4.8

CVSS Scoring

CVSS Score

5.0

Advisory provided by GitHub Security Advisory Database. Published: May 17, 2022, Modified: May 4, 2023

References

HackerOne Reports

Published: 2015-08-25T17:00:00
Last Modified: 2024-08-06T06:04:02.680Z
Copied to clipboard!