Description
The MongoDB client library for PHP does not sufficiently sanitize special elements in application-supplied namespace identifiers before using them to construct the target namespace for database operations. An application that incorporates untrusted text into these identifiers may have operations silently directed at a different storage location than the one the application intended.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
MongoDB PHP Library
Default version status: unaffected
0 to < 1.21.4affected2.0.0 to < 2.4.1affected
MongoDB PHP Extension
Default version status: unaffected
0 to < 1.21.6affected2.0.0 to < 2.4.1affected
References
- https://jira.mongodb.org/browse/PHPLIB-1927 ↗
- https://github.com/mongodb/mongo-php-library/releases/tag/1.21.4 ↗
- https://github.com/mongodb/mongo-php-library/releases/tag/2.4.1 ↗
- https://github.com/mongodb/mongo-php-driver/releases/tag/1.21.6 ↗
- https://github.com/mongodb/mongo-php-driver/releases/tag/2.4.1 ↗