<?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 rmt-server</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE-SU-2023:2781-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2023-07-04T11:09:54Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2023-07-04T11:09:54Z</InitialReleaseDate>
    <CurrentReleaseDate>2023-07-04T11:09:54Z</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 rmt-server</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for rmt-server fixes the following issues:

Update to version 2.13:

- CVE-2023-28120: Fixed a possible XSS Security Vulnerability in bytesliced strings for html_safe (bsc#1209507).
- CVE-2023-27530: Fixed a DoS in multipart mime parsing (bsc#1209096).
- CVE-2022-31254: Fixed escalation vector bug from user _rmt to root in the packaging file (bsc#1204285).

Bug fixes:

- Handle X-Original-URI header, partial fix for (bsc#1211398)
- Force rmt-client-setup-res script to use https (bsc#1209825)
- Mark secrets.yml.key file as part of the rpm to allow seamless downgrades (bsc#1207670)
- Adding -f to the file move command when moving the mirrored directory to its final location (bsc#1203171) 
- Fix %post install of pubcloud subpackage reload of nginx (bsc#1206593)
- Skip warnings regarding nokogiri libxml version mismatch (bsc#1202053)
- Add option to turn off system token support (bsc#1205089)
- Do not retry to import non-existing files in air-gapped mode (bsc#1204769)
</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">Container suse/rmt-server:latest-2023-2781,SUSE-2023-2781,SUSE-SLE-Module-Public-Cloud-15-SP5-2023-2781,SUSE-SLE-Module-Server-Applications-15-SP5-2023-2781,openSUSE-SLE-15.5-2023-2781</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://www.suse.com/support/update/announcement/2023/suse-su-20232781-1/</URL>
      <Description>Link for SUSE-SU-2023:2781-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-updates/2023-July/030186.html</URL>
      <Description>E-Mail link for SUSE-SU-2023:2781-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/1202053</URL>
      <Description>SUSE Bug 1202053</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1203171</URL>
      <Description>SUSE Bug 1203171</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1204285</URL>
      <Description>SUSE Bug 1204285</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1204769</URL>
      <Description>SUSE Bug 1204769</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1205089</URL>
      <Description>SUSE Bug 1205089</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1206593</URL>
      <Description>SUSE Bug 1206593</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1207670</URL>
      <Description>SUSE Bug 1207670</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1209096</URL>
      <Description>SUSE Bug 1209096</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1209507</URL>
      <Description>SUSE Bug 1209507</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1209825</URL>
      <Description>SUSE Bug 1209825</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1211398</URL>
      <Description>SUSE Bug 1211398</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2022-31254/</URL>
      <Description>SUSE CVE CVE-2022-31254 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2023-27530/</URL>
      <Description>SUSE CVE CVE-2023-27530 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2023-28120/</URL>
      <Description>SUSE CVE CVE-2023-28120 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/prod">
    <Branch Type="Product Family" Name="Container suse/rmt-server:latest">
      <Branch Type="Product Name" Name="Container suse/rmt-server:latest">
        <FullProductName ProductID="Container suse/rmt-server:latest">Container suse/rmt-server:latest</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Module for Public Cloud 15 SP5">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Module for Public Cloud 15 SP5">
        <FullProductName ProductID="SUSE Linux Enterprise Module for Public Cloud 15 SP5" CPE="cpe:/o:suse:sle-module-public-cloud:15:sp5">SUSE Linux Enterprise Module for Public Cloud 15 SP5</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Module for Server Applications 15 SP5">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Module for Server Applications 15 SP5">
        <FullProductName ProductID="SUSE Linux Enterprise Module for Server Applications 15 SP5" CPE="cpe:/o:suse:sle-module-server-applications:15:sp5">SUSE Linux Enterprise Module for Server Applications 15 SP5</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="openSUSE Leap 15.5">
      <Branch Type="Product Name" Name="openSUSE Leap 15.5">
        <FullProductName ProductID="openSUSE Leap 15.5" CPE="cpe:/o:opensuse:leap:15.5">openSUSE Leap 15.5</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="rmt-server-2.13-150500.3.3.1">
      <FullProductName ProductID="rmt-server-2.13-150500.3.3.1">rmt-server-2.13-150500.3.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rmt-server-config-2.13-150500.3.3.1">
      <FullProductName ProductID="rmt-server-config-2.13-150500.3.3.1">rmt-server-config-2.13-150500.3.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rmt-server-pubcloud-2.13-150500.3.3.1">
      <FullProductName ProductID="rmt-server-pubcloud-2.13-150500.3.3.1">rmt-server-pubcloud-2.13-150500.3.3.1</FullProductName>
    </Branch>
    <Relationship ProductReference="rmt-server-2.13-150500.3.3.1" RelationType="Default Component Of" RelatesToProductReference="Container suse/rmt-server:latest">
      <FullProductName ProductID="Container suse/rmt-server:latest:rmt-server-2.13-150500.3.3.1">rmt-server-2.13-150500.3.3.1 as a component of Container suse/rmt-server:latest</FullProductName>
    </Relationship>
    <Relationship ProductReference="rmt-server-config-2.13-150500.3.3.1" RelationType="Default Component Of" RelatesToProductReference="Container suse/rmt-server:latest">
      <FullProductName ProductID="Container suse/rmt-server:latest:rmt-server-config-2.13-150500.3.3.1">rmt-server-config-2.13-150500.3.3.1 as a component of Container suse/rmt-server:latest</FullProductName>
    </Relationship>
    <Relationship ProductReference="rmt-server-pubcloud-2.13-150500.3.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Public Cloud 15 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Public Cloud 15 SP5:rmt-server-pubcloud-2.13-150500.3.3.1">rmt-server-pubcloud-2.13-150500.3.3.1 as a component of SUSE Linux Enterprise Module for Public Cloud 15 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="rmt-server-2.13-150500.3.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Server Applications 15 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Server Applications 15 SP5:rmt-server-2.13-150500.3.3.1">rmt-server-2.13-150500.3.3.1 as a component of SUSE Linux Enterprise Module for Server Applications 15 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="rmt-server-config-2.13-150500.3.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Server Applications 15 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Server Applications 15 SP5:rmt-server-config-2.13-150500.3.3.1">rmt-server-config-2.13-150500.3.3.1 as a component of SUSE Linux Enterprise Module for Server Applications 15 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="rmt-server-2.13-150500.3.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.5">
      <FullProductName ProductID="openSUSE Leap 15.5:rmt-server-2.13-150500.3.3.1">rmt-server-2.13-150500.3.3.1 as a component of openSUSE Leap 15.5</FullProductName>
    </Relationship>
    <Relationship ProductReference="rmt-server-config-2.13-150500.3.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.5">
      <FullProductName ProductID="openSUSE Leap 15.5:rmt-server-config-2.13-150500.3.3.1">rmt-server-config-2.13-150500.3.3.1 as a component of openSUSE Leap 15.5</FullProductName>
    </Relationship>
    <Relationship ProductReference="rmt-server-pubcloud-2.13-150500.3.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.5">
      <FullProductName ProductID="openSUSE Leap 15.5:rmt-server-pubcloud-2.13-150500.3.3.1">rmt-server-pubcloud-2.13-150500.3.3.1 as a component of openSUSE Leap 15.5</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">A Incorrect Default Permissions vulnerability in rmt-server-regsharing service of SUSE Linux Enterprise Server for SAP 15, SUSE Linux Enterprise Server for SAP 15-SP1, SUSE Manager Server 4.1; openSUSE Leap 15.3, openSUSE Leap 15.4 allows local attackers with access to the _rmt user to escalate to root. This issue affects: SUSE Linux Enterprise Server for SAP 15 rmt-server versions prior to 2.10. SUSE Linux Enterprise Server for SAP 15-SP1 rmt-server versions prior to 2.10. SUSE Manager Server 4.1 rmt-server versions prior to 2.10. openSUSE Leap 15.3 rmt-server versions prior to 2.10. openSUSE Leap 15.4 rmt-server versions prior to 2.10.</Note>
    </Notes>
    <CVE>CVE-2022-31254</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>Container suse/rmt-server:latest:rmt-server-2.13-150500.3.3.1</ProductID>
        <ProductID>Container suse/rmt-server:latest:rmt-server-config-2.13-150500.3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Public Cloud 15 SP5:rmt-server-pubcloud-2.13-150500.3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15 SP5:rmt-server-2.13-150500.3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15 SP5:rmt-server-config-2.13-150500.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.5:rmt-server-2.13-150500.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.5:rmt-server-config-2.13-150500.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.5:rmt-server-pubcloud-2.13-150500.3.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSetV3>
        <BaseScoreV3>7.8</BaseScoreV3>
        <VectorV3>CVSS:3.1/AV:L/AC:L/PR:N/UI:R/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://www.suse.com/support/update/announcement/2023/suse-su-20232781-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2022-31254.html</URL>
        <Description>CVE-2022-31254</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1204285</URL>
        <Description>SUSE Bug 1204285</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1207670</URL>
        <Description>SUSE Bug 1207670</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">A DoS vulnerability exists in Rack &lt;v3.0.4.2, &lt;v2.2.6.3, &lt;v2.1.4.3 and &lt;v2.0.9.3 within in the Multipart MIME parsing code in which could allow an attacker to craft requests that can be abuse to cause multipart parsing to take longer than expected.</Note>
    </Notes>
    <CVE>CVE-2023-27530</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>Container suse/rmt-server:latest:rmt-server-2.13-150500.3.3.1</ProductID>
        <ProductID>Container suse/rmt-server:latest:rmt-server-config-2.13-150500.3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Public Cloud 15 SP5:rmt-server-pubcloud-2.13-150500.3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15 SP5:rmt-server-2.13-150500.3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15 SP5:rmt-server-config-2.13-150500.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.5:rmt-server-2.13-150500.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.5:rmt-server-config-2.13-150500.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.5:rmt-server-pubcloud-2.13-150500.3.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSetV3>
        <BaseScoreV3>7.5</BaseScoreV3>
        <VectorV3>CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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://www.suse.com/support/update/announcement/2023/suse-su-20232781-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2023-27530.html</URL>
        <Description>CVE-2023-27530</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1209095</URL>
        <Description>SUSE Bug 1209095</Description>
      </Reference>
    </References>
  </vuln:Vulnerability>
  <vuln:Vulnerability xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/vuln" Ordinal="3">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">There is a vulnerability in ActiveSupport if the new bytesplice method is called on a SafeBuffer with untrusted user input.</Note>
    </Notes>
    <CVE>CVE-2023-28120</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>Container suse/rmt-server:latest:rmt-server-2.13-150500.3.3.1</ProductID>
        <ProductID>Container suse/rmt-server:latest:rmt-server-config-2.13-150500.3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Public Cloud 15 SP5:rmt-server-pubcloud-2.13-150500.3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15 SP5:rmt-server-2.13-150500.3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15 SP5:rmt-server-config-2.13-150500.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.5:rmt-server-2.13-150500.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.5:rmt-server-config-2.13-150500.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.5:rmt-server-pubcloud-2.13-150500.3.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSetV3>
        <BaseScoreV3>4.2</BaseScoreV3>
        <VectorV3>CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/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://www.suse.com/support/update/announcement/2023/suse-su-20232781-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2023-28120.html</URL>
        <Description>CVE-2023-28120</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1209505</URL>
        <Description>SUSE Bug 1209505</Description>
      </Reference>
    </References>
  </vuln:Vulnerability>
</cvrfdoc>
