# Ansible Registry workaround for CVE-2020-1350

**URL:** <https://forum.ansible.com/t/ansible-registry-workaround-for-cve-2020-1350/33408>\
**Category:** Ansible Project\
**Created:** [July 15, 2020, 7:16pm UTC](https://forum.ansible.com/t/ansible-registry-workaround-for-cve-2020-1350/33408 "2020-07-15T19:16:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chr00ted](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/chr00ted/32/2188_2.png) [@chr00ted](https://forum.ansible.com/u/chr00ted)\
**Post date:** [July 15, 2020, 7:16pm UTC](https://forum.ansible.com/t/ansible-registry-workaround-for-cve-2020-1350/33408/1 "2020-07-15T19:16:11Z")

</div>

If needed. This worked for me.

# DESCRIPTION

# Registry workaround for CVE-2020-1350

- name: Registry workaround for CVE-2020-1350

hosts: dns\_servers

gather\_facts: yes

tasks:

- name: Apply Reg workaround

win\_regedit:

path: HKLM:\SYSTEM\CurrentControlSet\Services\DNS\Parameters

name: TcpReceivePacketSize

data: 0xFF00

type: dword

state: present

- name: Restart DNS

win\_service:

name: DNS

state: restarted
