SUSE 5181 Published by

A singularity security update has been released for openSUSE LEap 15.2 and 15.1 to address two vulnerabilities.



security-announce: openSUSE-SU-2020:1497-1: moderate: Security update for singularity


openSUSE Security Update: Security update for singularity
______________________________________________________________________________

Announcement ID: openSUSE-SU-2020:1497-1
Rating: moderate
References: #1176705 #1176707
Cross-References: CVE-2020-25039 CVE-2020-25040
Affected Products:
openSUSE Leap 15.2
openSUSE Leap 15.1
______________________________________________________________________________

An update that fixes two vulnerabilities is now available.

Description:

This update for singularity fixes the following issues:

New version 3.6.3, addresses the following security issues:

- CVE-2020-25039, boo#1176705

When a Singularity action command (run, shell, exec) is run with the
fakeroot or user namespace option, Singularity will extract a container
image to a temporary sandbox directory. Due to insecure permissions on the
temporary directory it is possible for any user with access to the system
to read the contents of the image. Additionally, if the image contains a
world-writable file or directory, it is possible for a user to inject
arbitrary content into the running container.

- CVE-2020-25040, boo#1176707

When a Singularity command that results in a container build operation
is executed, it is possible for a user with access to the system to read
the contents of the image during the build. Additionally, if the image
contains a world-writable file or directory, it is possible for a user to
inject arbitrary content into the running build, which in certain
circumstances may enable arbitrary code execution during the build and/or
when the built container is run.

New version 3.6.2, new features / functionalities:

-Add --force option to singularity delete for non-interactive workflows.
-Support compilation with FORTIFY_SOURCE=2 and build in pie mode with
fstack-protector enabled
- Changed defaults / behaviours
-Default to current architecture for singularity delete.
- Bug Fixes
-Respect current remote for singularity delete command.
-Allow rw as a (noop) bind option.
-Fix capability handling regression in overlay mount.
-Fix LD_LIBRARY_PATH environment override regression with --nv/--rocm.
-Fix environment variable duplication within singularity engine.
-Use -user-xattrs for unsquashfs to avoid error with rootless
extraction using unsquashfs 3.4
-Correct --no-home message for 3.6 CWD behavior.
-Don't fail if parent of cache dir not accessible.
-Fix tests for Go 1.15 Ctty handling.
-Fix additional issues with test images on ARM64.
-Fix FUSE e2e tests to use container ssh_config.
-Provide advisory message r.e. need for upper and work to exist in
overlay images.
-Use squashfs mem and processor limits in squashfs gzip check.
-Ensure build destination path is not an empty string - do not
overwrite CWD.
-Don't unset PATH when interpreting legacy /environment files.

Patch Instructions:

To install this openSUSE Security Update use the SUSE recommended installation methods
like YaST online_update or "zypper patch".

Alternatively you can run the command listed for your product:

- openSUSE Leap 15.2:

zypper in -t patch openSUSE-2020-1497=1

- openSUSE Leap 15.1:

zypper in -t patch openSUSE-2020-1497=1


Package List:

- openSUSE Leap 15.2 (x86_64):

singularity-3.6.3-lp152.2.6.1
singularity-debuginfo-3.6.3-lp152.2.6.1

- openSUSE Leap 15.1 (x86_64):

singularity-3.6.3-lp151.2.9.1
singularity-debuginfo-3.6.3-lp151.2.9.1

References:

  https://www.suse.com/security/cve/CVE-2020-25039.html
  https://www.suse.com/security/cve/CVE-2020-25040.html
  https://bugzilla.suse.com/1176705
  https://bugzilla.suse.com/1176707