ADVISORIES

openEuler Security Advisory

OESA-2024-1592

php security update

Medium CVE-2024-3096

Details

PHP is an HTML-embedded scripting language. PHP attempts to make it easy for developers to write dynamically generated web pages. PHP also offers built-in database integration for several commercial and non-commercial database management systems, so writing a database-enabled webpage with PHP is fairly simple. The most common use of PHP coding is probably as a replacement for CGI scripts. The php package contains the module (often referred to as mod_php) which adds support for the PHP language to Apache HTTP Server.

Security Fix(es):

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.

(CVE-2024-3096)

Affected packages

EcosystemPackageAffected versions
openEuler:22.03-LTS-SP1php
All versions before 8.0.30-3.oe2203sp1 (fixed in 8.0.30-3.oe2203sp1)

References