SUSE-SU-2017:2697-1 Security update for libvirt

Not scored Published

An attacker can execute arbitrary commands by providing a malicious hostname in SSH connections, affecting libvirt virtualization management.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is SUSE-SU-2017:2697-1?

SUSE-SU-2017:2697-1 is a command injection vulnerability in libvirt, published on 10 Oct 2017. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

This update for libvirt fixes several issues.

This security issue was fixed:

  • bsc#1053600: Escape ssh commed line to prevent interpreting malicious hostname as arguments, allowing for command execution

These non-security issues were fixed:

  • bsc#1049505, bsc#1051017: Security manager: Don't autogenerate seclabels of type 'none' when AppArmor is inactive
  • bsc#1052151: Moved /usr/share/libvirt/libvirtLogo.png symlink from client to doc subpackage, where its target resides
  • bsc#1048783: Ignore newlines in libvirt-guests.sh guest list
  • bsc#1031056: Add default controllers for USB devices
  • bsc#1012143: Define path to parted using autoconf cache variable. parted is used for management of disk-based storage pools
  • bsc#1036785: Prevent output of null target in domxml-to-native

Which versions are affected by SUSE-SU-2017:2697-1?

Linux distribution packages (6)
libvirt SUSE:Linux Enterprise Desktop 12 SP2All versions2.0.0-27.20.1
libvirt SUSE:Linux Enterprise Server 12 SP2All versions2.0.0-27.20.1
libvirt SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2All versions2.0.0-27.20.1
libvirt SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions2.0.0-27.20.1
libvirt SUSE:Linux Enterprise Software Development Kit 12 SP2All versions2.0.0-27.20.1
libvirt SUSE:Linux Enterprise Workstation Extension 12 SP2All versions2.0.0-27.20.1

How do I fix SUSE-SU-2017:2697-1?

Apply the vendor's patch.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is SUSE-SU-2017:2697-1 being exploited?

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

Sources

Is SUSE-SU-2017:2697-1 in your software?

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

Check your SBOMs for free