Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 770847 (CVE-2020-20178, CVE-2020-25709, CVE-2021-27212) - <net-nds/openldap-2.4.58: multiple vulnerabilities (CVE-2020-{20178,25709}, CVE-2021-27212)
Summary: <net-nds/openldap-2.4.58: multiple vulnerabilities (CVE-2020-{20178,25709}, C...
Status: IN_PROGRESS
Alias: CVE-2020-20178, CVE-2020-25709, CVE-2021-27212
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://bugs.openldap.org/show_bug.cg...
Whiteboard: B3 [glsa? cleanup]
Keywords:
Depends on: 818739
Blocks:
  Show dependency tree
 
Reported: 2021-02-15 22:10 UTC by John Helmert III
Modified: 2023-02-12 06:52 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-02-15 22:10:10 UTC
CVE-2021-27212:

In OpenLDAP through 2.4.57 and 2.5.x through 2.5.1alpha, an assertion failure in slapd can occur in the issuerAndThisUpdateCheck function via a crafted packet, resulting in a denial of service (daemon exit) via a short timestamp. This is related to schema_init.c and checkTime.


Unreleased patch: https://git.openldap.org/openldap/openldap/-/commit/9badb73425a67768c09bcaed1a9c26c684af6c30

Maintainers, please apply the patch if it looks reasonable to you.
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-06-04 03:09:26 UTC
CVE-2020-20178:

A flaw was found in OpenLDAP. This flaw allows an attacker who can send a malicious packet to be processed by OpenLDAP’s slapd server, to trigger an assertion failure. The highest threat from this vulnerability is to system availability.

Issue: https://bugs.openldap.org/show_bug.cgi?id=9454

Seems to be the same fix as the first.


CVE-2021-25709:

A flaw was found in OpenLDAP. This flaw allows an attacker who can send a malicious packet to be processed by OpenLDAP’s slapd server, to trigger an assertion failure. The highest threat from this vulnerability is to system availability.

Issue: https://bugs.openldap.org/show_bug.cgi?id=9383
Patch: https://git.openldap.org/openldap/openldap/-/commit/67670f4544e28fb09eb7319c39f404e1d3229e65
Comment 2 NATTkA bot gentoo-dev 2021-07-29 17:24:04 UTC Comment hidden (obsolete)
Comment 3 NATTkA bot gentoo-dev 2021-07-29 17:32:30 UTC Comment hidden (obsolete)
Comment 4 NATTkA bot gentoo-dev 2021-07-29 17:40:24 UTC Comment hidden (obsolete)
Comment 5 NATTkA bot gentoo-dev 2021-07-29 17:48:34 UTC Comment hidden (obsolete)
Comment 6 NATTkA bot gentoo-dev 2021-07-29 18:04:30 UTC Comment hidden (obsolete)
Comment 7 NATTkA bot gentoo-dev 2021-07-29 18:12:48 UTC
Package list is empty or all packages have requested keywords.
Comment 8 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-10-17 20:00:13 UTC
(In reply to John Helmert III from comment #0)
> CVE-2021-27212:
> 
> In OpenLDAP through 2.4.57 and 2.5.x through 2.5.1alpha, an assertion
> failure in slapd can occur in the issuerAndThisUpdateCheck function via a
> crafted packet, resulting in a denial of service (daemon exit) via a short
> timestamp. This is related to schema_init.c and checkTime.
> 
> 
> Unreleased patch:
> https://git.openldap.org/openldap/openldap/-/commit/
> 9badb73425a67768c09bcaed1a9c26c684af6c30
> 
> Maintainers, please apply the patch if it looks reasonable to you.

(In reply to John Helmert III from comment #1)
> CVE-2020-20178:
> 
> A flaw was found in OpenLDAP. This flaw allows an attacker who can send a
> malicious packet to be processed by OpenLDAP’s slapd server, to trigger an
> assertion failure. The highest threat from this vulnerability is to system
> availability.
> 
> Issue: https://bugs.openldap.org/show_bug.cgi?id=9454
> 
> Seems to be the same fix as the first.

In 2.4.58.

> 
> CVE-2021-25709:
> 
> A flaw was found in OpenLDAP. This flaw allows an attacker who can send a
> malicious packet to be processed by OpenLDAP’s slapd server, to trigger an
> assertion failure. The highest threat from this vulnerability is to system
> availability.
> 
> Issue: https://bugs.openldap.org/show_bug.cgi?id=9383
> Patch:
> https://git.openldap.org/openldap/openldap/-/commit/67670f4544e28fb09eb7319c39f404e1d3229e65

In 2.4.56.