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

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

                               ESB-2022.2831
                 USN-5474-1: Varnish Cache vulnerabilities
                                9 June 2022

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

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

Product:           varnish cache
Publisher:         Ubuntu
Operating System:  Ubuntu
Resolution:        Patch/Upgrade
CVE Names:         CVE-2022-23959 CVE-2021-36740 CVE-2020-11653
                   CVE-2019-20637  

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

Comment: CVSS (Max):  9.1 CVE-2022-23959 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N)
         CVSS Source: NVD
         Calculator:  https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

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

USN-5474-1: Varnish Cache vulnerabilities
8 June 2022

Several security issues were fixed in Varnish Cache.
Releases

  o Ubuntu 22.04 LTS
  o Ubuntu 21.10
  o Ubuntu 20.04 LTS
  o Ubuntu 18.04 LTS

Packages

  o varnish - state of the art, high-performance web accelerator

Details

It was dicovered that Varnish Cache did not clear a pointer between the
handling of one client request and the next request within the same connection.
A remote attacker could possibly use this issue to obtain sensitive
information. ( CVE-2019-20637 )

It was discovered that Varnish Cache could have an assertion failure when a
TLS termination proxy uses PROXY version 2. A remote attacker could possibly
use this issue to restart the daemon and cause a performance loss.
( CVE-2020-11653 )

It was discovered that Varnish Cache allowed request smuggling and VCL
authorization bypass via a large Content-Length header for a POST
request. A remote attacker could possibly use this issue to obtain sensitive
information. ( CVE-2021-36740 )

It was discovered that Varnish Cache allowed request smuggling for HTTP/1
connections. A remote attacker could possibly use this issue to obtain
sensitive information. ( CVE-2022-23959 )

Update instructions

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

Ubuntu 22.04

  o varnish - 6.6.1-1ubuntu0.2
  o libvarnishapi2 - 6.6.1-1ubuntu0.2

Ubuntu 21.10

  o varnish - 6.5.2-1ubuntu0.2
  o libvarnishapi2 - 6.5.2-1ubuntu0.2

Ubuntu 20.04

  o varnish - 6.2.1-2ubuntu0.1
  o libvarnishapi2 - 6.2.1-2ubuntu0.1

Ubuntu 18.04

  o varnish - 5.2.1-1ubuntu0.1
  o libvarnishapi1 - 5.2.1-1ubuntu0.1

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

References

  o CVE-2021-36740
  o CVE-2019-20637
  o CVE-2022-23959
  o CVE-2020-11653

Related notices

  o USN-5166-1 : libvarnishapi2, varnish-doc, varnish, libvarnishapi-dev

- --------------------------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: https://auscert.org.au/gpg-key/

iQIVAwUBYqFuK8kNZI30y1K9AQiUQxAAud1nosRd4bxImphbisG3c1vCcH1izmkt
lCj+9I9nx88wpb/TTyiNf8U9E57cqS7O/InHumoTJkRah2z1pQkeO404fyBsf/MH
W5EBo1PSlip0dti/dQnfQptpWwf4qhqOuG5nZpkdiqbhJggb4WLGR6Uzdx/kTlmy
wY2V7YrW5eWF4js4b3n+AKy8+AKtoltU2DDfKi+1qf+h93ijtDzbMF6RpGP+W1hi
PbRL64Jb+rzZbSmDfA+XoYhiG7b3PkYih3IvvFF9L2O2tqFFXrNlCxcyO9nc+AQf
xKa4sG+BCKYvn9lMRBbLe3RjAWPpeilME3auhIZi5cGYIXRB9t8QMgbgyr1E4Evl
cQiZqexgKlkn5mFzNs5zYEJcorVQG2iT1YKB5JpfaYltHPWc0cnY8WsgP3DjRQUw
wo75xuYmH8RaRnJ5AVCNpQlM274Q6RpJGHTQ37JJKkqWNnVtpgAnU4je7c30tmoN
p0hSQAwEm4hkuNGRhQVHEcskUS+vyIZvBirrRBp/zE6V+uDYBC7g7SFUZ99fIywD
UyapsenKiZbpVyFAsIt4IEf0Mu48T8FiLnPaxfYADVavJ9B2XyYHWBtJc274Ckkl
ljw5+2maP2vt1RfW6V6J8qGJyHcDhuZa1cdo8wlpuiTqYh4Zc7ko1RdOAdnM3q0F
d372fe218Hg=
=2OlM
-----END PGP SIGNATURE-----