-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2021.2855
CVE-2021-35940: Apache Portable Runtime (APR): Regression of CVE-2017-12613
                              24 August 2021

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Apache Portable Runtime (APR)
Publisher:         Apache Software Foundation
Operating System:  UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact/Access:     Access Confidential Data -- Existing Account
                   Denial of Service        -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-35940  

Original Bulletin: 
   https://mail-archives.apache.org/mod_mbox/www-announce/202108.mbox/%3CYSN3cgWxtK8%2B%2FLWM%40redhat.com%3E

- --------------------------BEGIN INCLUDED TEXT--------------------

Description:

An out-of-bounds array read in the apr_time_exp*() functions was fixed 
in the Apache Portable Runtime 1.6.3 release (CVE-2017-12613).  The fix 
for this issue was not carried forward to the APR 1.7.x branch, and 
hence version 1.7.0 regressed compared to 1.6.3 and is vulnerable to the 
same issue.

The patch below addresses the issue: 
https://downloads.apache.org/apr/patches/apr-1.7.0-CVE-2021-35940.patch

Credit:

The Apache Portable Runtime project would like to thank Iveta Cesalova 
(Red Hat) for reporting this issue.

References:

http://svn.apache.org/viewvc?view=revision&revision=1891198 
http://mail-archives.apache.org/mod_mbox/www-announce/201710.mbox/%3CCACsi251B8UaLvM-rrH9fv57-zWi0zhyF3275_jPg1a9VEVVoxw@mail.gmail.com%3E
https://downloads.apache.org/apr/patches/apr-1.7.0-CVE-2021-35940.patch

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBYSQybONLKJtyKPYoAQhlYA/9FtLRP++z41Y4TL6WUln1xyK/rQdGX53/
24Q4wloRogQGbRDEzYFQ/bRkLsCT+pR4GnfIIC72QPDjwZtGR8QdEaZus88FYkns
bu3rHJiQ5AE07o6HrSiOc/I/i1UfU5CCLQwQbjKjm4mX+nxvxhV4EsII/e83GazD
HW38h4yzpTP04HxvIxMwrDuFmGA8PqbVKHcHxnuI6qa4oSHNWNmNYI59vh2qQ/++
GsGHhoKuW9Qq9/yGXV4BZuLpIvTKODBJlK059/XIKN+XHdrutHZEDohC3KjrarkJ
iQGllXo6YBb6NPwuH3Gf08NhCZkxI6wRc9cm8tzz2DJCUvofzM1Xf8n2KOWdE/Ku
qmOZeU1V4R4Awg7DSyrrEoyWv8sqCp8vZYJtqgdQmMsADTH3oGcv3g6FuuYLWLFV
cceTozjwbwu1RAYGDWH6Fad3/EA08iAQmZbecqniTiSDnaPHMbRKv42D8bQVZDmb
viUEkg2j5hrmw08Y3Mw6VhGf5Fm5hUT+Hfk0VMfekJPm9g4ZO84gmdCD17YtDeHm
pRONt7hqncH0AG5Sy4C8H+2Tyg3oFYuZsx34DdSzUe0smjm/nhMj0dfEnNjwF1Qp
4Z8YIVPRLj9h2aGmUWpoxR2lD+xdPx1bY0W9JtsjQ+4iarHOjBrQ5Visp+tJB3VG
kjCz0skqw4Q=
=75Ak
-----END PGP SIGNATURE-----