CVE-2004-1064

Publication date 10 January 2005

Last updated 17 July 2025


Ubuntu priority

The safe mode checks in PHP 4.x to 4.3.9 and PHP 5.x to 5.0.2 truncate the file path before passing the data to the realpath function, which could allow attackers to bypass safe mode. NOTE: this issue was originally REJECTed by its CNA before publication, but that decision is in active dispute. This candidate may change significantly in the future as a result of further discussion.

Status

Package Ubuntu Release Status
php4 7.04 feisty Not in release
6.10 edgy
Fixed 4.4.2-1build1
6.06 LTS dapper
Fixed 4.4.2-1build1
php5 7.04 feisty
Fixed 5.2.1-0ubuntu1.4
6.10 edgy
Fixed 5.1.6-1ubuntu2.6
6.06 LTS dapper
Fixed 5.1.2-1ubuntu3.9

References

Related Ubuntu Security Notices (USN)

    • USN-99-1
    • PHP4 vulnerabilities
    • 18 March 2005
    • USN-99-2
    • Fixed php4 packages for USN-99-1
    • 24 March 2005

Other references