Known exploited vulnerability

CVE-2019-6340

highCVSS 3.1 8.1In CISA KEVEPSS 92%Published · Drupal

The short answer

CVE-2019-6340 affects Drupal Drupal Core and is rated high (CVSS 8.1). CISA added it to the Known Exploited Vulnerabilities catalog on 2022-03-25: attackers are using it, so patch it first. Fixed versions are published for drupal/core (8.6.10, 7.62.0, 8.5.11) and drupal/drupal (7.62.0, 8.5.11, 8.6.10).

What it is

Some 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.)

Weakness: CWE-502.

Severity

8.1 high

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploited (CISA KEV)

Yes, since Mar 25, 2022

Federal due date Apr 15, 2022

EPSS, next 30 days

92%

Higher than 100% of scored CVEs

How it can be exploited

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

What CISA says to do

Apply updates per vendor instructions.

Affected packages and fixed versions

PackageEcosystemFixed inAdvisory
drupal/corePackagist8.6.10, 7.62.0, 8.5.11GHSA-3gx6-h57h-rm27
drupal/drupalPackagist7.62.0, 8.5.11, 8.6.10GHSA-3gx6-h57h-rm27

Is it in your code? Drop your lockfile into the free vulnerability check, or let vulnerability watch check your repository every day and open the upgrade as a pull request.

Affected products

Drupal Core. NVD's record lists the exact affected versions.

References

Questions

Is CVE-2019-6340 being exploited?

Yes. CISA added CVE-2019-6340 to its Known Exploited Vulnerabilities catalog on 2022-03-25, with a federal remediation due date of 2022-04-15.

How do I fix CVE-2019-6340?

Upgrade to a fixed version: drupal/core (Packagist) 8.6.10 or 7.62.0 or 8.5.11; drupal/drupal (Packagist) 7.62.0 or 8.5.11 or 8.6.10. CISA's required action: Apply updates per vendor instructions.

From NVD, CISA KEV, FIRST EPSS and OSV.dev, checked . Status on NVD: Analyzed. The description is NVD's text, quoted as published.

Related

Know the day a CVE lands in your code

Connect a GitHub repository and ZeusQA checks its dependencies daily, briefs each advisory and opens the fix. Three test runs free, no card.