Skip to content
Heist/ feed
Back to feed
Medium

Rsync: race condition in rsync handling symbolic links

Type: advisorySources: OSV

A flaw was found in rsync. This vulnerability arises from a race condition during rsync's handling of symbolic links. Rsync's default behavior when encountering symbolic links is to skip them. If an attacker replaced a regular file with a symbolic link at the right time, it was possible to bypass the default behavior and traverse symbolic links. Depending on the privileges of the rsync process, an attacker could leak sensitive information, potentially leading to privilege escalation.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-12747
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 16:19 UTC · Revision 1

Source evidence

Rsync: race condition in rsync handling symbolic links

core-osv · Original source

Published 14 Jan 2025, 17:39 UTC

A flaw was found in rsync. This vulnerability arises from a race condition during rsync's handling of symbolic links. Rsync's default behavior when encountering symbolic links is to skip them. If an attacker replaced a regular file with a symbolic link at the right time, it was possible to bypass the default behavior and traverse symbolic links. Depending on the privileges of the rsync process, an attacker could leak sensitive information, potentially leading to privilege escalation.

osv:CVE-2024-12747
Complete source record
{
  "id": "27a3538a5f126b66e4a8140f0e922d3462b9354187d2606facfcb776fa9da183",
  "url": "https://osv.dev/vulnerability/CVE-2024-12747",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Rsync: race condition in rsync handling symbolic links",
    "summary": "A flaw was found in rsync. This vulnerability arises from a race condition during rsync's handling of symbolic links. Rsync's default behavior when encountering symbolic links is to skip them. If an attacker replaced a regular file with a symbolic link at the right time, it was possible to bypass the default behavior and traverse symbolic links. Depending on the privileges of the rsync process, an attacker could leak sensitive information, potentially leading to privilege escalation.",
    "evidence": "osv:CVE-2024-12747",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-12747",
      "aliases": [
        "CVE-2024-12747"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/rsyncproject/rsync",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "6c8ca91c731b7bf2b081694bda85b7dadc2b7aff"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "3.3.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.2.7",
            "v3.3.0",
            "v3.3.0pre1",
            "v3.2.7pre1",
            "v3.2.6",
            "v3.2.5",
            "v3.2.5pre2",
            "v3.2.5pre1",
            "v3.2.4",
            "v3.2.4pre4",
            "v3.2.4pre3",
            "v3.2.4pre2",
            "v3.2.4pre1",
            "v3.2.3",
            "v3.2.3pre1",
            "v3.2.2",
            "v3.2.2pre3",
            "v3.2.2pre2",
            "v3.2.2pre1",
            "v3.2.1",
            "v3.2.1pre1",
            "v3.2.0",
            "v3.2.0pre3",
            "v3.2.0pre2",
            "v3.2.0pre1",
            "v3.1.3",
            "v3.1.3pre1",
            "v3.1.2",
            "v3.1.2pre1",
            "v3.1.1",
            "v3.1.1pre2",
            "v3.1.1pre1",
            "v3.1.0",
            "v3.1.0pre1",
            "v3.0.3",
            "v3.0.3pre3",
            "v3.0.3pre2",
            "v3.0.3pre1",
            "v3.0.2",
            "v3.0.1",
            "v3.0.1pre3",
            "v3.0.1pre2",
            "v3.0.1pre1",
            "v3.0.0",
            "v3.0.0pre10",
            "v3.0.0pre9",
            "v3.0.0pre8",
            "v3.0.0pre7",
            "v3.0.0pre6",
            "v3.0.0pre5",
            "v3.0.0pre4",
            "v3.0.0pre3",
            "v3.0.0pre2",
            "v3.0.0pre1",
            "v2.6.9",
            "v2.6.9pre3",
            "v2.6.9pre2",
            "v2.6.9pre1",
            "v2.6.8",
            "v2.6.8pre1",
            "v2.6.7",
            "v2.6.7pre3",
            "v2.6.7pre2",
            "v2.6.7pre1",
            "v2.6.6pre1",
            "v2.6.5",
            "v2.6.5pre2",
            "v2.6.5pre1",
            "v2.6.4",
            "v2.6.4pre4",
            "v2.6.4pre3",
            "v2.6.4pre2",
            "v2.6.4pre1",
            "v2.6.3",
            "v2.6.3pre2",
            "v2.6.3pre1",
            "v2.6.2",
            "v2.6.2pre1",
            "v2.6.1",
            "v2.6.1pre2",
            "v2.6.1pre1",
            "v2.6.0",
            "v2.6.0pre2",
            "v2.6.0pre1",
            "v2.5.6",
            "v2.5.5",
            "v2.5.5.rc1",
            "v2.5.4",
            "v2.5.4pre1",
            "v2.5.3",
            "v2.5.3pre1",
            "v2.5.2",
            "v2.5.2pre3",
            "v2.5.2pre2",
            "v2.5.2pre1",
            "v2.5.1",
            "v2.5.1pre3",
            "v2.5.1pre2",
            "v2.5.1pre1",
            "v2.5.0",
            "v2.4.7pre4",
            "v2.4.7pre2",
            "mbp_bk_export0",
            "v2.4.6",
            "v2.4.5",
            "v2.4.4",
            "v2.4.3",
            "v2.4.2",
            "v2.4.1",
            "v2.4.0",
            "v2.3.2",
            "v2.3.1",
            "v2.3.0",
            "v2.2.1",
            "v2.2.0",
            "v2.1.1",
            "v2.1.0",
            "v2.0.19",
            "v2.0.18",
            "v2.0.17",
            "v2.0.16",
            "v2.0.15",
            "v2.0.14",
            "v2.0.13",
            "v2.0.12",
            "v2.0.11",
            "v2.0.10",
            "v2.0.9",
            "v2.0.8",
            "v2.0.7",
            "v2.0.6",
            "v2.0.5",
            "v2.0.4",
            "v2.0.3",
            "v2.0.2",
            "v2.0.1",
            "v2.0.0",
            "v1.7.4",
            "v1.7.3",
            "v1.7.2",
            "v1.7.1",
            "v1.7.0",
            "v1.6.9",
            "v1.6.8",
            "v1.6.7",
            "v1.6.6",
            "v1.6.5",
            "v1.6.4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-12747.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.273613848Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/downloads/content/package-browser/",
        "https://catalog.redhat.com/software/containers/",
        "https://kb.cert.org/vuls/id/952657",
        "https://lists.debian.org/debian-lts-announce/2025/01/msg00008.html",
        "https://www.kb.cert.org/vuls/id/952657",
        "https://access.redhat.com/errata/RHBA-2025:6470",
        "https://access.redhat.com/errata/RHSA-2025:2600",
        "https://access.redhat.com/errata/RHSA-2025:7050",
        "https://access.redhat.com/errata/RHSA-2025:8385",
        "https://access.redhat.com/security/cve/CVE-2024-12747",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/12xxx/CVE-2024-12747.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-12747",
        "https://security.netapp.com/advisory/ntap-20250131-0002/",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2332968",
        "https://github.com/RsyncProject/rsync"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-362"
        ],
        "cna_assigner": "redhat",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "0:3.4.1-2.el10"
                  },
                  {
                    "fixed": "0:3.1.3-21.el8_10"
                  },
                  {
                    "fixed": "0:3.2.5-3.el9"
                  },
                  {
                    "fixed": "0:3.2.5-3.el9"
                  },
                  {
                    "fixed": "1.14.2-1748467619"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "InverseAffectedRanges"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/12xxx/CVE-2024-12747.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-12747",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 497279,
  "published_at": "2025-01-14T17:39:16.031+00:00"
}