{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2022-21797",
        "assignerOrgId": "bae035ff-b466-4ff4-94d0-fc9efd9e1730",
        "assignerShortName": "snyk",
        "dateUpdated": "2024-09-17T04:24:12.503Z",
        "dateReserved": "2022-02-24T00:00:00",
        "datePublished": "2022-09-26T05:05:17.410454Z"
    },
    "containers": {
        "cna": {
            "title": "Arbitrary Code Execution",
            "datePublic": "2022-09-26T00:00:00",
            "providerMetadata": {
                "orgId": "bae035ff-b466-4ff4-94d0-fc9efd9e1730",
                "shortName": "snyk",
                "dateUpdated": "2024-01-02T16:06:09.733923"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "The package joblib from 0 and before 1.2.0 are vulnerable to Arbitrary Code Execution via the pre_dispatch flag in Parallel() class due to the eval() statement."
                }
            ],
            "affected": [
                {
                    "vendor": "n/a",
                    "product": "joblib",
                    "versions": [
                        {
                            "version": "0",
                            "status": "affected",
                            "lessThan": "unspecified",
                            "versionType": "custom"
                        },
                        {
                            "version": "unspecified",
                            "lessThan": "1.2.0",
                            "status": "affected",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://security.snyk.io/vuln/SNYK-PYTHON-JOBLIB-3027033"
                },
                {
                    "url": "https://github.com/joblib/joblib/commit/b90f10efeb670a2cc877fb88ebb3f2019189e059"
                },
                {
                    "url": "https://github.com/joblib/joblib/issues/1128"
                },
                {
                    "url": "https://github.com/joblib/joblib/pull/1321"
                },
                {
                    "name": "FEDORA-2022-c0bfe37ae5",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BVOMMW37OXZWU2EV5ONAAS462IQEHZOF/"
                },
                {
                    "name": "FEDORA-2022-c83ce1c000",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MJ5XTJS6OKJRRVXWFN5J67K3BYPEOBDF/"
                },
                {
                    "name": "[debian-lts-announce] 20221117 [SECURITY] [DLA 3193-1] joblib security update",
                    "tags": [
                        "mailing-list"
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2022/11/msg00020.html"
                },
                {
                    "name": "[debian-lts-announce] 20230330 [SECURITY] [DLA 3193-2] joblib security update",
                    "tags": [
                        "mailing-list"
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2023/03/msg00027.html"
                },
                {
                    "name": "GLSA-202401-01",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://security.gentoo.org/glsa/202401-01"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Jim Lin"
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "LOW",
                        "availabilityImpact": "LOW",
                        "exploitCodeMaturity": "PROOF_OF_CONCEPT",
                        "remediationLevel": "NOT_DEFINED",
                        "reportConfidence": "NOT_DEFINED",
                        "baseScore": 7.3,
                        "temporalScore": 6.9,
                        "baseSeverity": "HIGH",
                        "temporalSeverity": "MEDIUM"
                    }
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "text",
                            "lang": "en",
                            "description": "Arbitrary Code Execution"
                        }
                    ]
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T02:53:36.168Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://security.snyk.io/vuln/SNYK-PYTHON-JOBLIB-3027033",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/joblib/joblib/commit/b90f10efeb670a2cc877fb88ebb3f2019189e059",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/joblib/joblib/issues/1128",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/joblib/joblib/pull/1321",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "name": "FEDORA-2022-c0bfe37ae5",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BVOMMW37OXZWU2EV5ONAAS462IQEHZOF/"
                    },
                    {
                        "name": "FEDORA-2022-c83ce1c000",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MJ5XTJS6OKJRRVXWFN5J67K3BYPEOBDF/"
                    },
                    {
                        "name": "[debian-lts-announce] 20221117 [SECURITY] [DLA 3193-1] joblib security update",
                        "tags": [
                            "mailing-list",
                            "x_transferred"
                        ],
                        "url": "https://lists.debian.org/debian-lts-announce/2022/11/msg00020.html"
                    },
                    {
                        "name": "[debian-lts-announce] 20230330 [SECURITY] [DLA 3193-2] joblib security update",
                        "tags": [
                            "mailing-list",
                            "x_transferred"
                        ],
                        "url": "https://lists.debian.org/debian-lts-announce/2023/03/msg00027.html"
                    },
                    {
                        "name": "GLSA-202401-01",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://security.gentoo.org/glsa/202401-01"
                    }
                ]
            },
            {
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "type": "CWE",
                                "cweId": "CWE-94",
                                "lang": "en",
                                "description": "CWE-94 Improper Control of Generation of Code ('Code Injection')"
                            }
                        ]
                    }
                ],
                "affected": [
                    {
                        "vendor": "fedoraproject",
                        "product": "fedora",
                        "cpes": [
                            "cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "36",
                                "status": "affected"
                            }
                        ]
                    },
                    {
                        "vendor": "debian",
                        "product": "debian_linux",
                        "cpes": [
                            "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "10.0",
                                "status": "affected"
                            }
                        ]
                    },
                    {
                        "vendor": "fedoraproject",
                        "product": "fedora",
                        "cpes": [
                            "cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "37",
                                "status": "affected"
                            }
                        ]
                    },
                    {
                        "vendor": "joblib_project",
                        "product": "joblib",
                        "cpes": [
                            "cpe:2.3:a:joblib_project:joblib:*:*:*:*:*:python:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "0",
                                "status": "affected",
                                "lessThan": "1.2.0",
                                "versionType": "custom"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-08-23T03:55:38.496202Z",
                                "id": "CVE-2022-21797",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-08-23T14:49:09.564Z"
                }
            }
        ]
    }
}