ADVISORIES

GitHub Advisory Database

GHSA-938f-5r4f-h65v

Drupal core contains a potential PHP Object Injection vulnerability

Details

Drupal core contains a potential PHP Object Injection vulnerability that (if combined with another exploit) could lead to Artbitrary File Deletion. It is not directly exploitable.

This issue is mitigated by the fact that in order to be exploitable, a separate vulnerability must be present that allows an attacker to pass unsafe input to unserialize(). There are no such known exploits in Drupal core.

To help protect against this vulnerability, types have been added to properties in some of Drupal core's classes. If an application extends those classes, the same types may need to be specified on the subclass to avoid a TypeError.

This issue affects Drupal Core: from 8.0.0 before 10.2.11, from 10.3.0 before 10.3.9, from 11.0.0 before 11.0.8.

Affected packages

EcosystemPackageAffected versions
Packagistdrupal/core
From 8.8.0 before 10.2.11 (fixed in 10.2.11)
Packagistdrupal/core
From 10.3.0 before 10.3.9 (fixed in 10.3.9)
Packagistdrupal/core
From 11.0.0 before 11.0.8 (fixed in 11.0.8)
Packagistdrupal/core-recommended
From 8.8.0 before 10.2.11 (fixed in 10.2.11)
Packagistdrupal/core-recommended
From 10.3.0 before 10.3.9 (fixed in 10.3.9)
Packagistdrupal/core-recommended
From 11.0.0 before 11.0.8 (fixed in 11.0.8)
Packagistdrupal/drupal
From 8.8.0 before 10.2.11 (fixed in 10.2.11)
Packagistdrupal/drupal
From 10.3.0 before 10.3.9 (fixed in 10.3.9)
Packagistdrupal/drupal
From 11.0.0 before 11.0.8 (fixed in 11.0.8)

References