Skip to content
porro

Advisories  /  composer  /  drupal/core  /  CVE-2022-25277

HIGH7.2 Composer

Drupal core - Critical - Arbitrary PHP code execution - SA-CORE-2022-014 (CVE-2022-25277)

CVE-2022-25277 Published 20 Jul 2022

Fixed in drupal/core 8.10.0 and 9.3.19 and 9.4.3.

$ composer require drupal/core:^8.10.0
$ composer require drupal/core:^9.3.19
$ composer require drupal/core:^9.4.3

Run the one for the major version you’re on: each fix stays within its release line.

Which versions are affected

Package Affected Fixed in
drupal/core ≥ 8.9.0, < 8.10.0≥ 9.0.0, < 9.3.19≥ 9.4.0, < 9.4.3 8.10.09.3.199.4.3

Check a site from its project folder: composer show drupal/core shows the installed version. Or paste the lock file into the lock file checker to check every package at once.

Timeline

  1. Advisory published, with a fix

Questions

Which version of drupal/core is safe from CVE-2022-25277?

9.4.3 and later. Versions affected: ≥ 8.9.0, < 8.10.0, ≥ 9.0.0, < 9.3.19, ≥ 9.4.0, < 9.4.3.