Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/opencontainers/runc/libcontainer
  4. ›
  5. CVE-2023-28642

CVE-2023-28642: Improper Link Resolution Before File Access ('Link Following')

March 29, 2023 (updated November 9, 2023)

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.

References

  • github.com/opencontainers/runc/pull/3785
  • github.com/opencontainers/runc/security/advisories/GHSA-g2j6-57v7-gm8c
  • nvd.nist.gov/vuln/detail/CVE-2023-28642

Code Behaviors & Features

Detect and mitigate CVE-2023-28642 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.1.5

Fixed versions

  • v1.1.5

Solution

Upgrade to version 1.1.5 or above.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-59: Improper Link Resolution Before File Access ('Link Following')

Source file

go/github.com/opencontainers/runc/libcontainer/CVE-2023-28642.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:35 +0000.