{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/34124?format=json","vulnerability_id":"VCID-3efe-hmaw-u7fn","summary":"Arbitrary file write in actionpack-page_caching gem\nThere is a vulnerability in actionpack_page-caching gem < v1.2.1 that allows an attacker to write arbitrary files to a web server, potentially resulting in remote code execution if the attacker can write unescaped ERB to a view.","aliases":[{"alias":"CVE-2020-8159"},{"alias":"GHSA-mg5p-95m9-rmfp"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/938061?format=json","purl":"pkg:deb/debian/ruby-actionpack-page-caching@1.2.2-1?distro=bullseye","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-actionpack-page-caching@1.2.2-1%3Fdistro=bullseye"},{"url":"http://public2.vulnerablecode.io/api/packages/1057662?format=json","purl":"pkg:deb/debian/ruby-actionpack-page-caching@1.2.2-1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-actionpack-page-caching@1.2.2-1"},{"url":"http://public2.vulnerablecode.io/api/packages/938060?format=json","purl":"pkg:deb/debian/ruby-actionpack-page-caching@1.2.4-1?distro=bullseye","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-actionpack-page-caching@1.2.4-1%3Fdistro=bullseye"},{"url":"http://public2.vulnerablecode.io/api/packages/73619?format=json","purl":"pkg:gem/actionpack-page_caching@1.2.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-gjey-bqtd-kqa1"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/actionpack-page_caching@1.2.1"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/1057660?format=json","purl":"pkg:deb/debian/ruby-actionpack-page-caching@1.0.2-4","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3efe-hmaw-u7fn"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-actionpack-page-caching@1.0.2-4"},{"url":"http://public2.vulnerablecode.io/api/packages/1057661?format=json","purl":"pkg:deb/debian/ruby-actionpack-page-caching@1.1.0-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3efe-hmaw-u7fn"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-actionpack-page-caching@1.1.0-1"},{"url":"http://public2.vulnerablecode.io/api/packages/206048?format=json","purl":"pkg:gem/actionpack-page_caching@1.0.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3efe-hmaw-u7fn"},{"vulnerability":"VCID-gjey-bqtd-kqa1"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/actionpack-page_caching@1.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/206049?format=json","purl":"pkg:gem/actionpack-page_caching@1.0.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3efe-hmaw-u7fn"},{"vulnerability":"VCID-gjey-bqtd-kqa1"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/actionpack-page_caching@1.0.1"},{"url":"http://public2.vulnerablecode.io/api/packages/206050?format=json","purl":"pkg:gem/actionpack-page_caching@1.0.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3efe-hmaw-u7fn"},{"vulnerability":"VCID-gjey-bqtd-kqa1"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/actionpack-page_caching@1.0.2"},{"url":"http://public2.vulnerablecode.io/api/packages/206051?format=json","purl":"pkg:gem/actionpack-page_caching@1.1.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3efe-hmaw-u7fn"},{"vulnerability":"VCID-gjey-bqtd-kqa1"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/actionpack-page_caching@1.1.0"},{"url":"http://public2.vulnerablecode.io/api/packages/206052?format=json","purl":"pkg:gem/actionpack-page_caching@1.1.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3efe-hmaw-u7fn"},{"vulnerability":"VCID-gjey-bqtd-kqa1"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/actionpack-page_caching@1.1.1"},{"url":"http://public2.vulnerablecode.io/api/packages/206053?format=json","purl":"pkg:gem/actionpack-page_caching@1.2.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3efe-hmaw-u7fn"},{"vulnerability":"VCID-gjey-bqtd-kqa1"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/actionpack-page_caching@1.2.0"}],"references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2020-8159","reference_id":"","reference_type":"","scores":[{"value":"0.0542","scoring_system":"epss","scoring_elements":"0.9024","published_at":"2026-05-15T12:55:00Z"},{"value":"0.0542","scoring_system":"epss","scoring_elements":"0.90165","published_at":"2026-04-21T12:55:00Z"},{"value":"0.0542","scoring_system":"epss","scoring_elements":"0.90179","published_at":"2026-04-24T12:55:00Z"},{"value":"0.0542","scoring_system":"epss","scoring_elements":"0.90178","published_at":"2026-04-26T12:55:00Z"},{"value":"0.0542","scoring_system":"epss","scoring_elements":"0.90176","published_at":"2026-04-29T12:55:00Z"},{"value":"0.0542","scoring_system":"epss","scoring_elements":"0.90187","published_at":"2026-05-05T12:55:00Z"},{"value":"0.0542","scoring_system":"epss","scoring_elements":"0.90203","published_at":"2026-05-07T12:55:00Z"},{"value":"0.0542","scoring_system":"epss","scoring_elements":"0.90214","published_at":"2026-05-09T12:55:00Z"},{"value":"0.0542","scoring_system":"epss","scoring_elements":"0.90209","published_at":"2026-05-11T12:55:00Z"},{"value":"0.0542","scoring_system":"epss","scoring_elements":"0.90218","published_at":"2026-05-12T12:55:00Z"},{"value":"0.0542","scoring_system":"epss","scoring_elements":"0.90232","published_at":"2026-05-14T12:55:00Z"},{"value":"0.0542","scoring_system":"epss","scoring_elements":"0.90108","published_at":"2026-04-01T12:55:00Z"},{"value":"0.0542","scoring_system":"epss","scoring_elements":"0.90111","published_at":"2026-04-02T12:55:00Z"},{"value":"0.0542","scoring_system":"epss","scoring_elements":"0.90123","published_at":"2026-04-04T12:55:00Z"},{"value":"0.0542","scoring_system":"epss","scoring_elements":"0.90127","published_at":"2026-04-07T12:55:00Z"},{"value":"0.0542","scoring_system":"epss","scoring_elements":"0.90143","published_at":"2026-04-08T12:55:00Z"},{"value":"0.0542","scoring_system":"epss","scoring_elements":"0.90149","published_at":"2026-04-09T12:55:00Z"},{"value":"0.0542","scoring_system":"epss","scoring_elements":"0.90157","published_at":"2026-04-11T12:55:00Z"},{"value":"0.0542","scoring_system":"epss","scoring_elements":"0.90156","published_at":"2026-04-12T12:55:00Z"},{"value":"0.0542","scoring_system":"epss","scoring_elements":"0.90151","published_at":"2026-04-13T12:55:00Z"},{"value":"0.0542","scoring_system":"epss","scoring_elements":"0.90168","published_at":"2026-04-18T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2020-8159"},{"reference_url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8159","reference_id":"","reference_type":"","scores":[],"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8159"},{"reference_url":"https://github.com/rails/actionpack-page_caching/commit/127da70a559bed4fc573fdb4a6d498a7d5815ce2","reference_id":"","reference_type":"","scores":[{"value":"9.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/rails/actionpack-page_caching/commit/127da70a559bed4fc573fdb4a6d498a7d5815ce2"},{"reference_url":"https://groups.google.com/forum/#!topic/rubyonrails-security/CFRVkEytdP8","reference_id":"","reference_type":"","scores":[{"value":"9.8","scoring_system":"cvssv3","scoring_elements":""},{"value":"9.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://groups.google.com/forum/#!topic/rubyonrails-security/CFRVkEytdP8"},{"reference_url":"https://lists.debian.org/debian-lts-announce/2021/07/msg00019.html","reference_id":"","reference_type":"","scores":[{"value":"9.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://lists.debian.org/debian-lts-announce/2021/07/msg00019.html"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8159","reference_id":"","reference_type":"","scores":[{"value":"9.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8159"},{"reference_url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960680","reference_id":"960680","reference_type":"","scores":[],"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960680"},{"reference_url":"https://github.com/advisories/GHSA-mg5p-95m9-rmfp","reference_id":"GHSA-mg5p-95m9-rmfp","reference_type":"","scores":[{"value":"CRITICAL","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-mg5p-95m9-rmfp"}],"weaknesses":[{"cwe_id":22,"name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory."},{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."}],"exploits":[],"severity_range_score":"9.0 - 10.0","exploitability":"0.5","weighted_severity":"9.0","risk_score":4.5,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-3efe-hmaw-u7fn"}