{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/45048?format=json","vulnerability_id":"VCID-a7ss-tkb6-gkge","summary":"Improper access control\nIn some situations, the Image module does not correctly check access to image files not stored in the standard public files directory when generating derivative images using the image styles system. Access to a non-public file is checked only if it is stored in the \"private\" file system. However, some contributed modules provide additional file systems, or schemes, which may lead to this vulnerability. This vulnerability is mitigated by the fact that it only applies when the site sets (Drupal 9) $config['image.settings']['allow_insecure_derivatives'] or (Drupal 7) $conf['image_allow_insecure_derivatives'] to TRUE. The recommended and default setting is FALSE, and Drupal core does not provide a way to change that in the admin UI. Some sites may require configuration changes following this security release. Review the release notes for your Drupal version if you have issues accessing files or image styles after updating.","aliases":[{"alias":"CVE-2022-25275"},{"alias":"GHSA-xh3v-6f9j-wxw3"},{"alias":"GMS-2022-3362"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/64975?format=json","purl":"pkg:composer/drupal/core@9.3.19","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core@9.3.19"},{"url":"http://public2.vulnerablecode.io/api/packages/64976?format=json","purl":"pkg:composer/drupal/core@9.4.3","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core@9.4.3"},{"url":"http://public2.vulnerablecode.io/api/packages/64970?format=json","purl":"pkg:composer/drupal/drupal@7.91.0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@7.91.0"},{"url":"http://public2.vulnerablecode.io/api/packages/64971?format=json","purl":"pkg:composer/drupal/drupal@9.3.19","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@9.3.19"},{"url":"http://public2.vulnerablecode.io/api/packages/64972?format=json","purl":"pkg:composer/drupal/drupal@9.4.3","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@9.4.3"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/52626?format=json","purl":"pkg:composer/drupal/core@7.0.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-2g67-a42m-qfbh"},{"vulnerability":"VCID-6rtn-zphz-sydn"},{"vulnerability":"VCID-84eq-cq89-9qhm"},{"vulnerability":"VCID-9nk8-dban-g7h9"},{"vulnerability":"VCID-a3s2-c4k2-4ufn"},{"vulnerability":"VCID-a4u4-ga84-wyf9"},{"vulnerability":"VCID-a7ss-tkb6-gkge"},{"vulnerability":"VCID-bge7-rqsx-gfee"},{"vulnerability":"VCID-e12q-qavs-qybu"},{"vulnerability":"VCID-e69p-v2ws-vufj"},{"vulnerability":"VCID-e8un-nbkk-cbf9"},{"vulnerability":"VCID-ey9c-4yhy-3qa5"},{"vulnerability":"VCID-mscp-wvvx-zfh3"},{"vulnerability":"VCID-n5n3-p5yy-13d9"},{"vulnerability":"VCID-pmmq-8s2m-h7dp"},{"vulnerability":"VCID-qsuc-53pg-zkda"},{"vulnerability":"VCID-tpzm-u3qp-akc8"},{"vulnerability":"VCID-wsv7-je8g-sqet"},{"vulnerability":"VCID-wszp-2es5-z7fy"},{"vulnerability":"VCID-x34m-u169-1bce"},{"vulnerability":"VCID-yygb-pp11-5udj"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core@7.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/52630?format=json","purl":"pkg:composer/drupal/core@8.0.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-2989-fmjz-nkby"},{"vulnerability":"VCID-2fas-m6vh-myhc"},{"vulnerability":"VCID-2t34-82p3-73c3"},{"vulnerability":"VCID-31qy-vagp-83b6"},{"vulnerability":"VCID-3xk4-qwaq-5yaj"},{"vulnerability":"VCID-4dpp-gg2v-q3et"},{"vulnerability":"VCID-56ze-2yw2-bfh8"},{"vulnerability":"VCID-5c5c-m7ba-kqct"},{"vulnerability":"VCID-7v89-2sss-hfaz"},{"vulnerability":"VCID-9nk8-dban-g7h9"},{"vulnerability":"VCID-a3s2-c4k2-4ufn"},{"vulnerability":"VCID-a4u4-ga84-wyf9"},{"vulnerability":"VCID-a7ss-tkb6-gkge"},{"vulnerability":"VCID-ah3h-t9qa-gudr"},{"vulnerability":"VCID-ard5-3cjv-1beu"},{"vulnerability":"VCID-asm8-guag-b3ep"},{"vulnerability":"VCID-avmn-kqky-83dd"},{"vulnerability":"VCID-ay6b-1a7z-qkas"},{"vulnerability":"VCID-bq2j-t19h-zyad"},{"vulnerability":"VCID-dav9-pgdh-8yey"},{"vulnerability":"VCID-dyhz-g3nv-yuc3"},{"vulnerability":"VCID-e12q-qavs-qybu"},{"vulnerability":"VCID-e8un-nbkk-cbf9"},{"vulnerability":"VCID-egtv-y9w1-skgr"},{"vulnerability":"VCID-jrhg-3271-tqdy"},{"vulnerability":"VCID-kzrs-mrga-nyej"},{"vulnerability":"VCID-mm13-6dhq-nqfb"},{"vulnerability":"VCID-myja-t33q-q3cv"},{"vulnerability":"VCID-nacy-y1qt-5yhb"},{"vulnerability":"VCID-ng6g-hvc2-bkg4"},{"vulnerability":"VCID-p54u-b18k-jyft"},{"vulnerability":"VCID-pgnc-fq4m-3kaz"},{"vulnerability":"VCID-pmmq-8s2m-h7dp"},{"vulnerability":"VCID-pnme-dc73-efcb"},{"vulnerability":"VCID-qsuc-53pg-zkda"},{"vulnerability":"VCID-rd4g-h1j9-23cb"},{"vulnerability":"VCID-rsc6-y1uv-6bfq"},{"vulnerability":"VCID-t89y-c9hq-9bhk"},{"vulnerability":"VCID-ta99-gcmk-2qc8"},{"vulnerability":"VCID-tpzm-u3qp-akc8"},{"vulnerability":"VCID-w4ks-ufnz-vfav"},{"vulnerability":"VCID-wapd-e3mu-sffn"},{"vulnerability":"VCID-wsv7-je8g-sqet"},{"vulnerability":"VCID-wszp-2es5-z7fy"},{"vulnerability":"VCID-x34m-u169-1bce"},{"vulnerability":"VCID-y1nb-prqc-suaj"},{"vulnerability":"VCID-yq4q-hydz-vuga"},{"vulnerability":"VCID-yygb-pp11-5udj"},{"vulnerability":"VCID-zqer-y4s4-hqhy"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core@8.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/64974?format=json","purl":"pkg:composer/drupal/core@9.4.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3xk4-qwaq-5yaj"},{"vulnerability":"VCID-a7ss-tkb6-gkge"},{"vulnerability":"VCID-dyhz-g3nv-yuc3"},{"vulnerability":"VCID-rd4g-h1j9-23cb"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core@9.4.0"},{"url":"http://public2.vulnerablecode.io/api/packages/56783?format=json","purl":"pkg:composer/drupal/drupal@7.0.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-2g67-a42m-qfbh"},{"vulnerability":"VCID-9cr8-u5tp-yuc9"},{"vulnerability":"VCID-9nk8-dban-g7h9"},{"vulnerability":"VCID-a4u4-ga84-wyf9"},{"vulnerability":"VCID-a7ss-tkb6-gkge"},{"vulnerability":"VCID-bge7-rqsx-gfee"},{"vulnerability":"VCID-dnc7-jg8m-8fh3"},{"vulnerability":"VCID-e69p-v2ws-vufj"},{"vulnerability":"VCID-e8un-nbkk-cbf9"},{"vulnerability":"VCID-nn8g-m52e-5kfe"},{"vulnerability":"VCID-nwza-zzn3-u3eb"},{"vulnerability":"VCID-pmmq-8s2m-h7dp"},{"vulnerability":"VCID-s144-c7ps-aqbj"},{"vulnerability":"VCID-tbah-jrah-a3fg"},{"vulnerability":"VCID-tpzm-u3qp-akc8"},{"vulnerability":"VCID-upk3-jyze-e3gx"},{"vulnerability":"VCID-wsv7-je8g-sqet"},{"vulnerability":"VCID-wszp-2es5-z7fy"},{"vulnerability":"VCID-x34m-u169-1bce"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@7.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/52632?format=json","purl":"pkg:composer/drupal/drupal@8.0.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-2989-fmjz-nkby"},{"vulnerability":"VCID-31qy-vagp-83b6"},{"vulnerability":"VCID-3xk4-qwaq-5yaj"},{"vulnerability":"VCID-56ze-2yw2-bfh8"},{"vulnerability":"VCID-5c5c-m7ba-kqct"},{"vulnerability":"VCID-6rtn-zphz-sydn"},{"vulnerability":"VCID-9nk8-dban-g7h9"},{"vulnerability":"VCID-a4u4-ga84-wyf9"},{"vulnerability":"VCID-a7ss-tkb6-gkge"},{"vulnerability":"VCID-ah3h-t9qa-gudr"},{"vulnerability":"VCID-ard5-3cjv-1beu"},{"vulnerability":"VCID-asm8-guag-b3ep"},{"vulnerability":"VCID-avmn-kqky-83dd"},{"vulnerability":"VCID-ay6b-1a7z-qkas"},{"vulnerability":"VCID-bndv-n7w9-43b4"},{"vulnerability":"VCID-bq2j-t19h-zyad"},{"vulnerability":"VCID-dnc7-jg8m-8fh3"},{"vulnerability":"VCID-dyhz-g3nv-yuc3"},{"vulnerability":"VCID-e8un-nbkk-cbf9"},{"vulnerability":"VCID-egtv-y9w1-skgr"},{"vulnerability":"VCID-eyew-pw17-ryfj"},{"vulnerability":"VCID-ks17-b29e-73au"},{"vulnerability":"VCID-mm13-6dhq-nqfb"},{"vulnerability":"VCID-mscp-wvvx-zfh3"},{"vulnerability":"VCID-n5n3-p5yy-13d9"},{"vulnerability":"VCID-nacy-y1qt-5yhb"},{"vulnerability":"VCID-ng6g-hvc2-bkg4"},{"vulnerability":"VCID-nn8g-m52e-5kfe"},{"vulnerability":"VCID-pmmq-8s2m-h7dp"},{"vulnerability":"VCID-pnme-dc73-efcb"},{"vulnerability":"VCID-r4ja-mndm-uyge"},{"vulnerability":"VCID-rd4g-h1j9-23cb"},{"vulnerability":"VCID-rsc6-y1uv-6bfq"},{"vulnerability":"VCID-s5qd-cpvc-c3cd"},{"vulnerability":"VCID-ta99-gcmk-2qc8"},{"vulnerability":"VCID-tbah-jrah-a3fg"},{"vulnerability":"VCID-tbk2-zprq-27c8"},{"vulnerability":"VCID-tpzm-u3qp-akc8"},{"vulnerability":"VCID-w3x8-db6e-kued"},{"vulnerability":"VCID-w4ks-ufnz-vfav"},{"vulnerability":"VCID-wapd-e3mu-sffn"},{"vulnerability":"VCID-wsv7-je8g-sqet"},{"vulnerability":"VCID-wszp-2es5-z7fy"},{"vulnerability":"VCID-x34m-u169-1bce"},{"vulnerability":"VCID-y1nb-prqc-suaj"},{"vulnerability":"VCID-zqer-y4s4-hqhy"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@8.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/64969?format=json","purl":"pkg:composer/drupal/drupal@9.4.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3xk4-qwaq-5yaj"},{"vulnerability":"VCID-a7ss-tkb6-gkge"},{"vulnerability":"VCID-bge7-rqsx-gfee"},{"vulnerability":"VCID-dyhz-g3nv-yuc3"},{"vulnerability":"VCID-rd4g-h1j9-23cb"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@9.4.0"}],"references":[{"reference_url":"https://github.com/drupal/core/commit/2d5f47fc8a166115f56c2330a81e83abe22445cf","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/drupal/core/commit/2d5f47fc8a166115f56c2330a81e83abe22445cf"},{"reference_url":"https://github.com/drupal/core/commit/e2fbf63700819cb470a1be425798f1a3f2020116","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/drupal/core/commit/e2fbf63700819cb470a1be425798f1a3f2020116"},{"reference_url":"https://www.drupal.org/sa-core-2022-012","reference_id":"","reference_type":"","scores":[],"url":"https://www.drupal.org/sa-core-2022-012"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25275","reference_id":"CVE-2022-25275","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25275"},{"reference_url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2022-25275.yaml","reference_id":"CVE-2022-25275.YAML","reference_type":"","scores":[],"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2022-25275.yaml"},{"reference_url":"https://github.com/advisories/GHSA-xh3v-6f9j-wxw3","reference_id":"GHSA-xh3v-6f9j-wxw3","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-xh3v-6f9j-wxw3"}],"weaknesses":[{"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."},{"cwe_id":284,"name":"Improper Access Control","description":"The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor."}],"exploits":[],"severity_range_score":null,"exploitability":null,"weighted_severity":null,"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-a7ss-tkb6-gkge"}