Missing file pointer validation in phar_convert_to_other in PHP
Multiple products
At a glance
The phar_convert_to_other function in ext/phar/phar_object.c in PHP before 5.4.43, 5.5.x before 5.5.27, and 5.6.x before 5.6.11 does not validate a file pointer before a close operation, which allows remote attackers to cause a denial of service (segmentation fault) or possibly have unspecified other impact via a crafted TAR archive that is mishandled in a Phar::convertToData call.
Source description · CVE List / CNA
System impact
CVSS summary v3.0
- Published:
- Updated:
- EPSS:
- 6.303%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:php | php | Affected versions:≤ 5.4.42Show full version range for php5.5.05.5.15.5.105.5.115.5.125.5.135.5.145.5.155.5.165.5.175.5.185.5.195.5.25.5.205.5.215.5.225.5.235.5.245.5.255.5.265.5.35.5.45.5.55.5.65.5.75.5.85.5.95.6.05.6.15.6.105.6.25.6.35.6.45.6.55.6.65.6.75.6.85.6.9 |
| Vendor:redhat | phpEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php
|
| Vendor:redhat | php-bcmathEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-bcmath
|
| Vendor:redhat | php-cliEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-cli
|
| Vendor:redhat | php-commonEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-common
|
| Vendor:redhat | php-dbaEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-dba
|
| Vendor:redhat | php-develEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-devel
|
| Vendor:redhat | php-embeddedEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-embedded
|
| Vendor:redhat | php-enchantEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-enchant
|
| Vendor:redhat | php-fpmEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-fpm
|
1–10 of 328 · Page 1 of 33
CVSS scores and metrics8
[email protected] · NVD (Primary)Primary9.8 / 10CriticalCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hnvd · Wazuh CTI (cna)9.8 / 10CriticalCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hcanonical · Wazuh CTI (adp)9.8 / 10CriticalCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H[email protected] · NVD (Primary)10.0 / 10HighCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:C/I:C/A:Credhat · Wazuh CTI (adp)4.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:N/I:N/A:Palas · Wazuh CTI (adp)4.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:N/I:N/A:Pnvd · Wazuh CTI (cna)10.0 / 10HighCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:C/I:C/A:CRed Hat · Red Hat VEX (adp)4.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:N/I:N/A:PCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories21
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences