Advisory

GHSA-8cw5-rv98-5c46

Also known as: CVE-2019-6339, DRUPAL-CORE-2019-002

Summary

Arbitrary PHP code execution in Drupal

Details

In Drupal Core versions 7.x prior to 7.62, 8.6.x prior to 8.6.6, and 8.5.x prior to 8.5.9; A remote code execution vulnerability exists in
PHP's built-in phar stream wrapper when performing file operations on an untrusted phar:// URI. Some Drupal code (core, contrib, and custom) may be performing file operations on insufficiently validated user input, thereby being exposed to this vulnerability. This vulnerability is mitigated by the fact that such code paths typically require access to an administrative permission or an atypical configuration.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-01-06 22:30 UTC
Modified
2025-12-10 23:41 UTC

Affected packages and fixes

drupal/drupal

Packagist · All systems

Affected

  • introduced 7.0.0, fixed 7.62.0 (ecosystem)

Fixed versions

7.62.0

Fix

The export has no generic command for this ecosystem.

drupal/drupal

Packagist · All systems

Affected

  • introduced 8.0.0, fixed 8.5.9 (ecosystem)

Fixed versions

8.5.9

Fix

The export has no generic command for this ecosystem.

drupal/drupal

Packagist · All systems

Affected

  • introduced 8.6.0, fixed 8.6.6 (ecosystem)

Fixed versions

8.6.6

Fix

The export has no generic command for this ecosystem.

drupal/core

Packagist · All systems

Affected

  • introduced 7.0.0, fixed 7.62.0 (ecosystem)

Fixed versions

7.62.0

Fix

The export has no generic command for this ecosystem.

drupal/core

Packagist · All systems

Affected

  • introduced 8.0.0, fixed 8.5.9 (ecosystem)

Fixed versions

8.5.9

Fix

The export has no generic command for this ecosystem.

drupal/core

Packagist · All systems

Affected

  • introduced 8.6.0, fixed 8.6.6 (ecosystem)

Fixed versions

8.6.6

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences