<?xml version="1.0" encoding="UTF-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
  <DocumentTitle xml:lang="en">Security update for osc</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE-SU-2022:4351-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2022-12-07T16:38:34Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2022-12-07T16:38:34Z</InitialReleaseDate>
    <CurrentReleaseDate>2022-12-07T16:38:34Z</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 osc</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for osc fixes the following issues:

  osc was updated to version 0.182.0 (bsc#1154972, bsc#1144211, bsc#1142662, bsc#1140697, bsc#1138165):

  - Added MFA support (jsc#OBS-203).
  - CVE-2019-3681: Fixed vulnerability where osc stored downloaded RPMs in network controlled paths (bsc#1122675).
  - CVE-2019-3685: Fixed broken TLS certificate handling (bsc#1142518). 

  Bugfixes:
  - Removed use of chardet to guess encoding. Utf-8 or latin-1 is now assumed, which will speed up decoding (bsc#1173926).
  - Added helper method _html_escape to enable python3.8 and python2.* compatibility (bsc#1166537).
  - Added MR creation to honor orev (bsc#1160446).
  - Fixed local build outside of the working copy of a package (bsc#1136584).
  - Don't enforce password reuse (bsc#1156501).
  - osc vc --file=foo bar.changes now writes the content from foo into bar.changes instead of creating a new file (bsc#1155953).
  - Fixed decoding on osc lbl (bsc#1137477).
  - Simplified and fixed osc meta -e (bsc#1138977).
  - osc lbl now works with non utf8 encoding (bsc#1129889).
  - Added full python3 compatibility (bsc#1125243, bsc#1131512, bsc#1129757).
  - Fixed slowdown of rbl with readline(bufsize) function (bsc#1127932).
  - Fixed osc build -p dir TypeError (bsc#1126055).
  - Fixed osc buildinfo -p TypeError (bsc#1126058).
  - Added new options --unexpand and --meta to diff command (bsc#1089025).
  - Fixed Requires to python-base which does not contain ssl.py (bsc#1097996).
</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">SUSE-2022-4351,SUSE-SLE-SDK-12-SP5-2022-4351</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/2022/suse-su-20224351-1/</URL>
      <Description>Link for SUSE-SU-2022:4351-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2022-December/013202.html</URL>
      <Description>E-Mail link for SUSE-SU-2022:4351-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/1089025</URL>
      <Description>SUSE Bug 1089025</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1097996</URL>
      <Description>SUSE Bug 1097996</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1122675</URL>
      <Description>SUSE Bug 1122675</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1125243</URL>
      <Description>SUSE Bug 1125243</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1126055</URL>
      <Description>SUSE Bug 1126055</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1126058</URL>
      <Description>SUSE Bug 1126058</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1127932</URL>
      <Description>SUSE Bug 1127932</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1129757</URL>
      <Description>SUSE Bug 1129757</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1129889</URL>
      <Description>SUSE Bug 1129889</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1131512</URL>
      <Description>SUSE Bug 1131512</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1136584</URL>
      <Description>SUSE Bug 1136584</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1137477</URL>
      <Description>SUSE Bug 1137477</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1138165</URL>
      <Description>SUSE Bug 1138165</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1138977</URL>
      <Description>SUSE Bug 1138977</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1140697</URL>
      <Description>SUSE Bug 1140697</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1142518</URL>
      <Description>SUSE Bug 1142518</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1142662</URL>
      <Description>SUSE Bug 1142662</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1144211</URL>
      <Description>SUSE Bug 1144211</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1154972</URL>
      <Description>SUSE Bug 1154972</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1155953</URL>
      <Description>SUSE Bug 1155953</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1156501</URL>
      <Description>SUSE Bug 1156501</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1160446</URL>
      <Description>SUSE Bug 1160446</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1166537</URL>
      <Description>SUSE Bug 1166537</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1173926</URL>
      <Description>SUSE Bug 1173926</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2019-3681/</URL>
      <Description>SUSE CVE CVE-2019-3681 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2019-3685/</URL>
      <Description>SUSE CVE CVE-2019-3685 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Software Development Kit 12 SP5">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Software Development Kit 12 SP5">
        <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP5" CPE="cpe:/o:suse:sle-sdk:12:sp5">SUSE Linux Enterprise Software Development Kit 12 SP5</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="osc-0.182.0-15.12.1">
      <FullProductName ProductID="osc-0.182.0-15.12.1">osc-0.182.0-15.12.1</FullProductName>
    </Branch>
    <Relationship ProductReference="osc-0.182.0-15.12.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 12 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP5:osc-0.182.0-15.12.1">osc-0.182.0-15.12.1 as a component of SUSE Linux Enterprise Software Development Kit 12 SP5</FullProductName>
    </Relationship>
  </ProductTree>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="1">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">A External Control of File Name or Path vulnerability in osc of SUSE Linux Enterprise Module for Development Tools 15, SUSE Linux Enterprise Software Development Kit 12-SP5, SUSE Linux Enterprise Software Development Kit 12-SP4; openSUSE Leap 15.1, openSUSE Factory allowed remote attackers that can change downloaded packages to overwrite arbitrary files. This issue affects: SUSE Linux Enterprise Module for Development Tools 15 osc versions prior to 0.169.1-3.20.1. SUSE Linux Enterprise Software Development Kit 12-SP5 osc versions prior to 0.162.1-15.9.1. SUSE Linux Enterprise Software Development Kit 12-SP4 osc versions prior to 0.162.1-15.9.1. openSUSE Leap 15.1 osc versions prior to 0.169.1-lp151.2.15.1. openSUSE Factory osc versions prior to 0.169.0 .</Note>
    </Notes>
    <CVE>CVE-2019-3681</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP5:osc-0.182.0-15.12.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <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/2022/suse-su-20224351-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2019-3681.html</URL>
        <Description>CVE-2019-3681</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1122675</URL>
        <Description>SUSE Bug 1122675</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="2">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">Open Build Service before version 0.165.4 diddn't validate TLS certificates for HTTPS connections with the osc client binary</Note>
    </Notes>
    <CVE>CVE-2019-3685</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP5:osc-0.182.0-15.12.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <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/2022/suse-su-20224351-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2019-3685.html</URL>
        <Description>CVE-2019-3685</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1142518</URL>
        <Description>SUSE Bug 1142518</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1142662</URL>
        <Description>SUSE Bug 1142662</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
