Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2015-4021

Опубликовано: 14 мая 2015
Источник: redhat
CVSS2: 5.1
EPSS Средний

Описание

The phar_parse_tarfile function in ext/phar/tar.c in PHP before 5.4.41, 5.5.x before 5.5.25, and 5.6.x before 5.6.9 does not verify that the first character of a filename is different from the \0 character, which allows remote attackers to cause a denial of service (integer underflow and memory corruption) via a crafted entry in a tar archive.

An integer underflow flaw leading to out-of-bounds memory access was found in the way PHP's Phar extension parsed Phar archives. A specially crafted archive could cause PHP to crash or, possibly, execute arbitrary code when opened.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 5phpNot affected
Red Hat Enterprise Linux 5php53Will not fix
Red Hat Enterprise Linux 6phpFixedRHSA-2015:121809.07.2015
Red Hat Enterprise Linux 7phpFixedRHSA-2015:113523.06.2015
Red Hat Software Collections for Red Hat Enterprise Linux 6php55-phpFixedRHSA-2015:118625.06.2015
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-php56-phpFixedRHSA-2015:118725.06.2015
Red Hat Software Collections for Red Hat Enterprise Linux 6php54-phpFixedRHSA-2015:121909.07.2015
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUSphp55-phpFixedRHSA-2015:118625.06.2015
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUSrh-php56-phpFixedRHSA-2015:118725.06.2015
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUSphp54-phpFixedRHSA-2015:121909.07.2015

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-190->CWE-125->CWE-787
https://bugzilla.redhat.com/show_bug.cgi?id=1223425php: memory corruption in phar_parse_tarfile caused by empty entry file name

EPSS

Процентиль: 97%
0.42026
Средний

5.1 Medium

CVSS2

Связанные уязвимости

ubuntu
около 10 лет назад

The phar_parse_tarfile function in ext/phar/tar.c in PHP before 5.4.41, 5.5.x before 5.5.25, and 5.6.x before 5.6.9 does not verify that the first character of a filename is different from the \0 character, which allows remote attackers to cause a denial of service (integer underflow and memory corruption) via a crafted entry in a tar archive.

nvd
около 10 лет назад

The phar_parse_tarfile function in ext/phar/tar.c in PHP before 5.4.41, 5.5.x before 5.5.25, and 5.6.x before 5.6.9 does not verify that the first character of a filename is different from the \0 character, which allows remote attackers to cause a denial of service (integer underflow and memory corruption) via a crafted entry in a tar archive.

debian
около 10 лет назад

The phar_parse_tarfile function in ext/phar/tar.c in PHP before 5.4.41 ...

github
около 3 лет назад

The phar_parse_tarfile function in ext/phar/tar.c in PHP before 5.4.41, 5.5.x before 5.5.25, and 5.6.x before 5.6.9 does not verify that the first character of a filename is different from the \0 character, which allows remote attackers to cause a denial of service (integer underflow and memory corruption) via a crafted entry in a tar archive.

CVSS3: 4
fstec
около 10 лет назад

Уязвимость функции phar_parse_tarfile интерпретатора языка программирования PHP, позволяющая нарушителю вызвать отказ в обслуживании

EPSS

Процентиль: 97%
0.42026
Средний

5.1 Medium

CVSS2