Ticket #1485689 (closed Bugs: fixed)
use preg_replace_callback instead of preg_replace
| Reported by: | paul | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.2.1 |
| Component: | Addressbook | Version: | svn-trunk |
| Severity: | normal | Keywords: | |
| Cc: | volker@… |
Description
Hi,
As you know, there has been a vulnerability in roundcube 0.1 and 0.2 beta (see ticket #1485618), caused by using preg_replace_match with the 'e' flag. To rule out any more vulnerabilities, please consider using preg_replace_callback instead. In particular, the function rfc2425_fold in rcube_vcard.php looks dubious. Please apply this patch.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
