Bug 1921384

Summary: CVE-2020-36224 openldap: Invalid pointer free in the saslAuthzTo processing [fedora-all]
Product: [Fedora] Fedora Reporter: Pedro Sampaio <psampaio>
Component: openldapAssignee: Simon Pichugin <spichugi>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 33CC: lance, matushonek, rmeggins, spichugi, thoger, vashirov
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-29 14:55:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1921383    

Description Pedro Sampaio 2021-01-27 23:11:25 UTC
This is an automatically created tracking bug!  It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.

For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.

For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs

When submitting as an update, use the fedpkg template provided in the next
comment(s).  This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.

Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.

NOTE: this issue affects multiple supported versions of Fedora. While only
one tracking bug has been filed, please correct all affected versions at
the same time.  If you need to fix the versions independent of each other,
you may clone this bug as appropriate.

Comment 1 Pedro Sampaio 2021-01-27 23:11:29 UTC
Use the following template to for the 'fedpkg update' request to submit an
update for this issue as it contains the top-level parent bug(s) as well as
this tracking bug.  This will ensure that all associated bugs get updated
when new packages are pushed to stable.

=====

# bugfix, security, enhancement, newpackage (required)
type=security

# low, medium, high, urgent (required)
severity=medium

# testing, stable
request=testing

# Bug numbers: 1234,9876
bugs=1921383,1921384

# Description of your update
notes=Security fix for [PUT CVEs HERE]

# Enable request automation based on the stable/unstable karma thresholds
autokarma=True
stable_karma=3
unstable_karma=-3

# Automatically close bugs when this marked as stable
close_bugs=True

# Suggest that users restart after update
suggest_reboot=False

======

Additionally, you may opt to use the bodhi web interface to submit updates:

https://bodhi.fedoraproject.org/updates/new

Comment 2 Simon Pichugin 2021-01-29 14:55:20 UTC
The bug affects openldap-servers package only and that has limited support.
For the recent fixes, please, use the Rawhide version where the fix will eventually be included (as OpenLDAP Upstream releases a new version).

Comment 3 Tomas Hoger 2021-02-01 08:30:44 UTC
Is there any documentation that mentions this "limited support" and describes what it means?

Comment 4 Simon Pichugin 2021-02-01 11:00:31 UTC
(In reply to Tomas Hoger from comment #3)
> Is there any documentation that mentions this "limited support" and
> describes what it means?

Hi Tomas,
sure! 
https://access.redhat.com/solutions/2440481

Basically, starting with Red Hat Enterprise Linux 7.4, the openldap-servers package has been deprecated and will not be included in a future major release of Red Hat Enterprise Linux.

Fedora 33 is much newer than RHEL 7.4. As for that, the support is limited and MAY include high to urgent CVEs of openldap-servers on Fedora, but medium severity won't be backported to older versions.
So if the user would like to use openldap-servers package on Fedora with all of the cutting-edge fixes, I advise going to the Rawhide version.
Or the user can consider doing a migration to 389-ds-base as it's fully supported on both Fedora and RHEL.

Hope that helps!

Comment 5 Tomas Hoger 2021-02-03 17:07:32 UTC
As Fedora is not RHEL, I don't think deprecation notice for RHEL should be considered sufficient to consider openldap-servers unsupported in Fedora.  An explicit note in the Fedora documentation is really required, IMO.

Comment 6 Simon Pichugin 2021-02-03 17:36:46 UTC
(In reply to Tomas Hoger from comment #5)
> As Fedora is not RHEL, I don't think deprecation notice for RHEL should be
> considered sufficient to consider openldap-servers unsupported in Fedora. 
> An explicit note in the Fedora documentation is really required, IMO.

It is not 'unsupported'.
As a maintainer, I choose which CVEs to backport. For some CVEs, which severity is not high or urgent, I decide upon the content of the CVE, current Fedora schedule, and my time availability.
I'll check the documentation though and I'll see how and where we can clarify CVE policy.

Thank you!