Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

x/vulndb: potential Go vuln in github.com/apptainer/apptainer: GHSA-mmx5-32m4-wxvx #1965

Closed
GoVulnBot opened this issue Jul 25, 2023 · 3 comments
Assignees
Labels
excluded: EFFECTIVELY_PRIVATE This vulnerability exists in a package can be imported, but isn't meant to be outside that module.

Comments

@GoVulnBot
Copy link

In GitHub Security Advisory GHSA-mmx5-32m4-wxvx, there is a vulnerability in the following Go packages or modules:

Unit Fixed Vulnerable Ranges
github.com/apptainer/apptainer 1.2.1 >= 1.2.0, < 1.2.1

Cross references:

See doc/triage.md for instructions on how to triage this report.

modules:
    - module: github.com/apptainer/apptainer
      versions:
        - introduced: 1.2.0
          fixed: 1.2.1
      vulnerable_at: 1.2.0
      packages:
        - package: github.com/apptainer/apptainer
summary: Ineffective privileges drop when requesting container network
description: |-
    ### Impact

    Fix https://github.com/apptainer/apptainer/pull/1523 included in Apptainer
    1.2.0-rc.2 has introduced an ineffective privilege drop when requesting
    container network setup, therefore subsequent functions are called with root
    privileges. The attack surface is rather limited for users but an attacker could
    possibly craft a starter config to delete any directory on the host filesystems.
    Only affects setuid installations of Apptainer.

    ### Patches

    The security fix https://github.com/apptainer/apptainer/pull/1578 has been
    included in Apptainer 1.2.1

    ### Workarounds

    There is no known workaround outside of upgrading to Apptainer 1.2.1
cves:
    - CVE-2023-38496
ghsas:
    - GHSA-mmx5-32m4-wxvx
references:
    - advisory: https://github.com/apptainer/apptainer/security/advisories/GHSA-mmx5-32m4-wxvx
    - fix: https://github.com/apptainer/apptainer/pull/1578
    - advisory: https://github.com/advisories/GHSA-mmx5-32m4-wxvx

@neild neild self-assigned this Jul 31, 2023
@neild neild added the excluded: EFFECTIVELY_PRIVATE This vulnerability exists in a package can be imported, but isn't meant to be outside that module. label Jul 31, 2023
@gopherbot
Copy link
Contributor

Change https://go.dev/cl/514636 mentions this issue: data/excluded: batch add 31 excluded reports

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/592762 mentions this issue: data/reports: unexclude 75 reports

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/606789 mentions this issue: data/reports: unexclude 20 reports (9)

gopherbot pushed a commit that referenced this issue Aug 20, 2024
  - data/reports/GO-2023-1955.yaml
  - data/reports/GO-2023-1956.yaml
  - data/reports/GO-2023-1957.yaml
  - data/reports/GO-2023-1959.yaml
  - data/reports/GO-2023-1961.yaml
  - data/reports/GO-2023-1962.yaml
  - data/reports/GO-2023-1965.yaml
  - data/reports/GO-2023-1971.yaml
  - data/reports/GO-2023-1972.yaml
  - data/reports/GO-2023-1973.yaml
  - data/reports/GO-2023-1977.yaml
  - data/reports/GO-2023-1979.yaml
  - data/reports/GO-2023-1980.yaml
  - data/reports/GO-2023-1982.yaml
  - data/reports/GO-2023-1985.yaml
  - data/reports/GO-2023-1986.yaml
  - data/reports/GO-2023-1991.yaml
  - data/reports/GO-2023-1993.yaml
  - data/reports/GO-2023-1995.yaml
  - data/reports/GO-2023-1996.yaml

Updates #1955
Updates #1956
Updates #1957
Updates #1959
Updates #1961
Updates #1962
Updates #1965
Updates #1971
Updates #1972
Updates #1973
Updates #1977
Updates #1979
Updates #1980
Updates #1982
Updates #1985
Updates #1986
Updates #1991
Updates #1993
Updates #1995
Updates #1996

Change-Id: I681627cba89cee6d3bc2def3924c65a3b5da4453
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/606789
Reviewed-by: Damien Neil <dneil@google.com>
Auto-Submit: Tatiana Bradley <tatianabradley@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
excluded: EFFECTIVELY_PRIVATE This vulnerability exists in a package can be imported, but isn't meant to be outside that module.
Projects
None yet
Development

No branches or pull requests

3 participants