gsd-2019-3881
Vulnerability from gsd
Modified
2018-04-23 00:00
Details
Bundler prior to 2.1.0 uses a predictable path in /tmp/, created with
insecure permissions as a storage location for gems, if locations under the user's
home directory are not available. If Bundler is used in a scenario where the user
does not have a writable home directory, an attacker could place malicious code
in this directory that would be later loaded and executed.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2019-3881", "description": "Bundler prior to 2.1.0 uses a predictable path in /tmp/, created with insecure permissions as a storage location for gems, if locations under the user\u0027s home directory are not available. If Bundler is used in a scenario where the user does not have a writable home directory, an attacker could place malicious code in this directory that would be later loaded and executed.", "id": "GSD-2019-3881", "references": [ "https://www.suse.com/security/cve/CVE-2019-3881.html", "https://access.redhat.com/errata/RHSA-2021:2588", "https://access.redhat.com/errata/RHSA-2021:2230", "https://linux.oracle.com/cve/CVE-2019-3881.html", "https://ubuntu.com/security/CVE-2019-3881" ] }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "affected": [ { "package": { "ecosystem": "RubyGems", "name": "bundler", "purl": "pkg:gem/bundler" } } ], "aliases": [ "CVE-2019-3881", "GHSA-g98m-96g9-wfjq" ], "details": "Bundler prior to 2.1.0 uses a predictable path in /tmp/, created with\ninsecure permissions as a storage location for gems, if locations under the user\u0027s\nhome directory are not available. If Bundler is used in a scenario where the user\ndoes not have a writable home directory, an attacker could place malicious code\nin this directory that would be later loaded and executed.\n", "id": "GSD-2019-3881", "modified": "2018-04-23T00:00:00.000Z", "published": "2018-04-23T00:00:00.000Z", "references": [ { "type": "WEB", "url": "https://github.com/advisories/GHSA-g98m-96g9-wfjq" } ], "schema_version": "1.4.0", "severity": [ { "score": 7.0, "type": "CVSS_V3" } ], "summary": "Insecure path handling in Bundler" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "secalert@redhat.com", "ID": "CVE-2019-3881", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "rubygem-bundler", "version": { "version_data": [ { "version_value": "bundler versions before 2.1.0" } ] } } ] }, "vendor_name": "n/a" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "Bundler prior to 2.1.0 uses a predictable path in /tmp/, created with insecure permissions as a storage location for gems, if locations under the user\u0027s home directory are not available. If Bundler is used in a scenario where the user does not have a writable home directory, an attacker could place malicious code in this directory that would be later loaded and executed." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-427" } ] } ] }, "references": { "reference_data": [ { "name": "https://bugzilla.redhat.com/show_bug.cgi?id=1651826", "refsource": "MISC", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1651826" } ] } }, "github.com/rubysec/ruby-advisory-db": { "cve": "2019-3881", "cvss_v3": 7.0, "date": "2018-04-23", "description": "Bundler prior to 2.1.0 uses a predictable path in /tmp/, created with\ninsecure permissions as a storage location for gems, if locations under the user\u0027s\nhome directory are not available. If Bundler is used in a scenario where the user\ndoes not have a writable home directory, an attacker could place malicious code\nin this directory that would be later loaded and executed.\n", "gem": "bundler", "ghsa": "g98m-96g9-wfjq", "patched_versions": [ "\u003e= 2.1.0" ], "title": "Insecure path handling in Bundler", "unaffected_versions": [ "\u003c 1.14.0" ], "url": "https://github.com/advisories/GHSA-g98m-96g9-wfjq" }, "gitlab.com": { "advisories": [ { "affected_range": "\u003c2.1.0", "affected_versions": "All versions before 2.1.0", "cvss_v2": "AV:L/AC:M/Au:N/C:P/I:P/A:P", "cvss_v3": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H", "cwe_ids": [ "CWE-1035", "CWE-552", "CWE-937" ], "date": "2020-09-16", "description": "Bundler uses a predictable path in /tmp/, created with insecure permissions as a storage location for gems, if locations under the user\u0027s home directory are not available. If Bundler is used in a scenario where the user does not have a writable home directory, an attacker could place malicious code in this directory that would be later loaded and executed.", "fixed_versions": [ "2.1.0" ], "identifier": "CVE-2019-3881", "identifiers": [ "CVE-2019-3881" ], "not_impacted": "All versions starting from 2.1.0", "package_slug": "gem/bundler", "pubdate": "2020-09-04", "solution": "Upgrade to version 2.1.0 or above.", "title": "Files or Directories Accessible to External Parties", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2019-3881", "https://bugzilla.redhat.com/show_bug.cgi?id=1651826" ], "uuid": "6824d25e-fcf5-47a9-8492-8c2393aec12d" } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:bundler:bundler:*:*:*:*:*:ruby:*:*", "cpe_name": [], "versionEndExcluding": "2.1.0", "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "secalert@redhat.com", "ID": "CVE-2019-3881" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "Bundler prior to 2.1.0 uses a predictable path in /tmp/, created with insecure permissions as a storage location for gems, if locations under the user\u0027s home directory are not available. If Bundler is used in a scenario where the user does not have a writable home directory, an attacker could place malicious code in this directory that would be later loaded and executed." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-427" } ] } ] }, "references": { "reference_data": [ { "name": "https://bugzilla.redhat.com/show_bug.cgi?id=1651826", "refsource": "MISC", "tags": [ "Issue Tracking", "Patch", "Third Party Advisory" ], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1651826" } ] } }, "impact": { "baseMetricV2": { "acInsufInfo": false, "cvssV2": { "accessComplexity": "MEDIUM", "accessVector": "LOCAL", "authentication": "NONE", "availabilityImpact": "PARTIAL", "baseScore": 4.4, "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "vectorString": "AV:L/AC:M/Au:N/C:P/I:P/A:P", "version": "2.0" }, "exploitabilityScore": 3.4, "impactScore": 6.4, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "MEDIUM", "userInteractionRequired": true }, "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "LOCAL", "availabilityImpact": "HIGH", "baseScore": 7.8, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "REQUIRED", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "version": "3.1" }, "exploitabilityScore": 1.8, "impactScore": 5.9 } }, "lastModifiedDate": "2022-11-08T19:50Z", "publishedDate": "2020-09-04T12: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.