{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-52522",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2024-11-11T18:49:23.559Z",
        "datePublished": "2024-11-15T17:15:43.357Z",
        "dateUpdated": "2024-11-21T14:56:00.193Z"
    },
    "containers": {
        "cna": {
            "title": "Rclone  Improper Permission and Ownership Handling on Symlink Targets with --links and --metadata",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-59",
                            "lang": "en",
                            "description": "CWE-59: Improper Link Resolution Before File Access ('Link Following')",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-61",
                            "lang": "en",
                            "description": "CWE-61: UNIX Symbolic Link (Symlink) Following",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-281",
                            "lang": "en",
                            "description": "CWE-281: Improper Preservation of Permissions",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "LOCAL",
                        "attackComplexity": "LOW",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "LOW",
                        "userInteraction": "ACTIVE",
                        "vulnConfidentialityImpact": "HIGH",
                        "vulnIntegrityImpact": "HIGH",
                        "vulnAvailabilityImpact": "HIGH",
                        "subConfidentialityImpact": "LOW",
                        "subIntegrityImpact": "LOW",
                        "subAvailabilityImpact": "LOW",
                        "baseScore": 5.4,
                        "baseSeverity": "MEDIUM",
                        "vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/rclone/rclone/security/advisories/GHSA-hrxh-9w67-g4cv",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/rclone/rclone/security/advisories/GHSA-hrxh-9w67-g4cv"
                },
                {
                    "name": "https://github.com/rclone/rclone/commit/01ccf204f42b4f68541b16843292439090a2dcf0",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/rclone/rclone/commit/01ccf204f42b4f68541b16843292439090a2dcf0"
                }
            ],
            "affected": [
                {
                    "vendor": "rclone",
                    "product": "rclone",
                    "versions": [
                        {
                            "version": ">= 1.59.0, < 1.68.2",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2024-11-15T17:15:43.357Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Rclone is a command-line program to sync files and directories to and from different cloud storage providers. Insecure handling of symlinks with --links and --metadata in rclone while copying to local disk allows unprivileged users to indirectly modify ownership and permissions on symlink target files when a superuser or privileged process performs a copy. This vulnerability could enable privilege escalation and unauthorized access to critical system files, compromising system integrity, confidentiality, and availability. This vulnerability is fixed in 1.68.2."
                }
            ],
            "source": {
                "advisory": "GHSA-hrxh-9w67-g4cv",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-11-15T18:25:56.656814Z",
                                "id": "CVE-2024-52522",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-11-21T14:56:00.193Z"
                }
            }
        ]
    }
}