{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-27475",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-03-01T19:03:56.631Z",
        "datePublished": "2023-03-07T17:40:06.368Z",
        "dateUpdated": "2024-08-02T12:09:43.449Z"
    },
    "containers": {
        "cna": {
            "title": "Goutil vulnerable to path traversal when unzipping files",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-22",
                            "lang": "en",
                            "description": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 8.8,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/gookit/goutil/security/advisories/GHSA-fx2v-qfhr-4chv",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/gookit/goutil/security/advisories/GHSA-fx2v-qfhr-4chv"
                },
                {
                    "name": "https://github.com/gookit/goutil/commit/d7b94fede71f018f129f7d21feb58c895d28dadc",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/gookit/goutil/commit/d7b94fede71f018f129f7d21feb58c895d28dadc"
                },
                {
                    "url": "https://security.netapp.com/advisory/ntap-20230427-0003/"
                }
            ],
            "affected": [
                {
                    "vendor": "gookit",
                    "product": "goutil",
                    "versions": [
                        {
                            "version": "< 0.6.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-03-07T17:40:06.368Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Goutil is a collection of miscellaneous functionality for the go language. In versions prior to 0.6.0 when users use fsutil.Unzip to unzip zip files from a malicious attacker, they may be vulnerable to path traversal. This vulnerability is known as a ZipSlip. This issue has been fixed in version 0.6.0, users are advised to upgrade. There are no known workarounds for this issue."
                }
            ],
            "source": {
                "advisory": "GHSA-fx2v-qfhr-4chv",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T12:09:43.449Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/gookit/goutil/security/advisories/GHSA-fx2v-qfhr-4chv",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/gookit/goutil/security/advisories/GHSA-fx2v-qfhr-4chv"
                    },
                    {
                        "name": "https://github.com/gookit/goutil/commit/d7b94fede71f018f129f7d21feb58c895d28dadc",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/gookit/goutil/commit/d7b94fede71f018f129f7d21feb58c895d28dadc"
                    },
                    {
                        "url": "https://security.netapp.com/advisory/ntap-20230427-0003/",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}