File tree Expand file tree Collapse file tree
meta-oe/recipes-support/openldap Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ From 9badb73425a67768c09bcaed1a9c26c684af6c30 Mon Sep 17 00:00:00 2001
2+ From: Howard Chu <hyc@openldap.org>
3+ Date: Sat, 6 Feb 2021 20:52:06 +0000
4+ Subject: [PATCH] ITS#9454 fix issuerAndThisUpdateCheck
5+
6+
7+ Signed-off-by: Howard Chu <hyc@openldap.org>
8+
9+ Upstream-Status: Backport [https://git.openldap.org/openldap/openldap/-/commit/9badb73425a67768c09bcaed1a9c26c684af6c30]
10+ CVE: CVE-2021-27212
11+ Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
12+ ---
13+ servers/slapd/schema_init.c | 2 ++
14+ 1 file changed, 2 insertions(+)
15+
16+ diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c
17+ index 31be115..8b1e255 100644
18+ --- a/servers/slapd/schema_init.c
19+ +++ b/servers/slapd/schema_init.c
20+ @@ -3900,6 +3900,8 @@ issuerAndThisUpdateCheck(
21+ break;
22+ }
23+ }
24+ + if ( tu->bv_len < STRLENOF("YYYYmmddHHmmssZ") ) return LDAP_INVALID_SYNTAX;
25+ +
26+ x.bv_val += tu->bv_len + 1;
27+ x.bv_len -= tu->bv_len + 1;
28+
29+ - -
30+ 2.25.1
31+
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ SRC_URI = "http://www.openldap.org/software/download/OpenLDAP/openldap-release/$
2626 file://CVE-2022-29155.patch \
2727 file://CVE-2023-2953-1.patch \
2828 file://CVE-2023-2953-2.patch \
29+ file://CVE-2021-27212.patch \
2930"
3031SRC_URI [md5sum ] = "e3349456c3a66e5e6155be7ddc3f042c"
3132SRC_URI [sha256sum ] = "c7ba47e1e6ecb5b436f3d43281df57abeffa99262141aec822628bc220f6b45a"
You can’t perform that action at this time.
0 commit comments