CVE-2019-6340 Request Drupal Rule confirmation


#1

Please confirm what Drupal Rule is providing protecting for the following:
Drupal:
CVE-2019-6340 – Some field types do not properly sanitize data from non-form sources. This can lead to arbitrary PHP code execution in some cases.

CVSS score has not been determined at this time

20∕25 AC:None/A:None/CI:All/II:All/E:Theoretical/TD:Uncommon

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 Servicesor RESTful Web Services in Drupal 7.


#2

Cloudflare has released D0017 and D0018 related to this vulnerability disclosure for customers utilizing Cloudflare’s WAF. Both are in simulate mode by default. Because of the nature of the vulnerability the best first option is likely to upgrade your software to a patched version. You can enable these rules to block but there is a potential for false positives which may break sites relying on the rest module.