{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2025-54798",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2025-07-29T16:50:28.395Z",
        "datePublished": "2025-08-07T00:04:35.370Z",
        "dateUpdated": "2025-11-03T20:06:39.242Z"
    },
    "containers": {
        "cna": {
            "title": "tmp does not restrict arbitrary temporary file / directory write via symbolic link `dir` parameter",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-59",
                            "lang": "en",
                            "description": "CWE-59: Improper Link Resolution Before File Access ('Link Following')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "LOCAL",
                        "availabilityImpact": "NONE",
                        "baseScore": 2.5,
                        "baseSeverity": "LOW",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/raszi/node-tmp/security/advisories/GHSA-52f5-9888-hmc6",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/raszi/node-tmp/security/advisories/GHSA-52f5-9888-hmc6"
                },
                {
                    "name": "https://github.com/raszi/node-tmp/issues/207",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/raszi/node-tmp/issues/207"
                },
                {
                    "name": "https://github.com/raszi/node-tmp/commit/188b25e529496e37adaf1a1d9dccb40019a08b1b",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/raszi/node-tmp/commit/188b25e529496e37adaf1a1d9dccb40019a08b1b"
                }
            ],
            "affected": [
                {
                    "vendor": "raszi",
                    "product": "node-tmp",
                    "versions": [
                        {
                            "version": "< 0.2.4",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2025-08-07T00:04:35.370Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "tmp is a temporary file and directory creator for node.js. In versions 0.2.3 and below, tmp is vulnerable to an arbitrary temporary file / directory write via symbolic link dir parameter. This is fixed in version 0.2.4."
                }
            ],
            "source": {
                "advisory": "GHSA-52f5-9888-hmc6",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "references": [
                    {
                        "url": "https://github.com/raszi/node-tmp/security/advisories/GHSA-52f5-9888-hmc6",
                        "tags": [
                            "exploit"
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2025-08-07T14:04:19.811342Z",
                                "id": "CVE-2025-54798",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "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": "2025-08-07T14:04:24.089Z"
                }
            },
            {
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://lists.debian.org/debian-lts-announce/2025/08/msg00007.html"
                    }
                ],
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2025-11-03T20:06:39.242Z"
                }
            }
        ]
    }
}