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

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

                               ESB-2021.2328
                      USN-5006-1: PHP vulnerabilities
                                8 July 2021

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

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

Product:           PHP
Publisher:         Ubuntu
Impact/Access:     Denial of Service              -- Remote/Unauthenticated
                   Provide Misleading Information -- Remote/Unauthenticated
                   Reduced Security               -- Remote/Unauthenticated
                   Access Confidential Data       -- Existing Account      
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-21705 CVE-2021-21704 CVE-2021-21702
                   CVE-2020-7071 CVE-2020-7068 

Original Bulletin: 
   https://ubuntu.com/security/notices/USN-5006-1

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

USN-5006-1: PHP vulnerabilities
07 July 2021

Several security issues were fixed in PHP.
Releases

  o Ubuntu 21.04
  o Ubuntu 20.10
  o Ubuntu 20.04 LTS
  o Ubuntu 18.04 LTS

Packages

  o php7.2 - HTML-embedded scripting language interpreter
  o php7.4 - HTML-embedded scripting language interpreter

Details

It was discovered that PHP incorrectly handled certain PHAR files. A remote
attacker could possibly use this issue to cause PHP to crash, resulting in
a denial of service, or possibly obtain sensitive information. This issue
only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. ( CVE-2020-7068 )

It was discovered that PHP incorrectly handled parsing URLs with passwords.
A remote attacker could possibly use this issue to cause PHP to mis-parse
the URL and produce wrong data. This issue only affected Ubuntu 18.04 LTS,
Ubuntu 20.04 LTS, and Ubuntu 20.10. ( CVE-2020-7071 )

It was discovered that PHP incorrectly handled certain malformed XML data
when being parsed by the SOAP extension. A remote attacker could possibly
use this issue to cause PHP to crash, resulting in a denial of service.
This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu
20.10. ( CVE-2021-21702 )

It was discovered that PHP incorrectly handled the pdo_firebase module. A
remote attacker could possibly use this issue to cause PHP to crash,
resulting in a denial of service. ( CVE-2021-21704 )

It was discovered that PHP incorrectly handled the FILTER_VALIDATE_URL
check. A remote attacker could possibly use this issue to perform a server-
side request forgery attack. ( CVE-2021-21705 )

Update instructions

The problem can be corrected by updating your system to the following package
versions:

Ubuntu 21.04

  o libapache2-mod-php7.4 - 7.4.16-1ubuntu2.1
  o php7.4-cgi - 7.4.16-1ubuntu2.1
  o php7.4-fpm - 7.4.16-1ubuntu2.1
  o php7.4-cli - 7.4.16-1ubuntu2.1

Ubuntu 20.10

  o libapache2-mod-php7.4 - 7.4.9-1ubuntu1.2
  o php7.4-cgi - 7.4.9-1ubuntu1.2
  o php7.4-fpm - 7.4.9-1ubuntu1.2
  o php7.4-cli - 7.4.9-1ubuntu1.2

Ubuntu 20.04

  o libapache2-mod-php7.4 - 7.4.3-4ubuntu2.5
  o php7.4-cgi - 7.4.3-4ubuntu2.5
  o php7.4-fpm - 7.4.3-4ubuntu2.5
  o php7.4-cli - 7.4.3-4ubuntu2.5

Ubuntu 18.04

  o php7.2-fpm - 7.2.24-0ubuntu0.18.04.8
  o php7.2-cli - 7.2.24-0ubuntu0.18.04.8
  o libapache2-mod-php7.2 - 7.2.24-0ubuntu0.18.04.8
  o php7.2-cgi - 7.2.24-0ubuntu0.18.04.8

In general, a standard system update will make all the necessary changes.

References

  o CVE-2020-7071
  o CVE-2021-21704
  o CVE-2021-21702
  o CVE-2020-7068
  o CVE-2021-21705

- --------------------------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

iQIVAwUBYOZM5eNLKJtyKPYoAQiONRAAhV8DiiaQszeTRrPve211wTy75e9XrCMA
CFjUCBXwotz+ME1UrOWPT8KKAvKf10ZExDaj7fS6HYnOWfO+A0bLTGLAqm26gpbT
++kpuUtyLW5lXbiUx1GFctadvY5TFXvNQhmRlWo6G3DGc1N/t/1u1vGQe3Tc6U9d
eaRHES2J4o0JB/Elq4/RSQazA8bqD9OUgvVxPYtPVvLUTjhYbKXxKoGk6KMZ+pq1
Yq2iPkgu6zYgAsam/5Ba+fr081PkWyHqvMr4rLOLQLat151QpQ+LP9bdi/DnaqQn
8138dwpxNVb1Qlv+5+AEIJRR4wfSfS3ycAdseFt+/V9ejT6lF/zlK/BLYnyA3Q10
vqq6ff2SgLmQEf5sNCLaUzZh+MoLZqJDvzDKDlvwx9yR1lbAKq2r1rUfjQ+8Pgv4
/rQazjEgP/02SZH+ZmnTDxxKrX+DndR4extN+oY+fkRzMJklLcSc0g8ekWVpNEzl
uaXKvI8j99tcw2nySMIcBDZ73rBCYq8NNrWCEX0aFca6nmFLzvBwy9uZqC2oCzgW
XtVKPCo2nyMTkTdVesziwdH2y6m5UVg0XfLluZ3CHX2yVqHdhqutXODtMVEscglO
EDwWLfbvrfsaMTKf60muJqwxNpxV9zFvVuN3ZGhRgIti2DvtCqli/nQOOn/Yz87T
JUFEEXy3DIs=
=qkcP
-----END PGP SIGNATURE-----