---
title: "CVE-2023-7207\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2023-7207?format=md
keywords: index, follow
---

# CVE-2023-7207

Publication date 29 February 2024

Last updated 26 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**4.9 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2023-7207?format=md#impact-score)

Toggle side navigation

## Description

Debian's cpio contains a path traversal vulnerability. This issue was
introduced by reverting CVE-2015-1197 patches which had caused a regression
in --no-absolute-filenames. Upstream has since provided a proper fix to
--no-absolute-filenames.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2023-7207?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| cpio | 24.04 LTS noble | Not affected |
| 23.10 mantic | Fixed 2.13+dfsg-7.1ubuntu0.1 |
| 23.04 lunar | Ignored end of life, was needed |
| 22.04 LTS jammy | Fixed 2.13+dfsg-7ubuntu0.1 |
| 20.04 LTS focal | Fixed 2.13+dfsg-2ubuntu0.4 |
| 18.04 LTS bionic | Not affected |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2023-7207?format=md#patch-details)

## Notes

---

### [ccdm94](https://launchpad.net/~ccdm94)

bionic and earlier are not affected by this issue as the CVE patch
for CVE-2015-1197 was not reverted in these releases.

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| cpio | * Upstream:   [?id=376](https://git.savannah.gnu.org/cgit/cpio.git/commit/?id=376d663340a9dc91c91a5849e5713f07571c1628) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

4.9 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | High |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | None |
  | Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 4.9 · Medium |
  | Exploitability score | - |
  | Impact score | - |

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

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-7207)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-7207)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2023-7207)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2023-7207)

### Related Ubuntu Security Notices (USN)

+ [USN-6755-1](https://usn.ubuntu.com/USN-6755-1)
+ GNU cpio vulnerabilities
+ 29 April 2024

### Other references

* <https://git.savannah.gnu.org/cgit/cpio.git/commit/?id=376d663340a9dc91c91a5849e5713f07571c1628>
* <https://www.openwall.com/lists/oss-security/2023/12/21/8>
* <https://www.cve.org/CVERecord?id=CVE-2023-7207>
