{"url":"http://public2.vulnerablecode.io/api/packages/173540?format=json","purl":"pkg:gem/shakapacker@6.4.1","type":"gem","namespace":"","name":"shakapacker","version":"6.4.1","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":"9.5.0","latest_non_vulnerable_version":"9.5.0","affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/49624?format=json","vulnerability_id":"VCID-qzfd-cg4q-8ke1","summary":"Shakapacker has environment variable leak via EnvironmentPlugin that exposes secrets to client-side bundles\nSince 2017, the default webpack plugins have passed the entire `process.env` to `EnvironmentPlugin`. This pattern exposed ALL build environment variables to client-side JavaScript bundles whenever application code (or any dependency) referenced `process.env.VARIABLE_NAME`.\n\nThis is not a regression - the vulnerable code has existed since the original Webpacker implementation. No recent code change in Shakapacker triggered this issue.","references":[{"reference_url":"https://github.com/shakacode/shakapacker","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/shakacode/shakapacker"},{"reference_url":"https://github.com/shakacode/shakapacker/commit/3e06781b18383c5c2857ed3a722f7b91bdc1bc0e","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/shakacode/shakapacker/commit/3e06781b18383c5c2857ed3a722f7b91bdc1bc0e"},{"reference_url":"https://github.com/shakacode/shakapacker/pull/857","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/shakacode/shakapacker/pull/857"},{"reference_url":"https://github.com/advisories/GHSA-96qw-h329-v5rg","reference_id":"GHSA-96qw-h329-v5rg","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-96qw-h329-v5rg"},{"reference_url":"https://github.com/shakacode/shakapacker/security/advisories/GHSA-96qw-h329-v5rg","reference_id":"GHSA-96qw-h329-v5rg","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3","scoring_elements":""},{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/shakacode/shakapacker/security/advisories/GHSA-96qw-h329-v5rg"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/73260?format=json","purl":"pkg:gem/shakapacker@9.5.0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/shakapacker@9.5.0"}],"aliases":["GHSA-96qw-h329-v5rg"],"risk_score":4.0,"exploitability":"0.5","weighted_severity":"8.0","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-qzfd-cg4q-8ke1"}],"fixing_vulnerabilities":[],"risk_score":"4.0","resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/shakapacker@6.4.1"}