gsd-2019-8324
Vulnerability from gsd
Modified
2019-03-05 00:00
Details
An issue was discovered in RubyGems 2.6 and later through 3.0.2. A crafted
gem with a multi-line name is not handled correctly. Therefore, an attacker
could inject arbitrary code to the stub line of gemspec, which is eval-ed by
code in ensure_loadable_spec during the preinstall check.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2019-8324", "description": "An issue was discovered in RubyGems 2.6 and later through 3.0.2. A crafted gem with a multi-line name is not handled correctly. Therefore, an attacker could inject arbitrary code to the stub line of gemspec, which is eval-ed by code in ensure_loadable_spec during the preinstall check.", "id": "GSD-2019-8324", "references": [ "https://www.suse.com/security/cve/CVE-2019-8324.html", "https://www.debian.org/security/2019/dsa-4433", "https://access.redhat.com/errata/RHSA-2020:2769", "https://access.redhat.com/errata/RHSA-2019:1972", "https://access.redhat.com/errata/RHSA-2019:1429", "https://access.redhat.com/errata/RHSA-2019:1235", "https://access.redhat.com/errata/RHSA-2019:1151", "https://access.redhat.com/errata/RHSA-2019:1150", "https://access.redhat.com/errata/RHSA-2019:1148", "https://ubuntu.com/security/CVE-2019-8324", "https://advisories.mageia.org/CVE-2019-8324.html", "https://alas.aws.amazon.com/cve/html/CVE-2019-8324.html", "https://linux.oracle.com/cve/CVE-2019-8324.html" ] }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "affected": [ { "package": { "ecosystem": "RubyGems", "name": "rubygems-update", "purl": "pkg:gem/rubygems-update" } } ], "aliases": [ "CVE-2019-8324", "GHSA-76wm-422q-92mq" ], "details": "An issue was discovered in RubyGems 2.6 and later through 3.0.2. A crafted\ngem with a multi-line name is not handled correctly. Therefore, an attacker\ncould inject arbitrary code to the stub line of gemspec, which is eval-ed by\ncode in ensure_loadable_spec during the preinstall check.\n", "id": "GSD-2019-8324", "modified": "2019-03-05T00:00:00.000Z", "published": "2019-03-05T00:00:00.000Z", "references": [ { "type": "WEB", "url": "https://blog.rubygems.org/2019/03/05/security-advisories-2019-03.html" } ], "schema_version": "1.4.0", "severity": [ { "score": 8.8, "type": "CVSS_V3" } ], "summary": "Installing a malicious gem may lead to arbitrary code execution" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "cve@mitre.org", "ID": "CVE-2019-8324", "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": "An issue was discovered in RubyGems 2.6 and later through 3.0.2. A crafted gem with a multi-line name is not handled correctly. Therefore, an attacker could inject arbitrary code to the stub line of gemspec, which is eval-ed by code in ensure_loadable_spec during the preinstall check." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "n/a" } ] } ] }, "references": { "reference_data": [ { "name": "https://hackerone.com/reports/328571", "refsource": "MISC", "url": "https://hackerone.com/reports/328571" }, { "name": "openSUSE-SU-2019:1771", "refsource": "SUSE", "url": "http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html" }, { "name": "RHSA-2019:1972", "refsource": "REDHAT", "url": "https://access.redhat.com/errata/RHSA-2019:1972" }, { "name": "[debian-lts-announce] 20200816 [SECURITY] [DLA 2330-1] jruby security update", "refsource": "MLIST", "url": "https://lists.debian.org/debian-lts-announce/2020/08/msg00027.html" } ] } }, "github.com/rubysec/ruby-advisory-db": { "cve": "2019-8324", "cvss_v3": 8.8, "date": "2019-03-05", "description": "An issue was discovered in RubyGems 2.6 and later through 3.0.2. A crafted\ngem with a multi-line name is not handled correctly. Therefore, an attacker\ncould inject arbitrary code to the stub line of gemspec, which is eval-ed by\ncode in ensure_loadable_spec during the preinstall check.\n", "gem": "rubygems-update", "ghsa": "76wm-422q-92mq", "library": "rubygems", "patched_versions": [ "\u003e= 3.0.3", "~\u003e 2.7.9" ], "title": "Installing a malicious gem may lead to arbitrary code execution", "unaffected_versions": [ "\u003c 2.6" ], "url": "https://blog.rubygems.org/2019/03/05/security-advisories-2019-03.html" }, "gitlab.com": { "advisories": [ { "affected_range": "\u003e=2.6.0 \u003c=3.0.2", "affected_versions": "All versions starting from 2.6.0 up to 3.0.2", "cvss_v2": "AV:N/AC:M/Au:N/C:P/I:P/A:P", "cvss_v3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "cwe_ids": [ "CWE-1035", "CWE-937", "CWE-94" ], "date": "2019-07-21", "description": "A crafted gem with a multi-line name is not handled correctly. Therefore, an attacker could inject arbitrary code to the stub line of gemspec, which is evaluated by `ensure_loadable_spec` during the pre-installation check.", "fixed_versions": [ "3.0.3" ], "identifier": "CVE-2019-8324", "identifiers": [ "CVE-2019-8324" ], "not_impacted": "All versions before 2.6.0, all versions after 3.0.2", "package_slug": "gem/rubygems-update", "pubdate": "2019-06-17", "solution": "Upgrade to version 3.0.3 or above.", "title": "Improper Input Validation", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2019-8324" ], "uuid": "b8a3d91c-cb2a-47e3-ba4c-5a4a5b2f7104" } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:rubygems:rubygems:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndIncluding": "3.0.2", "versionStartIncluding": "2.6.0", "vulnerable": true } ], "operator": "OR" }, { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true } ], "operator": "OR" }, { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true } ], "operator": "OR" }, { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "cve@mitre.org", "ID": "CVE-2019-8324" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "An issue was discovered in RubyGems 2.6 and later through 3.0.2. A crafted gem with a multi-line name is not handled correctly. Therefore, an attacker could inject arbitrary code to the stub line of gemspec, which is eval-ed by code in ensure_loadable_spec during the preinstall check." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-94" } ] } ] }, "references": { "reference_data": [ { "name": "https://hackerone.com/reports/328571", "refsource": "MISC", "tags": [ "Permissions Required", "Third Party Advisory" ], "url": "https://hackerone.com/reports/328571" }, { "name": "openSUSE-SU-2019:1771", "refsource": "SUSE", "tags": [ "Mailing List", "Third Party Advisory" ], "url": "http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html" }, { "name": "RHSA-2019:1972", "refsource": "REDHAT", "tags": [ "Third Party Advisory" ], "url": "https://access.redhat.com/errata/RHSA-2019:1972" }, { "name": "[debian-lts-announce] 20200816 [SECURITY] [DLA 2330-1] jruby security update", "refsource": "MLIST", "tags": [ "Mailing List", "Third Party Advisory" ], "url": "https://lists.debian.org/debian-lts-announce/2020/08/msg00027.html" } ] } }, "impact": { "baseMetricV2": { "acInsufInfo": false, "cvssV2": { "accessComplexity": "MEDIUM", "accessVector": "NETWORK", "authentication": "NONE", "availabilityImpact": "PARTIAL", "baseScore": 6.8, "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P", "version": "2.0" }, "exploitabilityScore": 8.6, "impactScore": 6.4, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "MEDIUM", "userInteractionRequired": true }, "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 8.8, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "REQUIRED", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "version": "3.1" }, "exploitabilityScore": 2.8, "impactScore": 5.9 } }, "lastModifiedDate": "2020-08-24T17:37Z", "publishedDate": "2019-06-17T19: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.
- 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.