ubuntu-cve-2023-7216
Vulnerability from osv_ubuntu
Published
2024-02-05 15:15
Modified
2026-05-20 15:02
Summary
Details

A path traversal vulnerability was found in the CPIO utility. This issue could allow a remote unauthenticated attacker to trick a user into opening a specially crafted archive. During the extraction process, the archiver could follow symlinks outside of the intended directory, which allows files to be written in arbitrary directories through symlinks.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cpio",
            "binary_version": "2.11+dfsg-1ubuntu1.2+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "cpio",
        "purl": "pkg:deb/ubuntu/cpio@2.11+dfsg-1ubuntu1.2+esm2?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.11+dfsg-1ubuntu1",
        "2.11+dfsg-1ubuntu1.1",
        "2.11+dfsg-1ubuntu1.2",
        "2.11+dfsg-1ubuntu1.2+esm1",
        "2.11+dfsg-1ubuntu1.2+esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cpio",
            "binary_version": "2.11+dfsg-5ubuntu1.1+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "cpio",
        "purl": "pkg:deb/ubuntu/cpio@2.11+dfsg-5ubuntu1.1+esm1?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.11+dfsg-4.1ubuntu1",
        "2.11+dfsg-5ubuntu1",
        "2.11+dfsg-5ubuntu1.1",
        "2.11+dfsg-5ubuntu1.1+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cpio",
            "binary_version": "2.12+dfsg-6ubuntu0.18.04.4"
          },
          {
            "binary_name": "cpio-win32",
            "binary_version": "2.12+dfsg-6ubuntu0.18.04.4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "cpio",
        "purl": "pkg:deb/ubuntu/cpio@2.12+dfsg-6ubuntu0.18.04.4?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.11+dfsg-6",
        "2.12+dfsg-6",
        "2.12+dfsg-6ubuntu0.18.04.1",
        "2.12+dfsg-6ubuntu0.18.04.4"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cpio",
            "binary_version": "2.13+dfsg-2ubuntu0.4"
          },
          {
            "binary_name": "cpio-win32",
            "binary_version": "2.13+dfsg-2ubuntu0.4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "cpio",
        "purl": "pkg:deb/ubuntu/cpio@2.13+dfsg-2ubuntu0.4?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.12+dfsg-9",
        "2.12+dfsg-9ubuntu1",
        "2.13+dfsg-1",
        "2.13+dfsg-2",
        "2.13+dfsg-2ubuntu0.3",
        "2.13+dfsg-2ubuntu0.4"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cpio",
            "binary_version": "2.13+dfsg-7ubuntu0.1"
          },
          {
            "binary_name": "cpio-win32",
            "binary_version": "2.13+dfsg-7ubuntu0.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "cpio",
        "purl": "pkg:deb/ubuntu/cpio@2.13+dfsg-7ubuntu0.1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.13+dfsg-4ubuntu4",
        "2.13+dfsg-7",
        "2.13+dfsg-7ubuntu0.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cpio",
            "binary_version": "2.15+dfsg-1ubuntu2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "cpio",
        "purl": "pkg:deb/ubuntu/cpio@2.15+dfsg-1ubuntu2?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.13+dfsg-7.1",
        "2.14+dfsg-1",
        "2.15+dfsg-1",
        "2.15+dfsg-1ubuntu1",
        "2.15+dfsg-1ubuntu2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cpio",
            "binary_version": "2.15+dfsg-2ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "cpio",
        "purl": "pkg:deb/ubuntu/cpio@2.15+dfsg-2ubuntu1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.15+dfsg-2",
        "2.15+dfsg-2ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cpio",
            "binary_version": "2.15+dfsg-2.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "cpio",
        "purl": "pkg:deb/ubuntu/cpio@2.15+dfsg-2.1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.15+dfsg-2ubuntu1",
        "2.15+dfsg-2.1"
      ]
    }
  ],
  "aliases": [],
  "details": "A path traversal vulnerability was found in the CPIO utility. This issue could allow a remote unauthenticated attacker to trick a user into opening a specially crafted archive. During the extraction process, the archiver could follow symlinks outside of the intended directory, which allows files to be written in arbitrary directories through symlinks.",
  "id": "UBUNTU-CVE-2023-7216",
  "modified": "2026-05-20T15:02:21Z",
  "published": "2024-02-05T15:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2023-7216"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2249901"
    },
    {
      "type": "REPORT",
      "url": "https://access.redhat.com/security/cve/CVE-2023-7216"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2023-7216"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2023-7216"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…