GHSA-HXHJ-HP9M-QWC4
Vulnerability from github – Published: 2017-11-29 23:21 – Updated: 2023-01-23 17:38
VLAI?
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.
{
"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"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…