BIT-php-2020-7063

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/php/BIT-php-2020-7063.json
JSON Data
https://api.osv.dev/v1/vulns/BIT-php-2020-7063
Aliases
Published
2024-03-06T11:07:12.498Z
Modified
2024-03-06T11:25:28.861Z
Summary
[none]
Details

In PHP versions 7.2.x below 7.2.28, 7.3.x below 7.3.15 and 7.4.x below 7.4.3, when creating PHAR archive using PharData::buildFromIterator() function, the files are added with default permissions (0666, or all access) even if the original files on the filesystem were with more restrictive permissions. This may result in files having more lax permissions than intended when such archive is extracted.

References

Affected packages

Bitnami / php

Package

Name
php
Purl
pkg:bitnami/php

Severity

  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator

Affected ranges

Type
SEMVER
Events
Introduced
7.2.0
Fixed
7.2.27
Introduced
7.3.0
Fixed
7.3.14
Introduced
7.4.0
Fixed
7.4.2