ghsa-hxhj-hp9m-qwc4
Vulnerability from github
Published
2017-11-29 23:21
Modified
2023-01-23 17:38
Summary
private_address_check vulnerable to bypass of Resolv.getaddresses method
Details

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.

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "RubyGems",
        "name": "private_address_check"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.4.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2017-0904"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-242"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:41:23Z",
    "nvd_published_at": null,
    "severity": "MODERATE"
  },
  "details": "The private_address_check ruby gem before 0.4.0 is vulnerable to a bypass due to use of Ruby\u0027s `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.",
  "id": "GHSA-hxhj-hp9m-qwc4",
  "modified": "2023-01-23T17:38:44Z",
  "published": "2017-11-29T23:21:05Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-0904"
    },
    {
      "type": "WEB",
      "url": "https://github.com/jtdowney/private_address_check/issues/1"
    },
    {
      "type": "WEB",
      "url": "https://github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46af"
    },
    {
      "type": "WEB",
      "url": "https://hackerone.com/reports/287245"
    },
    {
      "type": "WEB",
      "url": "https://hackerone.com/reports/287835"
    },
    {
      "type": "WEB",
      "url": "https://edoverflow.com/2017/ruby-resolv-bug"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [],
  "summary": "private_address_check vulnerable to bypass of Resolv.getaddresses method"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…