|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41285 better fix for CVE-2007-1887-1888/MOPB-41
Submitted: 2007-05-04 16:55 UTC Modified: 2010-12-12 15:37 UTC
From: seanius at debian dot org Assigned: iliaa (profile)
Status: Closed Package: SQLite related
PHP Version: 5.2.2 OS: source code
Private report: No CVE-ID: 2007-1887
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
35 - 25 = ?
Subscribe to this entry?

 [2007-05-04 16:55 UTC] seanius at debian dot org
from what i understand, your fix for the above mentioned vulnerabilities was to patch the bundled sqlite libraries to handle certain parameters that might be null pointers.   however, for distributions where php is built against external sqlite packages, this  has no effect and the resulting packages are still vulnerable unless the sqlite packages are independantly patched.

in the debian php packages, we've patched the php_sqlite module to check for the null pointers outside of the call to the sqlite functions, thus not requiring a patch or change in the behaviour of the sqlite libraries.

anyway, if you want to continue keeping a patched bundled version of sqlite, that's fine, but i thought i'd share this.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-05-04 16:59 UTC] seanius at debian dot org
oops, forgot the patch... here it is.
 [2007-05-05 15:36 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

 [2010-12-12 15:37 UTC]
-CVE-ID: +CVE-ID: 2007-1887
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 30 11:01:31 2024 UTC