{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2022-0436",
        "assignerOrgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
        "assignerShortName": "@huntrdev",
        "dateUpdated": "2024-08-02T23:25:40.632Z",
        "dateReserved": "2022-01-31T00:00:00",
        "datePublished": "2022-04-12T00:00:00"
    },
    "containers": {
        "cna": {
            "title": "Path Traversal in gruntjs/grunt",
            "providerMetadata": {
                "orgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
                "shortName": "@huntrdev",
                "dateUpdated": "2023-04-06T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Path Traversal in GitHub repository gruntjs/grunt prior to 1.5.2."
                }
            ],
            "affected": [
                {
                    "vendor": "gruntjs",
                    "product": "gruntjs/grunt",
                    "versions": [
                        {
                            "version": "unspecified",
                            "lessThan": "1.5.2",
                            "status": "affected",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://huntr.dev/bounties/f55315e9-9f6d-4dbb-8c40-bae50c1ae92b"
                },
                {
                    "url": "https://github.com/gruntjs/grunt/commit/aad3d4521c3098fb255fb2db8f2e1d691a033665"
                },
                {
                    "name": "[debian-lts-announce] 20230406 [SECURITY] [DLA 3386-1] grunt security update",
                    "tags": [
                        "mailing-list"
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2023/04/msg00008.html"
                }
            ],
            "metrics": [
                {
                    "cvssV3_0": {
                        "version": "3.0",
                        "vectorString": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N",
                        "attackVector": "LOCAL",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "LOW",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "availabilityImpact": "NONE",
                        "baseScore": 7.1,
                        "baseSeverity": "HIGH"
                    }
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "lang": "en",
                            "description": "CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
                            "cweId": "CWE-22"
                        }
                    ]
                }
            ],
            "source": {
                "advisory": "f55315e9-9f6d-4dbb-8c40-bae50c1ae92b",
                "discovery": "EXTERNAL"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T23:25:40.632Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://huntr.dev/bounties/f55315e9-9f6d-4dbb-8c40-bae50c1ae92b",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/gruntjs/grunt/commit/aad3d4521c3098fb255fb2db8f2e1d691a033665",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "name": "[debian-lts-announce] 20230406 [SECURITY] [DLA 3386-1] grunt security update",
                        "tags": [
                            "mailing-list",
                            "x_transferred"
                        ],
                        "url": "https://lists.debian.org/debian-lts-announce/2023/04/msg00008.html"
                    }
                ]
            }
        ]
    }
}