opensuse-su-2020:1529-1
Vulnerability from csaf_opensuse
Published
2020-09-25 10:22
Modified
2020-09-25 10:22
Summary
Security update for singularity

Notes

Title of the patch
Security update for singularity
Description of the patch
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. This update was imported from the openSUSE:Leap:15.2:Update update project.
Patchnames
openSUSE-2020-1529
Terms of use
CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).



{
  "document": {
    "aggregate_severity": {
      "namespace": "https://www.suse.com/support/security/rating/",
      "text": "moderate"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright 2024 SUSE LLC. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "Security update for singularity",
        "title": "Title of the patch"
      },
      {
        "category": "description",
        "text": "This update for singularity fixes the following issues:\n\nNew version 3.6.3, addresses the following security issues:\n\n- CVE-2020-25039, boo#1176705\n\n  When a Singularity action command (run, shell, exec) is run with \n  the fakeroot or user namespace option, Singularity will extract \n  a container image to a temporary sandbox directory. \n  Due to insecure permissions on the temporary directory it is possible \n  for any user with access to the system to read the contents of the image. \n  Additionally, if the image contains a world-writable file or directory, \n  it is possible for a user to inject arbitrary content into the running \n  container. \n\n- CVE-2020-25040, boo#1176707\n\n  When a Singularity command that results in a container \n  build operation is executed, it is possible for a user with access \n  to the system to read the contents of the image during the build. \n  Additionally, if the image contains a world-writable file or directory, \n  it is possible for a user to inject arbitrary content into the running \n  build, which in certain circumstances may enable arbitrary code execution \n  during the build and/or when the built container is run.\n\nNew version 3.6.2, new features / functionalities:\n\n  -Add --force option to singularity delete for non-interactive \n   workflows.\n  -Support compilation with FORTIFY_SOURCE=2 and build in pie mode \n   with fstack-protector enabled\n  - Changed defaults / behaviours\n   -Default to current architecture for singularity delete.\n  - Bug Fixes\n   -Respect current remote for singularity delete command.\n   -Allow rw as a (noop) bind option.\n   -Fix capability handling regression in overlay mount.\n   -Fix LD_LIBRARY_PATH environment override regression with --nv/--rocm.\n   -Fix environment variable duplication within singularity engine.\n   -Use -user-xattrs for unsquashfs to avoid error with rootless \n    extraction using unsquashfs 3.4\n   -Correct --no-home message for 3.6 CWD behavior.\n   -Don\u0027t fail if parent of cache dir not accessible.\n   -Fix tests for Go 1.15 Ctty handling.\n   -Fix additional issues with test images on ARM64.\n   -Fix FUSE e2e tests to use container ssh_config.\n   -Provide advisory message r.e. need for upper and work to exist \n    in overlay images.\n   -Use squashfs mem and processor limits in squashfs gzip check.\n   -Ensure build destination path is not an empty string - do not \n    overwrite CWD.\n   -Don\u0027t unset PATH when interpreting legacy /environment files.\n\nThis update was imported from the openSUSE:Leap:15.2:Update update project.",
        "title": "Description of the patch"
      },
      {
        "category": "details",
        "text": "openSUSE-2020-1529",
        "title": "Patchnames"
      },
      {
        "category": "legal_disclaimer",
        "text": "CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).",
        "title": "Terms of use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://www.suse.com/support/security/contact/",
      "name": "SUSE Product Security Team",
      "namespace": "https://www.suse.com/"
    },
    "references": [
      {
        "category": "external",
        "summary": "SUSE ratings",
        "url": "https://www.suse.com/support/security/rating/"
      },
      {
        "category": "self",
        "summary": "URL of this CSAF notice",
        "url": "https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2020_1529-1.json"
      },
      {
        "category": "self",
        "summary": "URL for openSUSE-SU-2020:1529-1",
        "url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/JWGSXLM5VJNRINIIQEQESX2AWNIBZXWO/"
      },
      {
        "category": "self",
        "summary": "E-Mail link for openSUSE-SU-2020:1529-1",
        "url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/JWGSXLM5VJNRINIIQEQESX2AWNIBZXWO/"
      },
      {
        "category": "self",
        "summary": "SUSE Bug 1176705",
        "url": "https://bugzilla.suse.com/1176705"
      },
      {
        "category": "self",
        "summary": "SUSE Bug 1176707",
        "url": "https://bugzilla.suse.com/1176707"
      },
      {
        "category": "self",
        "summary": "SUSE CVE CVE-2020-25039 page",
        "url": "https://www.suse.com/security/cve/CVE-2020-25039/"
      },
      {
        "category": "self",
        "summary": "SUSE CVE CVE-2020-25040 page",
        "url": "https://www.suse.com/security/cve/CVE-2020-25040/"
      }
    ],
    "title": "Security update for singularity",
    "tracking": {
      "current_release_date": "2020-09-25T10:22:50Z",
      "generator": {
        "date": "2020-09-25T10:22:50Z",
        "engine": {
          "name": "cve-database.git:bin/generate-csaf.pl",
          "version": "1"
        }
      },
      "id": "openSUSE-SU-2020:1529-1",
      "initial_release_date": "2020-09-25T10:22:50Z",
      "revision_history": [
        {
          "date": "2020-09-25T10:22:50Z",
          "number": "1",
          "summary": "Current version"
        }
      ],
      "status": "final",
      "version": "1"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "singularity-3.6.3-bp152.2.8.1.aarch64",
                "product": {
                  "name": "singularity-3.6.3-bp152.2.8.1.aarch64",
                  "product_id": "singularity-3.6.3-bp152.2.8.1.aarch64"
                }
              }
            ],
            "category": "architecture",
            "name": "aarch64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "singularity-3.6.3-bp152.2.8.1.ppc64le",
                "product": {
                  "name": "singularity-3.6.3-bp152.2.8.1.ppc64le",
                  "product_id": "singularity-3.6.3-bp152.2.8.1.ppc64le"
                }
              }
            ],
            "category": "architecture",
            "name": "ppc64le"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "singularity-3.6.3-bp152.2.8.1.s390x",
                "product": {
                  "name": "singularity-3.6.3-bp152.2.8.1.s390x",
                  "product_id": "singularity-3.6.3-bp152.2.8.1.s390x"
                }
              }
            ],
            "category": "architecture",
            "name": "s390x"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "singularity-3.6.3-bp152.2.8.1.x86_64",
                "product": {
                  "name": "singularity-3.6.3-bp152.2.8.1.x86_64",
                  "product_id": "singularity-3.6.3-bp152.2.8.1.x86_64"
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "SUSE Package Hub 15 SP2",
                "product": {
                  "name": "SUSE Package Hub 15 SP2",
                  "product_id": "SUSE Package Hub 15 SP2"
                }
              }
            ],
            "category": "product_family",
            "name": "SUSE Linux Enterprise"
          }
        ],
        "category": "vendor",
        "name": "SUSE"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "singularity-3.6.3-bp152.2.8.1.aarch64 as component of SUSE Package Hub 15 SP2",
          "product_id": "SUSE Package Hub 15 SP2:singularity-3.6.3-bp152.2.8.1.aarch64"
        },
        "product_reference": "singularity-3.6.3-bp152.2.8.1.aarch64",
        "relates_to_product_reference": "SUSE Package Hub 15 SP2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "singularity-3.6.3-bp152.2.8.1.ppc64le as component of SUSE Package Hub 15 SP2",
          "product_id": "SUSE Package Hub 15 SP2:singularity-3.6.3-bp152.2.8.1.ppc64le"
        },
        "product_reference": "singularity-3.6.3-bp152.2.8.1.ppc64le",
        "relates_to_product_reference": "SUSE Package Hub 15 SP2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "singularity-3.6.3-bp152.2.8.1.s390x as component of SUSE Package Hub 15 SP2",
          "product_id": "SUSE Package Hub 15 SP2:singularity-3.6.3-bp152.2.8.1.s390x"
        },
        "product_reference": "singularity-3.6.3-bp152.2.8.1.s390x",
        "relates_to_product_reference": "SUSE Package Hub 15 SP2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "singularity-3.6.3-bp152.2.8.1.x86_64 as component of SUSE Package Hub 15 SP2",
          "product_id": "SUSE Package Hub 15 SP2:singularity-3.6.3-bp152.2.8.1.x86_64"
        },
        "product_reference": "singularity-3.6.3-bp152.2.8.1.x86_64",
        "relates_to_product_reference": "SUSE Package Hub 15 SP2"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2020-25039",
      "ids": [
        {
          "system_name": "SUSE CVE Page",
          "text": "https://www.suse.com/security/cve/CVE-2020-25039"
        }
      ],
      "notes": [
        {
          "category": "general",
          "text": "Sylabs Singularity 3.2.0 through 3.6.2 has Insecure Permissions on temporary directories used in fakeroot or user namespace container execution.",
          "title": "CVE description"
        }
      ],
      "product_status": {
        "recommended": [
          "SUSE Package Hub 15 SP2:singularity-3.6.3-bp152.2.8.1.aarch64",
          "SUSE Package Hub 15 SP2:singularity-3.6.3-bp152.2.8.1.ppc64le",
          "SUSE Package Hub 15 SP2:singularity-3.6.3-bp152.2.8.1.s390x",
          "SUSE Package Hub 15 SP2:singularity-3.6.3-bp152.2.8.1.x86_64"
        ]
      },
      "references": [
        {
          "category": "external",
          "summary": "CVE-2020-25039",
          "url": "https://www.suse.com/security/cve/CVE-2020-25039"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1176705 for CVE-2020-25039",
          "url": "https://bugzilla.suse.com/1176705"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1176707 for CVE-2020-25039",
          "url": "https://bugzilla.suse.com/1176707"
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
          "product_ids": [
            "SUSE Package Hub 15 SP2:singularity-3.6.3-bp152.2.8.1.aarch64",
            "SUSE Package Hub 15 SP2:singularity-3.6.3-bp152.2.8.1.ppc64le",
            "SUSE Package Hub 15 SP2:singularity-3.6.3-bp152.2.8.1.s390x",
            "SUSE Package Hub 15 SP2:singularity-3.6.3-bp152.2.8.1.x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 6.2,
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
            "version": "3.1"
          },
          "products": [
            "SUSE Package Hub 15 SP2:singularity-3.6.3-bp152.2.8.1.aarch64",
            "SUSE Package Hub 15 SP2:singularity-3.6.3-bp152.2.8.1.ppc64le",
            "SUSE Package Hub 15 SP2:singularity-3.6.3-bp152.2.8.1.s390x",
            "SUSE Package Hub 15 SP2:singularity-3.6.3-bp152.2.8.1.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "date": "2020-09-25T10:22:50Z",
          "details": "moderate"
        }
      ],
      "title": "CVE-2020-25039"
    },
    {
      "cve": "CVE-2020-25040",
      "ids": [
        {
          "system_name": "SUSE CVE Page",
          "text": "https://www.suse.com/security/cve/CVE-2020-25040"
        }
      ],
      "notes": [
        {
          "category": "general",
          "text": "Sylabs Singularity through 3.6.2 has Insecure Permissions on temporary directories used in explicit and implicit container build operations, a different vulnerability than CVE-2020-25039.",
          "title": "CVE description"
        }
      ],
      "product_status": {
        "recommended": [
          "SUSE Package Hub 15 SP2:singularity-3.6.3-bp152.2.8.1.aarch64",
          "SUSE Package Hub 15 SP2:singularity-3.6.3-bp152.2.8.1.ppc64le",
          "SUSE Package Hub 15 SP2:singularity-3.6.3-bp152.2.8.1.s390x",
          "SUSE Package Hub 15 SP2:singularity-3.6.3-bp152.2.8.1.x86_64"
        ]
      },
      "references": [
        {
          "category": "external",
          "summary": "CVE-2020-25040",
          "url": "https://www.suse.com/security/cve/CVE-2020-25040"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1176707 for CVE-2020-25040",
          "url": "https://bugzilla.suse.com/1176707"
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
          "product_ids": [
            "SUSE Package Hub 15 SP2:singularity-3.6.3-bp152.2.8.1.aarch64",
            "SUSE Package Hub 15 SP2:singularity-3.6.3-bp152.2.8.1.ppc64le",
            "SUSE Package Hub 15 SP2:singularity-3.6.3-bp152.2.8.1.s390x",
            "SUSE Package Hub 15 SP2:singularity-3.6.3-bp152.2.8.1.x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 6.2,
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
            "version": "3.1"
          },
          "products": [
            "SUSE Package Hub 15 SP2:singularity-3.6.3-bp152.2.8.1.aarch64",
            "SUSE Package Hub 15 SP2:singularity-3.6.3-bp152.2.8.1.ppc64le",
            "SUSE Package Hub 15 SP2:singularity-3.6.3-bp152.2.8.1.s390x",
            "SUSE Package Hub 15 SP2:singularity-3.6.3-bp152.2.8.1.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "date": "2020-09-25T10:22:50Z",
          "details": "moderate"
        }
      ],
      "title": "CVE-2020-25040"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…