| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|---|---|
| symfony/mailer | ≥ 6.0.0, < 6.4.40≥ 7.0.0, < 7.4.12≥ 8.0.0, < 8.0.12< 5.4.52 | 6.4.407.4.128.0.125.4.52 |
| symfony/symfony | ≥ 6.0.0, < 6.4.40≥ 7.0.0, < 7.4.12≥ 8.0.0, < 8.0.12< 5.4.52 | 6.4.407.4.128.0.125.4.52 |
| symfony | ≥ 6.0.0, < 6.4.40≥ 7.0.0, < 7.4.12≥ 8.0.0, < 8.0.12< 5.4.52 | 6.4.407.4.128.0.125.4.52 |
Symfony Mailer selects a transport via the MAILER_DSN environment variable / configuration (e.g. smtp://..., sendmail://..., native://default). SendmailTransport invokes the local sendmail binary and supports two modes: -bs (speak SMTP over stdin: the default) and -t (read the message on stdin, pass recipients as command-line arguments).
In -t mode, recipient addresses are appended to the sendmail command line without a -- end-of-options separator. A recipient address beginning with - (which Symfony\Component\Mime\Address accepts as valid) is therefore interpreted by sendmail as a command-line option rather than an address.
The SendmailTransport transport now ensure -- is set before the list of recipients.
The patch for this issue is available here for branch 5.4.
Symfony would like to thank Claude Mythos Preview (via Project Glasswing) for reporting the issue and providing the fix.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí