Security Digest · Critical advisory (no CVE assigned)
GHSA-jf8c-36vw-98x4: 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-auditand Dependabot do read GitHub advisories.
Affected packages
| Ecosystem | Package | Vulnerable | First fixed |
|---|---|---|---|
| Composer (PHP) | drupal/drupal | >= 7.0, < 7.60 | 7.60 |
| Composer (PHP) | drupal/drupal | >= 8.0.0, < 8.5.8 | 8.5.8 |
| Composer (PHP) | drupal/drupal | >= 8.6.0, < 8.6.2 | 8.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
- GitHub Advisory GHSA-jf8c-36vw-98x4 github.com
- github.com github.com
- drupal.org drupal.org
Critical Composer (PHP) advisories · Today’s Security Digest