Security Digest · Critical advisory (no CVE assigned)

GHSA-6mgp-v5cm-ghg5: Drupal core Remote Code Execution

In Drupal core, when sending email some variables were not being sanitized for shell arguments in DefaultMailSystem::mail(), which could lead to remote code execution.

GitHub-reviewed · critical

Should you act?

  • Only if you depend on one of the packages below, directly or transitively, in a vulnerable version. Check your lockfile with composer audit.
  • No CVE has been assigned, so it will not appear in CVE-based scanners that ignore GitHub advisories. npm audit, pip-audit and Dependabot do read GitHub advisories.

Affected packages

EcosystemPackageVulnerableFirst fixed
Composer (PHP)drupal/core>= 7.0, < 7.607.60
Composer (PHP)drupal/core>= 8.0.0, < 8.5.88.5.8
Composer (PHP)drupal/core>= 8.6.0, < 8.6.28.6.2

Details

In Drupal core, when sending email some variables were not being sanitized for shell arguments in DefaultMailSystem::mail(), which could lead to remote code execution.

Sources and references

  1. GitHub Advisory GHSA-6mgp-v5cm-ghg5 github.com
  2. github.com github.com
  3. drupal.org drupal.org

Critical Composer (PHP) advisories · Today’s Security Digest