Null Byte Interaction Error (Poison Null Byte) Affecting php-common package, versions <0:8.2.25-1.module+el9.5.0+22477+5fdac06d


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.05% (18th 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-CENTOS9-PHPCOMMON-6613872
  • 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 Centos:9 php-common to version 0:8.2.25-1.module+el9.5.0+22477+5fdac06d or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-common package and not the php-common package as distributed by Centos. See How to fix? for Centos:9 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 Scores

version 3.1