GSD-2019-25061
Vulnerability from gsd - Updated: 2022-05-19 00:00Details
The random_password_generator (aka RandomPasswordGenerator) gem through
1.0.0 for Ruby uses Kernel#rand to generate passwords, which, due to its cyclic
nature, can facilitate password prediction.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2019-25061",
"description": "The random_password_generator (aka RandomPasswordGenerator) gem through 1.0.0 for Ruby uses Kernel#rand to generate passwords, which, due to its cyclic nature, can facilitate password prediction.",
"id": "GSD-2019-25061"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"affected": [
{
"package": {
"ecosystem": "RubyGems",
"name": "random_password_generator",
"purl": "pkg:gem/random_password_generator"
}
}
],
"aliases": [
"CVE-2019-25061",
"GHSA-ggfx-h9xj-5v9c"
],
"details": "The random_password_generator (aka RandomPasswordGenerator) gem through\n1.0.0 for Ruby uses Kernel#rand to generate passwords, which, due to its cyclic\nnature, can facilitate password prediction.\n",
"id": "GSD-2019-25061",
"modified": "2022-05-19T00:00:00.000Z",
"published": "2022-05-19T00:00:00.000Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/bvsatyaram/random_password_generator/pull/1"
},
{
"type": "WEB",
"url": "https://github.com/bvsatyaram/random_password_generator/blob/2855e8d7d8803dbb580ddd6cf13846394eb4530e/lib/random_password_generator.rb#L23"
},
{
"type": "WEB",
"url": "https://ruby-doc.org/core-3.1.2/Random.html"
},
{
"type": "WEB",
"url": "https://stackoverflow.com/questions/42170239/security-of-rand-in-ruby-compared-to-other-methods/42170560"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": 7.5,
"type": "CVSS_V3"
}
],
"summary": "Insecure PRNG use in random_password_generator"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2019-25061",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "n/a",
"version": {
"version_data": [
{
"version_value": "n/a"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "The random_password_generator (aka RandomPasswordGenerator) gem through 1.0.0 for Ruby uses Kernel#rand to generate passwords, which, due to its cyclic nature, can facilitate password prediction."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/bvsatyaram/random_password_generator/blob/2855e8d7d8803dbb580ddd6cf13846394eb4530e/lib/random_password_generator.rb#L23",
"refsource": "MISC",
"url": "https://github.com/bvsatyaram/random_password_generator/blob/2855e8d7d8803dbb580ddd6cf13846394eb4530e/lib/random_password_generator.rb#L23"
},
{
"name": "https://ruby-doc.org/core-3.1.2/Random.html",
"refsource": "MISC",
"url": "https://ruby-doc.org/core-3.1.2/Random.html"
},
{
"name": "https://stackoverflow.com/questions/42170239/security-of-rand-in-ruby-compared-to-other-methods/42170560",
"refsource": "MISC",
"url": "https://stackoverflow.com/questions/42170239/security-of-rand-in-ruby-compared-to-other-methods/42170560"
},
{
"name": "https://github.com/bvsatyaram/random_password_generator/pull/1",
"refsource": "MISC",
"url": "https://github.com/bvsatyaram/random_password_generator/pull/1"
}
]
}
},
"github.com/rubysec/ruby-advisory-db": {
"cve": "2019-25061",
"cvss_v3": 7.5,
"date": "2022-05-19",
"description": "The random_password_generator (aka RandomPasswordGenerator) gem through\n1.0.0 for Ruby uses Kernel#rand to generate passwords, which, due to its cyclic\nnature, can facilitate password prediction.\n",
"gem": "random_password_generator",
"ghsa": "ggfx-h9xj-5v9c",
"related": {
"url": [
"https://github.com/bvsatyaram/random_password_generator/blob/2855e8d7d8803dbb580ddd6cf13846394eb4530e/lib/random_password_generator.rb#L23",
"https://ruby-doc.org/core-3.1.2/Random.html",
"https://stackoverflow.com/questions/42170239/security-of-rand-in-ruby-compared-to-other-methods/42170560"
]
},
"title": "Insecure PRNG use in random_password_generator",
"url": "https://github.com/bvsatyaram/random_password_generator/pull/1"
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003c=1.0.0",
"affected_versions": "All versions up to 1.0.0",
"cwe_ids": [
"CWE-1035",
"CWE-937"
],
"date": "2022-05-25",
"description": "The random_password_generator (aka RandomPasswordGenerator) gem through 1.0.0 for Ruby uses Kernel#rand to generate passwords, which, due to its cyclic nature, can facilitate password prediction.",
"fixed_versions": [],
"identifier": "CVE-2019-25061",
"identifiers": [
"GHSA-ggfx-h9xj-5v9c",
"CVE-2019-25061"
],
"not_impacted": "",
"package_slug": "gem/random_password_generator",
"pubdate": "2022-05-19",
"solution": "Unfortunately, there is no solution available yet.",
"title": "Insecure PRNG use in random_password_generator",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2019-25061",
"https://github.com/bvsatyaram/random_password_generator/pull/1",
"https://ruby-doc.org/core-3.1.2/Random.html",
"https://stackoverflow.com/questions/42170239/security-of-rand-in-ruby-compared-to-other-methods/42170560",
"https://github.com/advisories/GHSA-ggfx-h9xj-5v9c"
],
"uuid": "85c49924-237b-4a11-bfe1-b85ad95e8499"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:random_password_generator_project:random_password_generator:*:*:*:*:*:ruby:*:*",
"cpe_name": [],
"versionEndIncluding": "1.0.0",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2019-25061"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "The random_password_generator (aka RandomPasswordGenerator) gem through 1.0.0 for Ruby uses Kernel#rand to generate passwords, which, due to its cyclic nature, can facilitate password prediction."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-335"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://stackoverflow.com/questions/42170239/security-of-rand-in-ruby-compared-to-other-methods/42170560",
"refsource": "MISC",
"tags": [
"Exploit",
"Third Party Advisory"
],
"url": "https://stackoverflow.com/questions/42170239/security-of-rand-in-ruby-compared-to-other-methods/42170560"
},
{
"name": "https://github.com/bvsatyaram/random_password_generator/blob/2855e8d7d8803dbb580ddd6cf13846394eb4530e/lib/random_password_generator.rb#L23",
"refsource": "MISC",
"tags": [
"Third Party Advisory"
],
"url": "https://github.com/bvsatyaram/random_password_generator/blob/2855e8d7d8803dbb580ddd6cf13846394eb4530e/lib/random_password_generator.rb#L23"
},
{
"name": "https://github.com/bvsatyaram/random_password_generator/pull/1",
"refsource": "MISC",
"tags": [
"Issue Tracking",
"Third Party Advisory"
],
"url": "https://github.com/bvsatyaram/random_password_generator/pull/1"
},
{
"name": "https://ruby-doc.org/core-3.1.2/Random.html",
"refsource": "MISC",
"tags": [
"Third Party Advisory"
],
"url": "https://ruby-doc.org/core-3.1.2/Random.html"
}
]
}
},
"impact": {
"baseMetricV2": {
"acInsufInfo": false,
"cvssV2": {
"accessComplexity": "LOW",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "NONE",
"baseScore": 5.0,
"confidentialityImpact": "PARTIAL",
"integrityImpact": "NONE",
"vectorString": "AV:N/AC:L/Au:N/C:P/I:N/A:N",
"version": "2.0"
},
"exploitabilityScore": 10.0,
"impactScore": 2.9,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"severity": "MEDIUM",
"userInteractionRequired": false
},
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6
}
},
"lastModifiedDate": "2022-05-26T18:43Z",
"publishedDate": "2022-05-18T11:15Z"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
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…