Null Byte Interaction Error (Poison Null Byte) Affecting php-common package, versions *


Severity

Recommended
low

Based on CentOS security rating

    Threat Intelligence

    EPSS
    0.05% (16th 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 ID SNYK-CENTOS9-PHPCOMMON-6613872
  • published 15 Apr 2024
  • disclosed 12 Apr 2024

How to fix?

There is no fixed version for Centos:9 php-common.

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
Expand this section

Red Hat

4.8 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    None
Expand this section

SUSE

4.8 medium