df891f0593
Passing newline to the dnsmasq may cause security issues, especially that in case of Neutron that dhcp options' values are controlled by cloud users. This patch removes everything what is after first newline character in the dhcp_extra_opt's values before passing them to dnsmasq. Closes-Bug: #1939733 Change-Id: Ifeaf258f0b5ea86f25620ac4116d618980a7272e
7 lines
241 B
YAML
7 lines
241 B
YAML
---
|
|
security:
|
|
- |
|
|
Fix `bug 1939733 <https://bugs.launchpad.net/neutron/+bug/1939733>`_ by
|
|
dropping from the dhcp extra option values everything what is after first
|
|
newline (``\n``) character before passing them to the dnsmasq.
|