<?xml version="1.0" encoding="UTF-8"?>
<cvrfdoc xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:cpe="http://cpe.mitre.org/language/2.0" xmlns:cvrf="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/cvrf" xmlns:cvrf-common="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/common" xmlns:cvssv2="http://scap.nist.gov/schema/cvss-v2/1.0" xmlns:cvssv3="https://www.first.org/cvss/cvss-v3.0.xsd" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ns0="http://purl.org/dc/elements/1.1/" xmlns:prod="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/prod" xmlns:scap-core="http://scap.nist.gov/schema/scap-core/1.0" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:vuln="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/vuln" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/cvrf">
  <DocumentTitle xml:lang="en">Security update for varnish</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>openSUSE-SU-2022:0148-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2022-05-27T04:23:45Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2022-05-27T04:23:45Z</InitialReleaseDate>
    <CurrentReleaseDate>2022-05-27T04:23:45Z</CurrentReleaseDate>
    <Generator>
      <Engine>cve-database/bin/generate-cvrf.pl</Engine>
      <Date>2017-02-24T01:00:00Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">Security update for varnish</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for varnish fixes the following issues:

varnish was updated to release 7.1.0 [boo#1195188] [CVE-2022-23959]

* VCL: It is now possible to assign a BLOB value to a BODY
  variable, in addition to STRING as before.
* VMOD: New STRING strftime(TIME time, STRING format) function
  for UTC formatting.

Update to release 6.6.1

* CVE-2021-36740: Fix an HTTP/2.0 request smuggling vulnerability. [boo#1188470]

Update to release 6.6.0:

* The ban_cutoff parameter now refers to the overall length of
  the ban list, including completed bans, where before only
  non-completed (“active”) bans were counted towards ban_cutoff.
* Body bytes accounting has been fixed to always represent the
  number of body bytes moved on the wire, exclusive of
  protocol-specific overhead like HTTP/1 chunked encoding or
  HTTP/2 framing.
* The connection close reason has been fixed to properly report
  SC_RESP_CLOSE where previously only SC_REQ_CLOSE was reported.
* Unless the new validate_headers feature is disabled, all newly
  set headers are now validated to contain only characters
  allowed by RFC7230.
* The filter_re, keep_re and get_re functions from the bundled
  cookie vmod have been changed to take the VCL_REGEX type. This
  implies that their regular expression arguments now need to be
  literal, not e.g. string.
* The interface for private pointers in VMODs has been changed,
  the VRT backend interface has been changed, many filter
  (VDP/VFP) related signatures have been changed, and the
  stevedore API has been changed. (Details thereto, see online
  changelog.)

Update to release 6.5.1

* Bump the VRT_MAJOR_VERSION number defined in the vrt.h

Update to release 6.5.0

* `PRIV_TOP` is now thread-safe to support parallel ESI
  implementations.
* varnishstat's JSON output format (-j option) has been changed.
* Behavior for 304-type responses was changed not to update the
  Content-Encoding response header of the stored object.

- Update Git-Web repository link

Update to release 6.4.0

* The MAIN.sess_drop counter is gone.
* backend 'none' was added for 'no backend'.
* The hash algorithm of the hash director was changed, so
  backend selection will change once only when upgrading.
* It is now possible for VMOD authors to customize the
  connection pooling of a dynamic backend.
* For more, see changes.rst.

Update to release 6.3.2

* Fix a denial of service vulnerability when using the proxy
  protocol version 2.

Update to release 6.3.0

* The Host: header is folded to lower-case in the builtin_vcl.
* Improved performance of shared memory statistics counters.
* Synthetic objects created from vcl_backend_error {} now
  replace existing stale objects as ordinary backend fetches
  would (for details see changes.rst)
</Note>
    <Note Title="Terms of Use" Type="Legal Disclaimer" Ordinal="3" xml:lang="en">The CVRF data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).</Note>
    <Note Title="Patchnames" Type="Details" Ordinal="4" xml:lang="en">openSUSE-2022-148</Note>
  </DocumentNotes>
  <DocumentDistribution xml:lang="en">Copyright SUSE LLC under the Creative Commons License 4.0 with Attribution (CC-BY-4.0)</DocumentDistribution>
  <DocumentReferences>
    <Reference Type="Self">
      <URL>https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/KTY3FIXDKQEQLMHOF4U46AQ47W524UIM/</URL>
      <Description>E-Mail link for openSUSE-SU-2022:0148-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1181400</URL>
      <Description>SUSE Bug 1181400</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1188470</URL>
      <Description>SUSE Bug 1188470</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1195188</URL>
      <Description>SUSE Bug 1195188</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-36740/</URL>
      <Description>SUSE CVE CVE-2021-36740 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2022-23959/</URL>
      <Description>SUSE CVE CVE-2022-23959 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/prod">
    <Branch Type="Product Family" Name="SUSE Package Hub 15 SP3">
      <Branch Type="Product Name" Name="SUSE Package Hub 15 SP3">
        <FullProductName ProductID="SUSE Package Hub 15 SP3">SUSE Package Hub 15 SP3</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="openSUSE Leap 15.3">
      <Branch Type="Product Name" Name="openSUSE Leap 15.3">
        <FullProductName ProductID="openSUSE Leap 15.3" CPE="cpe:/o:opensuse:leap:15.3">openSUSE Leap 15.3</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libvarnishapi3-7.1.0-bp153.2.3.1">
      <FullProductName ProductID="libvarnishapi3-7.1.0-bp153.2.3.1">libvarnishapi3-7.1.0-bp153.2.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="varnish-7.1.0-bp153.2.3.1">
      <FullProductName ProductID="varnish-7.1.0-bp153.2.3.1">varnish-7.1.0-bp153.2.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="varnish-devel-7.1.0-bp153.2.3.1">
      <FullProductName ProductID="varnish-devel-7.1.0-bp153.2.3.1">varnish-devel-7.1.0-bp153.2.3.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libvarnishapi3-7.1.0-bp153.2.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 15 SP3">
      <FullProductName ProductID="SUSE Package Hub 15 SP3:libvarnishapi3-7.1.0-bp153.2.3.1">libvarnishapi3-7.1.0-bp153.2.3.1 as a component of SUSE Package Hub 15 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="varnish-7.1.0-bp153.2.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 15 SP3">
      <FullProductName ProductID="SUSE Package Hub 15 SP3:varnish-7.1.0-bp153.2.3.1">varnish-7.1.0-bp153.2.3.1 as a component of SUSE Package Hub 15 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="varnish-devel-7.1.0-bp153.2.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 15 SP3">
      <FullProductName ProductID="SUSE Package Hub 15 SP3:varnish-devel-7.1.0-bp153.2.3.1">varnish-devel-7.1.0-bp153.2.3.1 as a component of SUSE Package Hub 15 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="libvarnishapi3-7.1.0-bp153.2.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:libvarnishapi3-7.1.0-bp153.2.3.1">libvarnishapi3-7.1.0-bp153.2.3.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="varnish-7.1.0-bp153.2.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:varnish-7.1.0-bp153.2.3.1">varnish-7.1.0-bp153.2.3.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="varnish-devel-7.1.0-bp153.2.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:varnish-devel-7.1.0-bp153.2.3.1">varnish-devel-7.1.0-bp153.2.3.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
  </ProductTree>
  <vuln:Vulnerability xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/vuln" Ordinal="1">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">Varnish Cache, with HTTP/2 enabled, allows request smuggling and VCL authorization bypass via a large Content-Length header for a POST request. This affects Varnish Enterprise 6.0.x before 6.0.8r3, and Varnish Cache 5.x and 6.x before 6.5.2, 6.6.x before 6.6.1, and 6.0 LTS before 6.0.8.</Note>
    </Notes>
    <CVE>CVE-2021-36740</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Package Hub 15 SP3:libvarnishapi3-7.1.0-bp153.2.3.1</ProductID>
        <ProductID>SUSE Package Hub 15 SP3:varnish-7.1.0-bp153.2.3.1</ProductID>
        <ProductID>SUSE Package Hub 15 SP3:varnish-devel-7.1.0-bp153.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.3:libvarnishapi3-7.1.0-bp153.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.3:varnish-7.1.0-bp153.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.3:varnish-devel-7.1.0-bp153.2.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSetV2>
        <BaseScoreV2>6.4</BaseScoreV2>
        <VectorV2>AV:N/AC:L/Au:N/C:P/I:P/A:N</VectorV2>
      </ScoreSetV2>
      <ScoreSetV3>
        <BaseScoreV3>8.1</BaseScoreV3>
        <VectorV3>CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H</VectorV3>
      </ScoreSetV3>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/KTY3FIXDKQEQLMHOF4U46AQ47W524UIM/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-36740.html</URL>
        <Description>CVE-2021-36740</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1188470</URL>
        <Description>SUSE Bug 1188470</Description>
      </Reference>
    </References>
  </vuln:Vulnerability>
  <vuln:Vulnerability xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/vuln" Ordinal="2">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">In Varnish Cache before 6.6.2 and 7.x before 7.0.2, Varnish Cache 6.0 LTS before 6.0.10, and and Varnish Enterprise (Cache Plus) 4.1.x before 4.1.11r6 and 6.0.x before 6.0.9r4, request smuggling can occur for HTTP/1 connections.</Note>
    </Notes>
    <CVE>CVE-2022-23959</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Package Hub 15 SP3:libvarnishapi3-7.1.0-bp153.2.3.1</ProductID>
        <ProductID>SUSE Package Hub 15 SP3:varnish-7.1.0-bp153.2.3.1</ProductID>
        <ProductID>SUSE Package Hub 15 SP3:varnish-devel-7.1.0-bp153.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.3:libvarnishapi3-7.1.0-bp153.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.3:varnish-7.1.0-bp153.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.3:varnish-devel-7.1.0-bp153.2.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSetV2>
        <BaseScoreV2>6.4</BaseScoreV2>
        <VectorV2>AV:N/AC:L/Au:N/C:P/I:P/A:N</VectorV2>
      </ScoreSetV2>
      <ScoreSetV3>
        <BaseScoreV3>7.4</BaseScoreV3>
        <VectorV3>CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N</VectorV3>
      </ScoreSetV3>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/KTY3FIXDKQEQLMHOF4U46AQ47W524UIM/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2022-23959.html</URL>
        <Description>CVE-2022-23959</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1195188</URL>
        <Description>SUSE Bug 1195188</Description>
      </Reference>
    </References>
  </vuln:Vulnerability>
</cvrfdoc>
