{
    "dataType": "CVE_RECORD",
    "cveMetadata": {
        "cveId": "CVE-2024-32651",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2024-04-16T14:15:26.876Z",
        "datePublished": "2024-04-25T23:49:28.540Z",
        "dateUpdated": "2024-08-02T02:13:40.303Z"
    },
    "containers": {
        "cna": {
            "title": "Server Side Template Injection in Jinja2 allows Remote Command Execution",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-1336",
                            "lang": "en",
                            "description": "CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 10,
                        "baseSeverity": "CRITICAL",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "NONE",
                        "scope": "CHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/dgtlmoon/changedetection.io/security/advisories/GHSA-4r7v-whpg-8rx3",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/dgtlmoon/changedetection.io/security/advisories/GHSA-4r7v-whpg-8rx3"
                },
                {
                    "name": "https://github.com/dgtlmoon/changedetection.io/releases/tag/0.45.21",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/dgtlmoon/changedetection.io/releases/tag/0.45.21"
                },
                {
                    "name": "https://www.onsecurity.io/blog/server-side-template-injection-with-jinja2",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://www.onsecurity.io/blog/server-side-template-injection-with-jinja2"
                },
                {
                    "url": "https://blog.hacktivesecurity.com/index.php/2024/05/08/cve-2024-32651-server-side-template-injection-changedetection-io/"
                }
            ],
            "affected": [
                {
                    "vendor": "dgtlmoon",
                    "product": "changedetection.io",
                    "versions": [
                        {
                            "version": "<= 0.45.20",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2024-04-25T23:49:28.540Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "changedetection.io is an open source web page change detection, website watcher, restock monitor and notification service. There is a Server Side Template Injection (SSTI) in Jinja2 that allows Remote Command Execution on the server host. Attackers can run any system command without any restriction and they could use a reverse shell. The impact is critical as the attacker can completely takeover the server machine. This can be reduced if changedetection is behind a login page, but this isn't required by the application (not by default and not enforced)."
                }
            ],
            "source": {
                "advisory": "GHSA-4r7v-whpg-8rx3",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "affected": [
                    {
                        "vendor": "dgtlmoon",
                        "product": "changedetection.io",
                        "cpes": [
                            "cpe:2.3:a:dgtlmoon:changedetection.io:0.45.20:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "0.45.20",
                                "status": "affected"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-06-07T19:43:06.358800Z",
                                "id": "CVE-2024-32651",
                                "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-06-07T19:45:58.632Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T02:13:40.303Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/dgtlmoon/changedetection.io/security/advisories/GHSA-4r7v-whpg-8rx3",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/dgtlmoon/changedetection.io/security/advisories/GHSA-4r7v-whpg-8rx3"
                    },
                    {
                        "name": "https://github.com/dgtlmoon/changedetection.io/releases/tag/0.45.21",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/dgtlmoon/changedetection.io/releases/tag/0.45.21"
                    },
                    {
                        "name": "https://www.onsecurity.io/blog/server-side-template-injection-with-jinja2",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://www.onsecurity.io/blog/server-side-template-injection-with-jinja2"
                    },
                    {
                        "url": "https://blog.hacktivesecurity.com/index.php/2024/05/08/cve-2024-32651-server-side-template-injection-changedetection-io/",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    },
    "dataVersion": "5.1"
}