BIND Operational Notification: Zone journal (.jnl) file incompatibility Upstream-Status: Acepted [https://downloads.isc.org/isc/bind9/9.16.12/patches/CVE-2020-8625.patch] CVE: CVE-2020-8625 Signed-off-by: Minjae Kim <[email protected]> --- .../bind/bind-9.16.11/CVE-2020-8625.patch | 16 ++++++++++++++++ meta/recipes-connectivity/bind/bind_9.16.11.bb | 1 + 2 files changed, 17 insertions(+) create mode 100644 meta/recipes-connectivity/bind/bind-9.16.11/CVE-2020-8625.patch
diff --git a/meta/recipes-connectivity/bind/bind-9.16.11/CVE-2020-8625.patch b/meta/recipes-connectivity/bind/bind-9.16.11/CVE-2020-8625.patch new file mode 100644 index 0000000000..0d469ce23c --- /dev/null +++ b/meta/recipes-connectivity/bind/bind-9.16.11/CVE-2020-8625.patch @@ -0,0 +1,16 @@ +Upstream-Status: Acepted [https://downloads.isc.org/isc/bind9/9.16.12/patches/CVE-2020-8625.patch] +CVE: CVE-2020-8625 +Signed-off-by: Minjae Kim <[email protected]> +diff --git a/lib/dns/spnego.c b/lib/dns/spnego.c +index e61d1c600f2..753dc8049fa 100644 +--- a/lib/dns/spnego.c ++++ b/lib/dns/spnego.c +@@ -848,7 +848,7 @@ der_get_oid(const unsigned char *p, size_t len, oid *data, size_t *size) { + return (ASN1_OVERRUN); + } + +- data->components = malloc(len * sizeof(*data->components)); ++ data->components = malloc((len + 1) * sizeof(*data->components)); + if (data->components == NULL) { + return (ENOMEM); + } diff --git a/meta/recipes-connectivity/bind/bind_9.16.11.bb b/meta/recipes-connectivity/bind/bind_9.16.11.bb index f48cc74c2e..91e07723be 100644 --- a/meta/recipes-connectivity/bind/bind_9.16.11.bb +++ b/meta/recipes-connectivity/bind/bind_9.16.11.bb @@ -18,6 +18,7 @@ SRC_URI = "https://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.xz \ file://bind-ensure-searching-for-json-headers-searches-sysr.patch \ file://0001-named-lwresd-V-and-start-log-hide-build-options.patch \ file://0001-avoid-start-failure-with-bind-user.patch \ + file://CVE-2020-8625.patch \ " SRC_URI[sha256sum] = "0111f64dd7d8f515cfa129e181cce96ff82070d1b27f11a21f6856110d0699c1" -- 2.24.3 (Apple Git-128)
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#148812): https://lists.openembedded.org/g/openembedded-core/message/148812 Mute This Topic: https://lists.openembedded.org/mt/81011303/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
