{"cve":"CVE-2019-3881","nvd":{"published":"2020-09-04T12:15:10.387","modified":"2026-06-17T02:35:47.860","status":"Modified","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'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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-427"],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=1651826","https://bugzilla.redhat.com/show_bug.cgi?id=1651826"],"products":["bundler:bundler"],"source":"nvd","synced_at":"2026-10-19T21:09:20.498348299+00:00"},"epss":{"cve":"CVE-2019-3881","score":0.00529,"percentile":0.44769,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-g98m-96g9-wfjq","url":"https://osv.dev/vulnerability/GHSA-g98m-96g9-wfjq","summary":"Insecure path handling in Bundler","modified":"2024-02-16T08:22:47.202315Z","packages":[{"ecosystem":"RubyGems","name":"bundler","purl":"pkg:gem/bundler","ranges":[">=1.14.0 <2.1.0"],"fixed":["2.1.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}