summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2020-06-11 17:38:51 +1200
committerKarolin Seeger <kseeger@samba.org>2020-06-30 12:52:13 +0200
commitddd3ed7ce2e2776839c463010bd975f01dd0977d (patch)
tree4a34f16722ffad35b1c04d5efe42e68579685557 /selftest
parentc9fd1dbb13175fcda45826f687e834a6d67df4cc (diff)
downloadsamba-ddd3ed7ce2e2776839c463010bd975f01dd0977d.tar.gz
CVE-2020-10745: pytests: hand-rolled invalid dns/nbt packet tests
The client libraries don't allow us to make packets that are broken in certain ways, so we need to construct them as byte strings. These tests all fail at present, proving the server is rendered unresponsive, which is the crux of CVE-2020-10745. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14378 Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'selftest')
-rw-r--r--selftest/knownfail.d/dns_packet2
1 files changed, 2 insertions, 0 deletions
diff --git a/selftest/knownfail.d/dns_packet b/selftest/knownfail.d/dns_packet
new file mode 100644
index 00000000000..6e2e5a699de
--- /dev/null
+++ b/selftest/knownfail.d/dns_packet
@@ -0,0 +1,2 @@
+samba.tests.dns_packet.samba.tests.dns_packet.TestDnsPackets.test_127_very_dotty_components
+samba.tests.dns_packet.samba.tests.dns_packet.TestNbtPackets.test_127_very_dotty_components