{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/43516?format=json","vulnerability_id":"VCID-9nk8-dban-g7h9","summary":"Drupal Core Remote Code Execution Vulnerability\nSome field types do not properly sanitize data from non-form sources in Drupal 8.5.x before 8.5.11 and Drupal 8.6.x before 8.6.10. This can lead to arbitrary PHP code execution in some cases. A site is only affected by this if one of the following conditions is met: The site has the Drupal 8 core RESTful Web Services (rest) module enabled and allows PATCH or POST requests, or the site has another web services module enabled, like JSON:API in Drupal 8, or Services or RESTful Web Services in Drupal 7. (Note: The Drupal 7 Services module itself does not require an update at this time, but you should apply other contributed updates associated with this advisory if Services is in use.)","aliases":[{"alias":"CVE-2019-6340"},{"alias":"GHSA-3gx6-h57h-rm27"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/62442?format=json","purl":"pkg:composer/drupal/core@7.62.0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core@7.62.0"},{"url":"http://public2.vulnerablecode.io/api/packages/62443?format=json","purl":"pkg:composer/drupal/core@8.5.11","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core@8.5.11"},{"url":"http://public2.vulnerablecode.io/api/packages/62441?format=json","purl":"pkg:composer/drupal/core@8.6.10","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core@8.6.10"},{"url":"http://public2.vulnerablecode.io/api/packages/62772?format=json","purl":"pkg:composer/drupal/drupal@7.62.0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@7.62.0"},{"url":"http://public2.vulnerablecode.io/api/packages/62773?format=json","purl":"pkg:composer/drupal/drupal@8.5.11","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@8.5.11"},{"url":"http://public2.vulnerablecode.io/api/packages/62774?format=json","purl":"pkg:composer/drupal/drupal@8.6.10","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@8.6.10"}],"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/57653?format=json","purl":"pkg:composer/drupal/core@8.6.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-6c6t-kmb3-2qcm"},{"vulnerability":"VCID-84eq-cq89-9qhm"},{"vulnerability":"VCID-9nk8-dban-g7h9"},{"vulnerability":"VCID-e69p-v2ws-vufj"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core@8.6.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/57659?format=json","purl":"pkg:composer/drupal/drupal@8.6.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-6c6t-kmb3-2qcm"},{"vulnerability":"VCID-9nk8-dban-g7h9"},{"vulnerability":"VCID-e69p-v2ws-vufj"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@8.6.0"}],"references":[{"reference_url":"https://github.com/drupal/drupal","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/drupal/drupal"},{"reference_url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-6340","reference_id":"","reference_type":"","scores":[],"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-6340"},{"reference_url":"https://www.drupal.org/sa-core-2019-003","reference_id":"","reference_type":"","scores":[],"url":"https://www.drupal.org/sa-core-2019-003"},{"reference_url":"https://www.exploit-db.com/exploits/46452","reference_id":"","reference_type":"","scores":[],"url":"https://www.exploit-db.com/exploits/46452"},{"reference_url":"https://www.exploit-db.com/exploits/46459","reference_id":"","reference_type":"","scores":[],"url":"https://www.exploit-db.com/exploits/46459"},{"reference_url":"https://www.exploit-db.com/exploits/46510","reference_id":"","reference_type":"","scores":[],"url":"https://www.exploit-db.com/exploits/46510"},{"reference_url":"https://www.synology.com/security/advisory/Synology_SA_19_09","reference_id":"","reference_type":"","scores":[],"url":"https://www.synology.com/security/advisory/Synology_SA_19_09"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2019-6340","reference_id":"CVE-2019-6340","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-6340"},{"reference_url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2019-6340.yaml","reference_id":"CVE-2019-6340.YAML","reference_type":"","scores":[],"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2019-6340.yaml"},{"reference_url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2019-6340.yaml","reference_id":"CVE-2019-6340.YAML","reference_type":"","scores":[],"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2019-6340.yaml"},{"reference_url":"https://github.com/advisories/GHSA-3gx6-h57h-rm27","reference_id":"GHSA-3gx6-h57h-rm27","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-3gx6-h57h-rm27"}],"weaknesses":[{"cwe_id":502,"name":"Deserialization of Untrusted Data","description":"The product deserializes untrusted data without sufficiently verifying that the resulting data will be valid."},{"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":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."}],"exploits":[],"severity_range_score":null,"exploitability":null,"weighted_severity":null,"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-9nk8-dban-g7h9"}