GitHub Advisoryadvisory · Packagist
GHSA-jf8c-36vw-98x4 Drupal core Remote Code Execution
CRITICAL
Official page ↗
- Ecosystem
- Packagist
- Packages
- drupal/drupal
- Severity
- Critical
- Weaknesses
- CWE-94
- Reviewed
- 2024-05-15
Affected packages
• Packagist drupal/drupal: >= 7.0, < 7.60 → fixed in 7.60
• Packagist drupal/drupal: >= 8.0.0, < 8.5.8 → fixed in 8.5.8
• Packagist drupal/drupal: >= 8.6.0, < 8.6.2 → fixed in 8.6.2
Description
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.
Related
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness