{
    "dataType": "CVE_RECORD",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2024-39331",
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "dateUpdated": "2024-08-22T03:55:10.601Z",
        "dateReserved": "2024-06-23T00:00:00",
        "datePublished": "2024-06-23T00:00:00"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
                "shortName": "mitre",
                "dateUpdated": "2024-06-29T07:06:02.248894"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In Emacs before 29.4, org-link-expand-abbrev in lisp/ol.el expands a %(...) link abbrev even when it specifies an unsafe function, such as shell-command-to-string. This affects Org Mode before 9.7.5."
                }
            ],
            "affected": [
                {
                    "vendor": "n/a",
                    "product": "n/a",
                    "versions": [
                        {
                            "version": "n/a",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-29"
                },
                {
                    "url": "https://list.orgmode.org/87sex5gdqc.fsf%40localhost/"
                },
                {
                    "url": "https://lists.gnu.org/archive/html/info-gnu-emacs/2024-06/msg00000.html"
                },
                {
                    "url": "https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f4cc61636947b5c2f0afc67174dd369fe3277aa8"
                },
                {
                    "url": "https://www.openwall.com/lists/oss-security/2024/06/23/1"
                },
                {
                    "url": "https://www.openwall.com/lists/oss-security/2024/06/23/2"
                },
                {
                    "url": "https://news.ycombinator.com/item?id=40768225"
                },
                {
                    "name": "[debian-lts-announce] 20240629 [SECURITY] [DLA 3848-1] org-mode security update",
                    "tags": [
                        "mailing-list"
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00023.html"
                },
                {
                    "name": "[debian-lts-announce] 20240629 [SECURITY] [DLA 3849-1] org-mode security update",
                    "tags": [
                        "mailing-list"
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00024.html"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "text",
                            "lang": "en",
                            "description": "n/a"
                        }
                    ]
                }
            ]
        },
        "adp": [
            {
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "type": "CWE",
                                "cweId": "CWE-94",
                                "lang": "en",
                                "description": "CWE-94 Improper Control of Generation of Code ('Code Injection')"
                            }
                        ]
                    }
                ],
                "affected": [
                    {
                        "vendor": "gnu",
                        "product": "emacs",
                        "cpes": [
                            "cpe:2.3:a:gnu:emacs:-:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "0",
                                "status": "affected",
                                "lessThan": "29.4",
                                "versionType": "custom"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 9.8,
                            "attackVector": "NETWORK",
                            "baseSeverity": "CRITICAL",
                            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                            "integrityImpact": "HIGH",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "HIGH",
                            "privilegesRequired": "NONE",
                            "confidentialityImpact": "HIGH"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-08-21T00:00:00+00:00",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3",
                                "id": "CVE-2024-39331"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-08-22T03:55:10.601Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T04:26:14.279Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-29",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://list.orgmode.org/87sex5gdqc.fsf%40localhost/",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://lists.gnu.org/archive/html/info-gnu-emacs/2024-06/msg00000.html",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f4cc61636947b5c2f0afc67174dd369fe3277aa8",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://www.openwall.com/lists/oss-security/2024/06/23/1",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://www.openwall.com/lists/oss-security/2024/06/23/2",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://news.ycombinator.com/item?id=40768225",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "name": "[debian-lts-announce] 20240629 [SECURITY] [DLA 3848-1] org-mode security update",
                        "tags": [
                            "mailing-list",
                            "x_transferred"
                        ],
                        "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00023.html"
                    },
                    {
                        "name": "[debian-lts-announce] 20240629 [SECURITY] [DLA 3849-1] org-mode security update",
                        "tags": [
                            "mailing-list",
                            "x_transferred"
                        ],
                        "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00024.html"
                    }
                ]
            }
        ]
    },
    "dataVersion": "5.1"
}