{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2022-1664",
        "assignerOrgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5",
        "assignerShortName": "debian",
        "datePublished": "2022-05-26T08:20:15.198129Z",
        "dateUpdated": "2024-09-17T02:16:10.760Z",
        "dateReserved": "2022-05-10T00:00:00"
    },
    "containers": {
        "cna": {
            "title": "directory traversal for in-place extracts with untrusted v2 and v3 source packages with debian.tar",
            "datePublic": "2022-05-25T00:00:00",
            "providerMetadata": {
                "orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5",
                "shortName": "debian",
                "dateUpdated": "2022-10-07T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Dpkg::Source::Archive in dpkg, the Debian package management system, before version 1.21.8, 1.20.10, 1.19.8, 1.18.26 is prone to a directory traversal vulnerability. When extracting untrusted source packages in v2 and v3 source package formats that include a debian.tar, the in-place extraction can lead to directory traversal situations on specially crafted orig.tar and debian.tar tarballs."
                }
            ],
            "affected": [
                {
                    "vendor": "Debian",
                    "product": "dpkg",
                    "versions": [
                        {
                            "version": "1.14.17",
                            "status": "affected",
                            "lessThan": "1.21.8",
                            "versionType": "custom",
                            "changes": [
                                {
                                    "at": "1.20.10",
                                    "status": "unaffected"
                                },
                                {
                                    "at": "1.19.8",
                                    "status": "unaffected"
                                },
                                {
                                    "at": "1.18.26",
                                    "status": "unaffected"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=7a6c03cb34d4a09f35df2f10779cbf1b70a5200b"
                },
                {
                    "url": "https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=58814cacee39c4ce9e2cd0e3a3b9b57ad437eff5"
                },
                {
                    "url": "https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=1f23dddc17f69c9598477098c7fb9936e15fa495"
                },
                {
                    "url": "https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=faa4c92debe45412bfcf8a44f26e827800bb24be"
                },
                {
                    "url": "https://lists.debian.org/debian-security-announce/2022/msg00115.html"
                },
                {
                    "url": "https://lists.debian.org/debian-lts-announce/2022/05/msg00033.html"
                },
                {
                    "url": "https://security.netapp.com/advisory/ntap-20221007-0002/"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "text",
                            "lang": "en",
                            "description": "directory traversal"
                        }
                    ]
                }
            ],
            "x_generator": {
                "engine": "Vulnogram 0.0.9"
            },
            "source": {
                "advisory": "https://lists.debian.org/debian-security-announce/2022/msg00115.html",
                "defect": [
                    "DSA-5147-1"
                ],
                "discovery": "EXTERNAL"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T00:10:03.819Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=7a6c03cb34d4a09f35df2f10779cbf1b70a5200b",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=58814cacee39c4ce9e2cd0e3a3b9b57ad437eff5",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=1f23dddc17f69c9598477098c7fb9936e15fa495",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=faa4c92debe45412bfcf8a44f26e827800bb24be",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://lists.debian.org/debian-security-announce/2022/msg00115.html",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://lists.debian.org/debian-lts-announce/2022/05/msg00033.html",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://security.netapp.com/advisory/ntap-20221007-0002/",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}