SUSE-SU-2022:1157-1 Security update for libsolv, libzypp, zypper

Not scored Published

Attackers can bypass package signature checks in SUSE package managers, potentially installing malicious software without detection.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is SUSE-SU-2022:1157-1?

SUSE-SU-2022:1157-1 is a vulnerability in libsolv, published on 12 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

This update for libsolv, libzypp, zypper fixes the following issues:

Security relevant fix:

  • Harden package signature checks (bsc#1184501).

libsolv update to 0.7.22:

  • reworked choice rule generation to cover more usecases
  • support SOLVABLE_PREREQ_IGNOREINST in the ordering code (bsc#1196514)
  • support parsing of Debian's Multi-Arch indicator
  • fix segfault on conflict resolution when using bindings
  • fix split provides not working if the update includes a forbidden vendor change
  • support strict repository priorities new solver flag: SOLVER_FLAG_STRICT_REPO_PRIORITY
  • support zstd compressed control files in debian packages
  • add an ifdef allowing to rename Solvable dependency members ('requires' is a keyword in C++20)
  • support setting/reading userdata in solv files new functions: repowriter_set_userdata, solv_read_userdata
  • support queying of the custom vendor check function new function: pool_get_custom_vendorcheck
  • support solv files with an idarray block
  • allow accessing the toolversion at runtime

libzypp update to 17.30.0:

  • ZConfig: Update solver settings if target changes (bsc#1196368)
  • Fix possible hang in singletrans mode (bsc#1197134)
  • Do 2 retries if mount is still busy.
  • Fix package signature check (bsc#1184501) Pay attention that header and payload are secured by a valid signature and report more detailed which signature is missing.
  • Retry umount if device is busy (bsc#1196061, closes #381) A previously released ISO image may need a bit more time to release it's loop device. So we wait a bit and retry.
  • Fix serializing/deserializing type mismatch in zypp-rpm protocol (bsc#1196925)
  • Fix handling of ISO media in releaseAll (bsc#1196061)
  • Hint on common ptf resolver conflicts (bsc#1194848)
  • Hint on ptf<>patch resolver conflicts (bsc#1194848)

zypper update to 1.14.52:

  • info: print the packages upstream URL if available (fixes #426)
  • info: Fix SEGV with not installed PTFs (bsc#1196317)
  • Don't prevent less restrictive umasks (bsc#1195999)

Which versions are affected by SUSE-SU-2022:1157-1?

Linux distribution packages (40)
libsolv SUSE:Enterprise Storage 7All versions0.7.22-150200.12.1
libzypp SUSE:Enterprise Storage 7All versions17.30.0-150200.36.1
zypper SUSE:Enterprise Storage 7All versions1.14.52-150200.30.2
libsolv SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOSAll versions0.7.22-150200.12.1
libzypp SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOSAll versions17.30.0-150200.36.1
zypper SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOSAll versions1.14.52-150200.30.2
libsolv SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions0.7.22-150200.12.1
libzypp SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions17.30.0-150200.36.1
zypper SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions1.14.52-150200.30.2
libsolv SUSE:Linux Enterprise Installer Updates 15 SP2All versions0.7.22-150200.12.1
libzypp SUSE:Linux Enterprise Installer Updates 15 SP2All versions17.30.0-150200.36.1
libsolv SUSE:Linux Enterprise Micro 5.0All versions0.7.22-150200.12.1
libzypp SUSE:Linux Enterprise Micro 5.0All versions17.30.0-150200.36.1
zypper SUSE:Linux Enterprise Micro 5.0All versions1.14.52-150200.30.2
libsolv SUSE:Linux Enterprise Micro 5.1All versions0.7.22-150200.12.1
libzypp SUSE:Linux Enterprise Micro 5.1All versions17.30.0-150200.36.1
zypper SUSE:Linux Enterprise Micro 5.1All versions1.14.52-150200.30.2
libsolv SUSE:Linux Enterprise Module for Basesystem 15 SP3All versions0.7.22-150200.12.1
libzypp SUSE:Linux Enterprise Module for Basesystem 15 SP3All versions17.30.0-150200.36.1
zypper SUSE:Linux Enterprise Module for Basesystem 15 SP3All versions1.14.52-150200.30.2
libsolv SUSE:Linux Enterprise Module for Development Tools 15 SP3All versions0.7.22-150200.12.1
libsolv SUSE:Linux Enterprise Real Time 15 SP2All versions0.7.22-150200.12.1
libzypp SUSE:Linux Enterprise Real Time 15 SP2All versions17.30.0-150200.36.1
zypper SUSE:Linux Enterprise Real Time 15 SP2All versions1.14.52-150200.30.2
libsolv SUSE:Linux Enterprise Server 15 SP2-BCLAll versions0.7.22-150200.12.1
libzypp SUSE:Linux Enterprise Server 15 SP2-BCLAll versions17.30.0-150200.36.1
zypper SUSE:Linux Enterprise Server 15 SP2-BCLAll versions1.14.52-150200.30.2
libsolv SUSE:Linux Enterprise Server 15 SP2-LTSSAll versions0.7.22-150200.12.1
libzypp SUSE:Linux Enterprise Server 15 SP2-LTSSAll versions17.30.0-150200.36.1
zypper SUSE:Linux Enterprise Server 15 SP2-LTSSAll versions1.14.52-150200.30.2
libsolv SUSE:Linux Enterprise Server for SAP Applications 15 SP2All versions0.7.22-150200.12.1
libzypp SUSE:Linux Enterprise Server for SAP Applications 15 SP2All versions17.30.0-150200.36.1
zypper SUSE:Linux Enterprise Server for SAP Applications 15 SP2All versions1.14.52-150200.30.2
libsolv SUSE:Manager Proxy 4.1All versions0.7.22-150200.12.1
libzypp SUSE:Manager Proxy 4.1All versions17.30.0-150200.36.1
zypper SUSE:Manager Proxy 4.1All versions1.14.52-150200.30.2
libsolv SUSE:Manager Retail Branch Server 4.1All versions0.7.22-150200.12.1
libzypp SUSE:Manager Retail Branch Server 4.1All versions17.30.0-150200.36.1
zypper SUSE:Manager Retail Branch Server 4.1All versions1.14.52-150200.30.2
libsolv SUSE:Manager Server 4.1All versions0.7.22-150200.12.1

How do I fix SUSE-SU-2022:1157-1?

Apply the vendor's patch.

Is SUSE-SU-2022:1157-1 being exploited?

There is no known exploitation of SUSE-SU-2022:1157-1 in the wild and no public exploit code.

Sources

Is SUSE-SU-2022:1157-1 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free