CVE-2019-6339

published 22 Jan 2019 · updated 16 Sep 2024

PHAR stream wrapper Arbitrary PHP code execution

5.5MediumEPSS 36%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 36%. Fixed in core 7.62, core 8.5.9 and core 8.6.6..

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Drupalcore>=7.x <7.62, >=8.5.x <8.5.9, >=8.6.x <8.6.6.7.62, 8.5.9, 8.6.6.

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in core, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2019-6339 severity on Zeptric[![CVE-2019-6339](https://zeptric.io/badge/cve/CVE-2019-6339.svg)](https://zeptric.io/cve/CVE-2019-6339)