Rubysec

Providing security resources for the Ruby community.
Follow us @rubysec or email us via info at rubysec.com

Advisory Archive

Back

---
gem: private_address_check
date: 2017-11-07
url: https://github.com/jtdowney/private_address_check/issues/1
cve: 2017-0904
title: private_address_check Ruby Gem Resolv.getaddresses Server-Side Request Forgery
description: |
  The private_address_check ruby gem before 0.4.0 is vulnerable to a bypass due to use of Ruby's
  Resolv.getaddresses method, which is OS-dependent and should not be relied upon for security
  measures, such as when used to blacklist private network addresses to prevent server-side
  request forgery.
cvss_v2: '6.8'
cvss_v3: '8.1'
patched_versions:
- ">= 0.4.0"