{"id":"CVE-2019-3881","state":"PUBLISHED","title":"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 avai","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.","publishedAt":"2020-09-04T00:00:00.000Z","updatedAt":"2024-08-04T19:19:18.600Z","severity":null,"assigner":"redhat","products":["n/a rubygem-bundler"],"affected":[{"vendor":"n/a","product":"rubygem-bundler","versions":[{"version":"bundler versions before 2.1.0","status":"affected"}]}],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=1651826"],"weaknesses":["CWE-427"],"ingestedAt":"2026-10-29T19:45:59.128Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/3xxx/CVE-2019-3881.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2019-3881","state":"PUBLISHED","datePublished":"2020-09-04T00:00:00.000Z","dateUpdated":"2024-08-04T19:19:18.600Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2019-01-03T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"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'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."}],"affected":[{"vendor":"n/a","product":"rubygem-bundler","versions":[{"version":"bundler versions before 2.1.0","status":"affected"}]}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1651826"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-427","type":"CWE","lang":"en","description":"CWE-427"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2022-10-07T00:00:00.000Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1651826","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T19:19:18.600Z"}}]}}}