gsd-2023-28642
Vulnerability from gsd
Modified
2023-12-13 01:20
Details
runc is a CLI tool for spawning and running containers according to the OCI specification. It was found that AppArmor can be bypassed when `/proc` inside the container is symlinked with a specific mount configuration. This issue has been fixed in runc version 1.1.5, by prohibiting symlinked `/proc`. See PR #3785 for details. users are advised to upgrade. Users unable to upgrade should avoid using an untrusted container image.
Aliases
Aliases



{
   GSD: {
      alias: "CVE-2023-28642",
      id: "GSD-2023-28642",
   },
   gsd: {
      metadata: {
         exploitCode: "unknown",
         remediation: "unknown",
         reportConfidence: "confirmed",
         type: "vulnerability",
      },
      osvSchema: {
         aliases: [
            "CVE-2023-28642",
         ],
         details: "runc is a CLI tool for spawning and running containers according to the OCI specification. It was found that AppArmor can be bypassed when `/proc` inside the container is symlinked with a specific mount configuration. This issue has been fixed in runc version 1.1.5, by prohibiting symlinked `/proc`. See PR #3785 for details. users are advised to upgrade. Users unable to upgrade should avoid using an untrusted container image.",
         id: "GSD-2023-28642",
         modified: "2023-12-13T01:20:47.884521Z",
         schema_version: "1.4.0",
      },
   },
   namespaces: {
      "cve.org": {
         CVE_data_meta: {
            ASSIGNER: "security-advisories@github.com",
            ID: "CVE-2023-28642",
            STATE: "PUBLIC",
         },
         affects: {
            vendor: {
               vendor_data: [
                  {
                     product: {
                        product_data: [
                           {
                              product_name: "runc",
                              version: {
                                 version_data: [
                                    {
                                       version_affected: "=",
                                       version_value: "< 1.1.5",
                                    },
                                 ],
                              },
                           },
                        ],
                     },
                     vendor_name: "opencontainers",
                  },
               ],
            },
         },
         data_format: "MITRE",
         data_type: "CVE",
         data_version: "4.0",
         description: {
            description_data: [
               {
                  lang: "eng",
                  value: "runc is a CLI tool for spawning and running containers according to the OCI specification. It was found that AppArmor can be bypassed when `/proc` inside the container is symlinked with a specific mount configuration. This issue has been fixed in runc version 1.1.5, by prohibiting symlinked `/proc`. See PR #3785 for details. users are advised to upgrade. Users unable to upgrade should avoid using an untrusted container image.",
               },
            ],
         },
         impact: {
            cvss: [
               {
                  attackComplexity: "LOW",
                  attackVector: "LOCAL",
                  availabilityImpact: "LOW",
                  baseScore: 6.1,
                  baseSeverity: "MEDIUM",
                  confidentialityImpact: "LOW",
                  integrityImpact: "LOW",
                  privilegesRequired: "NONE",
                  scope: "CHANGED",
                  userInteraction: "REQUIRED",
                  vectorString: "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L",
                  version: "3.1",
               },
            ],
         },
         problemtype: {
            problemtype_data: [
               {
                  description: [
                     {
                        cweId: "CWE-281",
                        lang: "eng",
                        value: "CWE-281: Improper Preservation of Permissions",
                     },
                  ],
               },
            ],
         },
         references: {
            reference_data: [
               {
                  name: "https://github.com/opencontainers/runc/security/advisories/GHSA-g2j6-57v7-gm8c",
                  refsource: "MISC",
                  url: "https://github.com/opencontainers/runc/security/advisories/GHSA-g2j6-57v7-gm8c",
               },
               {
                  name: "https://github.com/opencontainers/runc/pull/3785",
                  refsource: "MISC",
                  url: "https://github.com/opencontainers/runc/pull/3785",
               },
            ],
         },
         source: {
            advisory: "GHSA-g2j6-57v7-gm8c",
            discovery: "UNKNOWN",
         },
      },
      "gitlab.com": {
         advisories: [
            {
               affected_range: "<v1.1.5",
               affected_versions: "All versions before 1.1.5",
               cwe_ids: [
                  "CWE-1035",
                  "CWE-281",
                  "CWE-937",
               ],
               date: "2023-03-30",
               description: "runc is a CLI tool for spawning and running containers according to the OCI specification. It was found that AppArmor can be bypassed when `/proc` inside the container is symlinked with a specific mount configuration. This issue has been fixed in runc version 1.1.5, by prohibiting symlinked `/proc`. See PR #3785 for details. users are advised to upgrade. Users unable to upgrade should avoid using an untrusted container image.",
               fixed_versions: [
                  "v1.1.5",
               ],
               identifier: "CVE-2023-28642",
               identifiers: [
                  "GHSA-g2j6-57v7-gm8c",
                  "CVE-2023-28642",
               ],
               not_impacted: "All versions starting from 1.1.5",
               package_slug: "go/github.com/opencontainers/runc",
               pubdate: "2023-03-30",
               solution: "Upgrade to version 1.1.5 or above.",
               title: "Improper Preservation of Permissions",
               urls: [
                  "https://github.com/opencontainers/runc/security/advisories/GHSA-g2j6-57v7-gm8c",
                  "https://nvd.nist.gov/vuln/detail/CVE-2023-28642",
                  "https://github.com/opencontainers/runc/pull/3785",
                  "https://github.com/advisories/GHSA-g2j6-57v7-gm8c",
               ],
               uuid: "705e6608-ef86-4bcb-b973-9784ab5901fa",
               versions: [
                  {
                     commit: {
                        sha: "4ef48971e5d827018b74876a06e32ab7636f0a26",
                        tags: [
                           "v1.1.5",
                        ],
                        timestamp: "20230329064553",
                     },
                     number: "v1.1.5",
                  },
               ],
            },
            {
               affected_range: "<v1.1.5",
               affected_versions: "All versions before 1.1.5",
               cvss_v3: "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
               cwe_ids: [
                  "CWE-1035",
                  "CWE-59",
                  "CWE-937",
               ],
               date: "2023-04-06",
               description: "runc is a CLI tool for spawning and running containers according to the OCI specification. It was found that AppArmor can be bypassed when `/proc` inside the container is symlinked with a specific mount configuration. This issue has been fixed in runc version 1.1.5, by prohibiting symlinked `/proc`. See PR #3785 for details. users are advised to upgrade. Users unable to upgrade should avoid using an untrusted container image.",
               fixed_versions: [
                  "v1.1.5",
               ],
               identifier: "CVE-2023-28642",
               identifiers: [
                  "CVE-2023-28642",
                  "GHSA-g2j6-57v7-gm8c",
               ],
               not_impacted: "All versions starting from 1.1.5",
               package_slug: "go/github.com/opencontainers/runc/libcontainer",
               pubdate: "2023-03-29",
               solution: "Upgrade to version 1.1.5 or above.",
               title: "Improper Link Resolution Before File Access ('Link Following')",
               urls: [
                  "https://nvd.nist.gov/vuln/detail/CVE-2023-28642",
                  "https://github.com/opencontainers/runc/security/advisories/GHSA-g2j6-57v7-gm8c",
                  "https://github.com/opencontainers/runc/pull/3785",
               ],
               uuid: "112d24ac-dd5f-4aa4-a219-f1e50d09f4ba",
               versions: [
                  {
                     commit: {
                        sha: "4ef48971e5d827018b74876a06e32ab7636f0a26",
                        tags: [
                           "v1.1.5",
                        ],
                        timestamp: "20230329064553",
                     },
                     number: "v1.1.5",
                  },
               ],
            },
         ],
      },
      "nvd.nist.gov": {
         configurations: {
            CVE_data_version: "4.0",
            nodes: [
               {
                  children: [],
                  cpe_match: [
                     {
                        cpe23Uri: "cpe:2.3:a:linuxfoundation:runc:*:*:*:*:*:*:*:*",
                        cpe_name: [],
                        versionEndExcluding: "1.1.5",
                        vulnerable: true,
                     },
                  ],
                  operator: "OR",
               },
            ],
         },
         cve: {
            CVE_data_meta: {
               ASSIGNER: "security-advisories@github.com",
               ID: "CVE-2023-28642",
            },
            data_format: "MITRE",
            data_type: "CVE",
            data_version: "4.0",
            description: {
               description_data: [
                  {
                     lang: "en",
                     value: "runc is a CLI tool for spawning and running containers according to the OCI specification. It was found that AppArmor can be bypassed when `/proc` inside the container is symlinked with a specific mount configuration. This issue has been fixed in runc version 1.1.5, by prohibiting symlinked `/proc`. See PR #3785 for details. users are advised to upgrade. Users unable to upgrade should avoid using an untrusted container image.",
                  },
               ],
            },
            problemtype: {
               problemtype_data: [
                  {
                     description: [
                        {
                           lang: "en",
                           value: "CWE-59",
                        },
                     ],
                  },
               ],
            },
            references: {
               reference_data: [
                  {
                     name: "https://github.com/opencontainers/runc/security/advisories/GHSA-g2j6-57v7-gm8c",
                     refsource: "MISC",
                     tags: [
                        "Patch",
                        "Vendor Advisory",
                     ],
                     url: "https://github.com/opencontainers/runc/security/advisories/GHSA-g2j6-57v7-gm8c",
                  },
                  {
                     name: "https://github.com/opencontainers/runc/pull/3785",
                     refsource: "MISC",
                     tags: [
                        "Patch",
                     ],
                     url: "https://github.com/opencontainers/runc/pull/3785",
                  },
               ],
            },
         },
         impact: {
            baseMetricV3: {
               cvssV3: {
                  attackComplexity: "LOW",
                  attackVector: "LOCAL",
                  availabilityImpact: "HIGH",
                  baseScore: 7.8,
                  baseSeverity: "HIGH",
                  confidentialityImpact: "HIGH",
                  integrityImpact: "HIGH",
                  privilegesRequired: "LOW",
                  scope: "UNCHANGED",
                  userInteraction: "NONE",
                  vectorString: "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                  version: "3.1",
               },
               exploitabilityScore: 1.8,
               impactScore: 5.9,
            },
         },
         lastModifiedDate: "2023-04-06T17:45Z",
         publishedDate: "2023-03-29T19:15Z",
      },
   },
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the vulnerability lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



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.