ubuntu-cve-2024-12087
Vulnerability from osv_ubuntu
Published
2025-01-09 00:00
Modified
2025-09-08 16:58
Summary
Details

A path traversal vulnerability exists in rsync. It stems from behavior enabled by the --inc-recursive option, a default-enabled option for many client options and can be enabled by the server even if not explicitly enabled by the client. When using the --inc-recursive option, a lack of proper symlink verification coupled with deduplication checks occurring on a per-file-list basis could allow a server to write files outside of the client's intended destination directory. A malicious server could write malicious files to arbitrary locations named after valid directories/paths on the client.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "rsync",
            "binary_version": "3.1.0-2ubuntu0.4+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "rsync",
        "purl": "pkg:deb/ubuntu/rsync@3.1.0-2ubuntu0.4+esm1?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.1.0-2ubuntu0.4+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.0.9-4ubuntu1",
        "3.1.0-2",
        "3.1.0-2ubuntu0.1",
        "3.1.0-2ubuntu0.2",
        "3.1.0-2ubuntu0.3",
        "3.1.0-2ubuntu0.4"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "rsync",
            "binary_version": "3.1.1-3ubuntu1.3+esm3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "rsync",
        "purl": "pkg:deb/ubuntu/rsync@3.1.1-3ubuntu1.3+esm3?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.1.1-3ubuntu1.3+esm3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.1.1-3",
        "3.1.1-3ubuntu1",
        "3.1.1-3ubuntu1.1",
        "3.1.1-3ubuntu1.2",
        "3.1.1-3ubuntu1.3",
        "3.1.1-3ubuntu1.3+esm1",
        "3.1.1-3ubuntu1.3+esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "rsync",
            "binary_version": "3.1.2-2.1ubuntu1.6+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "rsync",
        "purl": "pkg:deb/ubuntu/rsync@3.1.2-2.1ubuntu1.6+esm1?arch=source\u0026distro=esm-infra/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.1.2-2.1ubuntu1.6+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.1.2-2",
        "3.1.2-2.1",
        "3.1.2-2.1ubuntu1",
        "3.1.2-2.1ubuntu1.1",
        "3.1.2-2.1ubuntu1.2",
        "3.1.2-2.1ubuntu1.3",
        "3.1.2-2.1ubuntu1.4",
        "3.1.2-2.1ubuntu1.5",
        "3.1.2-2.1ubuntu1.6"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "rsync",
            "binary_version": "3.1.3-8ubuntu0.8"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "rsync",
        "purl": "pkg:deb/ubuntu/rsync@3.1.3-8ubuntu0.8?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.1.3-8ubuntu0.8"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.1.3-6",
        "3.1.3-8",
        "3.1.3-8ubuntu0.1",
        "3.1.3-8ubuntu0.2",
        "3.1.3-8ubuntu0.3",
        "3.1.3-8ubuntu0.4",
        "3.1.3-8ubuntu0.5",
        "3.1.3-8ubuntu0.7"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "rsync",
            "binary_version": "3.2.7-0ubuntu0.22.04.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "rsync",
        "purl": "pkg:deb/ubuntu/rsync@3.2.7-0ubuntu0.22.04.3?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.2.7-0ubuntu0.22.04.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.2.3-4ubuntu1",
        "3.2.3-4ubuntu2",
        "3.2.3-8ubuntu1",
        "3.2.3-8ubuntu2",
        "3.2.3-8ubuntu3",
        "3.2.3-8ubuntu3.1",
        "3.2.7-0ubuntu0.22.04.2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "rsync",
            "binary_version": "3.2.7-1ubuntu1.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "rsync",
        "purl": "pkg:deb/ubuntu/rsync@3.2.7-1ubuntu1.1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.2.7-1ubuntu1.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.2.7-1",
        "3.2.7-1build1",
        "3.2.7-1build2",
        "3.2.7-1ubuntu1"
      ]
    }
  ],
  "aliases": [],
  "details": "A path traversal vulnerability exists in rsync. It stems from behavior enabled by the `--inc-recursive` option, a default-enabled option for many client options and can be enabled by the server even if not explicitly enabled by the client. When using the `--inc-recursive` option, a lack of proper symlink verification coupled with deduplication checks occurring on a per-file-list basis could allow a server to write files outside of the client\u0027s intended destination directory. A malicious server could write malicious files to arbitrary locations named after valid directories/paths on the client.",
  "id": "UBUNTU-CVE-2024-12087",
  "modified": "2025-09-08T16:58:57Z",
  "published": "2025-01-09T00:00:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-12087"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2024-12087"
    },
    {
      "type": "REPORT",
      "url": "https://kb.cert.org/vince/comm/case/2083/"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7206-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7206-3"
    }
  ],
  "related": [
    "USN-7206-1",
    "USN-7206-3"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2024-12087"
  ]
}



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…