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

A heap-based buffer overflow flaw was found in the rsync daemon. This issue is due to improper handling of attacker-controlled checksum lengths (s2length) in the code. When MAX_DIGEST_LEN exceeds the fixed SUM_LENGTH (16 bytes), an attacker can write out of bounds in the sum2 buffer.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "rsync",
            "binary_version": "3.2.7-0ubuntu0.22.04.3"
          }
        ],
        "priority_reason": "Possible remote code execution or denial of service"
      },
      "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"
          }
        ],
        "priority_reason": "Possible remote code execution or denial of service"
      },
      "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 heap-based buffer overflow flaw was found in the rsync daemon. This issue is due to improper handling of attacker-controlled checksum lengths (s2length) in the code. When MAX_DIGEST_LEN exceeds the fixed SUM_LENGTH (16 bytes), an attacker can write out of bounds in the sum2 buffer.",
  "id": "UBUNTU-CVE-2024-12084",
  "modified": "2025-09-08T16:58:57Z",
  "published": "2025-01-09T00:00:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-12084"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2024-12084"
    },
    {
      "type": "REPORT",
      "url": "https://kb.cert.org/vince/comm/case/2083/"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/RsyncProject/rsync/commit/0902b52f6687b1f7952422080d50b93108742e53"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/RsyncProject/rsync/commit/66015104257ab2b9b28b21411abf0b25a979a954"
    },
    {
      "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:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "high",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2024-12084"
  ]
}



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…