gsd-2023-38496
Vulnerability from gsd
Modified
2023-12-13 01:20
Details
Apptainer is an open source container platform. Version 1.2.0-rc.2 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. A security fix has been included in Apptainer 1.2.1. There is no known workaround outside of upgrading to Apptainer 1.2.1.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2023-38496",
    "id": "GSD-2023-38496"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2023-38496"
      ],
      "details": "Apptainer is an open source container platform. Version 1.2.0-rc.2 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. A security fix has been included in Apptainer 1.2.1. There is no known workaround outside of upgrading to Apptainer 1.2.1.",
      "id": "GSD-2023-38496",
      "modified": "2023-12-13T01:20:35.469390Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2023-38496",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "apptainer",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "=",
                          "version_value": "\u003e= 1.2.0-rc.2, \u003c 1.2.1"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "apptainer"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "Apptainer is an open source container platform. Version 1.2.0-rc.2 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. A security fix has been included in Apptainer 1.2.1. There is no known workaround outside of upgrading to Apptainer 1.2.1."
          }
        ]
      },
      "impact": {
        "cvss": [
          {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 6.1,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H",
            "version": "3.1"
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "cweId": "CWE-271",
                "lang": "eng",
                "value": "CWE-271: Privilege Dropping / Lowering Errors"
              }
            ]
          },
          {
            "description": [
              {
                "cweId": "CWE-269",
                "lang": "eng",
                "value": "CWE-269: Improper Privilege Management"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/apptainer/apptainer/security/advisories/GHSA-mmx5-32m4-wxvx",
            "refsource": "MISC",
            "url": "https://github.com/apptainer/apptainer/security/advisories/GHSA-mmx5-32m4-wxvx"
          },
          {
            "name": "https://github.com/apptainer/apptainer/pull/1523",
            "refsource": "MISC",
            "url": "https://github.com/apptainer/apptainer/pull/1523"
          },
          {
            "name": "https://github.com/apptainer/apptainer/pull/1578",
            "refsource": "MISC",
            "url": "https://github.com/apptainer/apptainer/pull/1578"
          }
        ]
      },
      "source": {
        "advisory": "GHSA-mmx5-32m4-wxvx",
        "discovery": "UNKNOWN"
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003e=v1.2.0 \u003cv1.2.1",
          "affected_versions": "All versions starting from 1.2.0 before 1.2.1",
          "cvss_v3": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2023-07-26",
          "description": "Apptainer is an open source container platform. Version 1.2.0-rc.2 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. A security fix has been included in Apptainer 1.2.1. There is no known workaround outside of upgrading to Apptainer 1.2.1.",
          "fixed_versions": [
            "v1.2.1"
          ],
          "identifier": "CVE-2023-38496",
          "identifiers": [
            "GHSA-mmx5-32m4-wxvx",
            "CVE-2023-38496"
          ],
          "not_impacted": "All versions before 1.2.0, all versions starting from 1.2.1",
          "package_slug": "go/github.com/apptainer/apptainer",
          "pubdate": "2023-07-25",
          "solution": "Upgrade to version 1.2.1 or above.",
          "title": "Ineffective privileges drop when requesting container network",
          "urls": [
            "https://github.com/apptainer/apptainer/security/advisories/GHSA-mmx5-32m4-wxvx",
            "https://github.com/apptainer/apptainer/pull/1578",
            "https://nvd.nist.gov/vuln/detail/CVE-2023-38496",
            "https://github.com/apptainer/apptainer/pull/1523",
            "https://github.com/advisories/GHSA-mmx5-32m4-wxvx"
          ],
          "uuid": "f4c3315e-de6c-4cc4-9b5a-8bed96471b42",
          "versions": [
            {
              "commit": {
                "sha": "89d30fc996980e6d253c25715c621cda948b28b7",
                "tags": [
                  "v1.2.0"
                ],
                "timestamp": "20230718151951"
              },
              "number": "v1.2.0"
            },
            {
              "commit": {
                "sha": "01bed320096e93baa574586475d772d78470897d",
                "tags": [
                  "v1.2.1"
                ],
                "timestamp": "20230724203341"
              },
              "number": "v1.2.1"
            }
          ]
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:lfprojects:apptainer:1.2.0:rc2:*:*:*:go:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:lfprojects:apptainer:1.2.0:-:*:*:*:go:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security-advisories@github.com",
          "ID": "CVE-2023-38496"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "Apptainer is an open source container platform. Version 1.2.0-rc.2 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. A security fix has been included in Apptainer 1.2.1. There is no known workaround outside of upgrading to Apptainer 1.2.1."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "NVD-CWE-noinfo"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/apptainer/apptainer/security/advisories/GHSA-mmx5-32m4-wxvx",
              "refsource": "MISC",
              "tags": [
                "Patch",
                "Vendor Advisory"
              ],
              "url": "https://github.com/apptainer/apptainer/security/advisories/GHSA-mmx5-32m4-wxvx"
            },
            {
              "name": "https://github.com/apptainer/apptainer/pull/1523",
              "refsource": "MISC",
              "tags": [
                "Patch"
              ],
              "url": "https://github.com/apptainer/apptainer/pull/1523"
            },
            {
              "name": "https://github.com/apptainer/apptainer/pull/1578",
              "refsource": "MISC",
              "tags": [
                "Patch"
              ],
              "url": "https://github.com/apptainer/apptainer/pull/1578"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "NONE",
            "baseScore": 3.3,
            "baseSeverity": "LOW",
            "confidentialityImpact": "NONE",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N",
            "version": "3.1"
          },
          "exploitabilityScore": 1.8,
          "impactScore": 1.4
        }
      },
      "lastModifiedDate": "2023-08-02T19:32Z",
      "publishedDate": "2023-07-25T22:15Z"
    }
  }
}


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.