Null Byte Interaction Error (Poison Null Byte) Affecting php:8.2/php-xml package, versions <0:8.2.25-1.module+el8.10.0+22478+9eb07224


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.21% (43rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL8-PHP-6614615
  • published15 Apr 2024
  • disclosed12 Apr 2024

Introduced: 12 Apr 2024

CVE-2024-3096  (opens in a new tab)
CWE-626  (opens in a new tab)

How to fix?

Upgrade RHEL:8 php:8.2/php-xml to version 0:8.2.25-1.module+el8.10.0+22478+9eb07224 or higher.
This issue was patched in RHSA-2024:10951.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php:8.2/php-xml package and not the php:8.2/php-xml package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

In PHP  version 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, if a password stored with password_hash() starts with a null byte (\x00), testing a blank string as the password via password_verify() will incorrectly return true.

CVSS Base Scores

version 3.1