gsd-2019-13354
Vulnerability from gsd
Modified
2019-07-05 00:00
Details
The `strong_password` gem on RubyGems.org was hijacked by a malicious actor. The
malicious actor published v0.0.7 containing malicious code that enables an attacker
to execute remote code in production.
Upgrade `strong_password` to v0.0.8 to ensure no malicious code execution is possible.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2019-13354",
"description": "The strong_password gem 0.0.7 for Ruby, as distributed on RubyGems.org, included a code-execution backdoor inserted by a third party. The current version, without this backdoor, is 0.0.6.",
"id": "GSD-2019-13354"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"affected": [
{
"package": {
"ecosystem": "RubyGems",
"name": "strong_password",
"purl": "pkg:gem/strong_password"
}
}
],
"aliases": [
"CVE-2019-13354",
"GHSA-5h5r-ffc4-c455"
],
"details": "The `strong_password` gem on RubyGems.org was hijacked by a malicious actor. The\nmalicious actor published v0.0.7 containing malicious code that enables an attacker\nto execute remote code in production.\n\nUpgrade `strong_password` to v0.0.8 to ensure no malicious code execution is possible.\n",
"id": "GSD-2019-13354",
"modified": "2019-07-05T00:00:00.000Z",
"published": "2019-07-05T00:00:00.000Z",
"references": [
{
"type": "WEB",
"url": "https://withatwist.dev/strong-password-rubygem-hijacked.html"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": 9.8,
"type": "CVSS_V3"
}
],
"summary": "strong_password Ruby gem malicious version causing Remote Code Execution vulnerability"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2019-13354",
"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 strong_password gem 0.0.7 for Ruby, as distributed on RubyGems.org, included a code-execution backdoor inserted by a third party. The current version, without this backdoor, is 0.0.6."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://rubygems.org/gems/strong_password/versions",
"refsource": "MISC",
"url": "https://rubygems.org/gems/strong_password/versions"
},
{
"name": "https://github.com/bdmac/strong_password/releases",
"refsource": "MISC",
"url": "https://github.com/bdmac/strong_password/releases"
},
{
"name": "https://withatwist.dev/strong-password-rubygem-hijacked.html",
"refsource": "MISC",
"url": "https://withatwist.dev/strong-password-rubygem-hijacked.html"
},
{
"name": "https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-strong_password-0-0-7/",
"refsource": "MISC",
"url": "https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-strong_password-0-0-7/"
}
]
}
},
"github.com/rubysec/ruby-advisory-db": {
"cve": "2019-13354",
"cvss_v3": 9.8,
"date": "2019-07-05",
"description": "The `strong_password` gem on RubyGems.org was hijacked by a malicious actor. The\nmalicious actor published v0.0.7 containing malicious code that enables an attacker\nto execute remote code in production.\n\nUpgrade `strong_password` to v0.0.8 to ensure no malicious code execution is possible.\n",
"gem": "strong_password",
"ghsa": "5h5r-ffc4-c455",
"patched_versions": [
"\u003e= 0.0.8"
],
"title": "strong_password Ruby gem malicious version causing Remote Code Execution vulnerability",
"unaffected_versions": [
"!= 0.0.7"
],
"url": "https://withatwist.dev/strong-password-rubygem-hijacked.html"
},
"gitlab.com": {
"advisories": [
{
"affected_range": "=0.0.7",
"affected_versions": "Version 0.0.7",
"cvss_v2": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
"cvss_v3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-937",
"CWE-94"
],
"date": "2019-07-10",
"description": "The strong_password gem for Ruby, as distributed on RubyGems.org, included a code-execution backdoor inserted by a third party.",
"fixed_versions": [
"0.0.8"
],
"identifier": "CVE-2019-13354",
"identifiers": [
"CVE-2019-13354"
],
"not_impacted": "All versions before 0.0.7, all versions after 0.0.7",
"package_slug": "gem/strong_password",
"pubdate": "2019-07-08",
"solution": "Upgrade to version 0.0.8 or above.",
"title": "Code Injection",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2019-13354"
],
"uuid": "a17dcdc5-a297-427d-a784-dbded47b5679"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:strong_password_project:strong_password:0.0.7:*:*:*:*:ruby:*:*",
"cpe_name": [],
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2019-13354"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "The strong_password gem 0.0.7 for Ruby, as distributed on RubyGems.org, included a code-execution backdoor inserted by a third party. The current version, without this backdoor, is 0.0.6."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-94"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://withatwist.dev/strong-password-rubygem-hijacked.html",
"refsource": "MISC",
"tags": [
"Third Party Advisory"
],
"url": "https://withatwist.dev/strong-password-rubygem-hijacked.html"
},
{
"name": "https://github.com/bdmac/strong_password/releases",
"refsource": "MISC",
"tags": [
"Release Notes",
"Third Party Advisory"
],
"url": "https://github.com/bdmac/strong_password/releases"
},
{
"name": "https://rubygems.org/gems/strong_password/versions",
"refsource": "MISC",
"tags": [
"Release Notes",
"Third Party Advisory"
],
"url": "https://rubygems.org/gems/strong_password/versions"
},
{
"name": "https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-strong_password-0-0-7/",
"refsource": "MISC",
"tags": [
"Third Party Advisory"
],
"url": "https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-strong_password-0-0-7/"
}
]
}
},
"impact": {
"baseMetricV2": {
"acInsufInfo": false,
"cvssV2": {
"accessComplexity": "LOW",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "PARTIAL",
"baseScore": 7.5,
"confidentialityImpact": "PARTIAL",
"integrityImpact": "PARTIAL",
"vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
"version": "2.0"
},
"exploitabilityScore": 10.0,
"impactScore": 6.4,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"severity": "HIGH",
"userInteractionRequired": false
},
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.0"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9
}
},
"lastModifiedDate": "2019-07-10T13:10Z",
"publishedDate": "2019-07-08T14:15Z"
}
}
}
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.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- 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…