]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
3621. [security] Incorrect bounds checking on private type 'keydata'
authorMark Andrews <marka@isc.org>
Tue, 16 Jul 2013 22:03:50 +0000 (08:03 +1000)
committerMark Andrews <marka@isc.org>
Tue, 16 Jul 2013 22:08:11 +0000 (08:08 +1000)
                        can lead to a remotely triggerable REQUIRE failure
                        (CVE-2013-4854). [RT #34238]

(cherry picked from commit fdb4ae8f6c00d8ea03bde929bd4e47056972017d)

CHANGES
lib/dns/rdata/generic/keydata_65533.c

diff --git a/CHANGES b/CHANGES
index 7eb60ad61fc477383b835fd3030c4d45c4af1d82..09fc4657ba05eb562b1b18cebd68b15276293561 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,7 @@
+3621.  [security]      Incorrect bounds checking on private type 'keydata'
+                       can lead to a remotely triggerable REQUIRE failure
+                       (CVE-2013-4854). [RT #34238]
+
        --- 9.9.3-P1 released ---
 
 3584.  [security]      Caching data from an incompletely signed zone could
index 46bf6fce201ff63d34159e7bae42990259370436..a2d83f456e49364d922b9e4d01a15564ab697261 100644 (file)
@@ -194,7 +194,7 @@ fromwire_keydata(ARGS_FROMWIRE) {
        UNUSED(options);
 
        isc_buffer_activeregion(source, &sr);
-       if (sr.length < 4)
+       if (sr.length < 16)
                return (ISC_R_UNEXPECTEDEND);
 
        isc_buffer_forward(source, sr.length);