GSD-2019-3881
Vulnerability from gsd - Updated: 2018-04-23 00:00Details
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…
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
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.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
Loading timeline…
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.