CVE-2019-6339

PHAR stream wrapper Arbitrary PHP code execution

N/A
Published: January 22, 2019 at 03:00 PM UTC
Updated: June 17, 2026 at 02:39 AM UTC
2 products affected across 2 vendorsDebian LinuxDrupal

Using Drupal core by Drupal?

Get instant alerts when new vulnerabilities affect Drupal core - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 36%

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

7.0 ≤ v < 7.627.x ≤ v < 7.628.5.0 ≤ v < 8.5.98.5.x ≤ v < 8.5.98.6.0 ≤ v < 8.6.68.6.x ≤ v < 8.6.6.7.x8.5.x8.6.x
Affected range stops below 7.62, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.5.9, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.6.6, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (3)

Mailing Listx_refsource_MLISTThird Party Advisory
https://lists.debian.org/debian-lts-announce/2019/02/msg00004.html
Vendor Advisoryx_refsource_DEBIANThird Party Advisory
https://www.debian.org/security/2019/dsa-4370
x_refsource_CONFIRMPatchVendor Advisory
https://www.drupal.org/sa-core-2019-002

CVSS

Confidentiality
PARTIAL
Integrity
PARTIAL
Availability
PARTIAL
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-20

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card