Skip to content

Commit 63973d1

Browse files
committed
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2: Disable rsh/ssh functionality in imap by default (bug #77153)
2 parents 44b08a9 + 336d208 commit 63973d1

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ PHP NEWS
1515
. Fixed bug #77147 (Fixing 60494 ignored ICONV_MIME_DECODE_CONTINUE_ON_ERROR).
1616
(cmb)
1717

18+
- IMAP:
19+
. Fixed bug #77153 (imap_open allows to run arbitrary shell commands via
20+
mailbox parameter). (Stas)
21+
1822
- MBstring:
1923
. Fixed bug #77165 (mb_check_encoding crashes when argument given an empty
2024
array). (Nikita)

UPGRADING

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,12 @@ BCMath:
112112
. bcmul() and bcpow() now return numbers with the requested scale. Formerly,
113113
the returned numbers may have omitted trailing decimal zeroes.
114114

115+
IMAP:
116+
rsh/ssh logins are disabled by default. Use imap.enable_insecure_rsh if you want
117+
to enable them. Note that the IMAP library does not filter mailbox names before
118+
passing them to rsh/ssh command, thus passing untrusted data to this function
119+
with rsh/ssh enabled is insecure.
120+
115121
MBString:
116122
. Due to added support for named captures, mb_ereg_*() patterns using named
117123
captures will behave differently. In particular named captures will be part

0 commit comments

Comments
 (0)