Advisory

GHSA-wp3j-rvfp-624h

Also known as: CVE-2015-3900

Summary

RubyGems vulnerable to DNS hijack attack

Details

RubyGems 2.0.x before 2.0.16, 2.2.x before 2.2.4, and 2.4.x before 2.4.7 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, aka a "DNS hijack attack."

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-14 01:08 UTC
Modified
2024-11-30 05:39 UTC

Affected packages and fixes

rubygems-update

RubyGems · All systems

Affected

  • introduced 2.0.0, fixed 2.0.16 (ecosystem)

Fixed versions

2.0.16

Fix

The export has no generic command for this ecosystem.

rubygems-update

RubyGems · All systems

Affected

  • introduced 2.2.0, fixed 2.2.4 (ecosystem)

Fixed versions

2.2.4

Fix

The export has no generic command for this ecosystem.

rubygems-update

RubyGems · All systems

Affected

  • introduced 2.4.0, fixed 2.4.7 (ecosystem)

Fixed versions

2.4.7

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences