{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "handlebars",
                    "vendor": "n/a",
                    "versions": [
                        {
                            "lessThan": "4.7.7",
                            "status": "affected",
                            "version": "unspecified",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Francois Lajeunesse-Robert"
                }
            ],
            "datePublic": "2021-04-12T00:00:00",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "The package handlebars before 4.7.7 are vulnerable to Remote Code Execution (RCE) when selecting certain compiling options to compile templates coming from an untrusted source."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "LOW",
                        "baseScore": 5.6,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "LOW",
                        "exploitCodeMaturity": "PROOF_OF_CONCEPT",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "NONE",
                        "remediationLevel": "OFFICIAL_FIX",
                        "reportConfidence": "CONFIRMED",
                        "scope": "UNCHANGED",
                        "temporalScore": 5.1,
                        "temporalSeverity": "MEDIUM",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C",
                        "version": "3.1"
                    }
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "Remote Code Execution (RCE)",
                            "lang": "en",
                            "type": "text"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2021-06-04T09:06:15",
                "orgId": "bae035ff-b466-4ff4-94d0-fc9efd9e1730",
                "shortName": "snyk"
            },
            "references": [
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1056767"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074952"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://security.netapp.com/advisory/ntap-20210604-0008/"
                }
            ],
            "title": "Remote Code Execution (RCE)",
            "x_legacyV4Record": {
                "CVE_data_meta": {
                    "ASSIGNER": "report@snyk.io",
                    "DATE_PUBLIC": "2021-04-12T13:09:13.776933Z",
                    "ID": "CVE-2021-23369",
                    "STATE": "PUBLIC",
                    "TITLE": "Remote Code Execution (RCE)"
                },
                "affects": {
                    "vendor": {
                        "vendor_data": [
                            {
                                "product": {
                                    "product_data": [
                                        {
                                            "product_name": "handlebars",
                                            "version": {
                                                "version_data": [
                                                    {
                                                        "version_affected": "<",
                                                        "version_value": "4.7.7"
                                                    }
                                                ]
                                            }
                                        }
                                    ]
                                },
                                "vendor_name": "n/a"
                            }
                        ]
                    }
                },
                "credit": [
                    {
                        "lang": "eng",
                        "value": "Francois Lajeunesse-Robert"
                    }
                ],
                "data_format": "MITRE",
                "data_type": "CVE",
                "data_version": "4.0",
                "description": {
                    "description_data": [
                        {
                            "lang": "eng",
                            "value": "The package handlebars before 4.7.7 are vulnerable to Remote Code Execution (RCE) when selecting certain compiling options to compile templates coming from an untrusted source."
                        }
                    ]
                },
                "impact": {
                    "cvss": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "LOW",
                        "baseScore": 5.6,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C",
                        "version": "3.1"
                    }
                },
                "problemtype": {
                    "problemtype_data": [
                        {
                            "description": [
                                {
                                    "lang": "eng",
                                    "value": "Remote Code Execution (RCE)"
                                }
                            ]
                        }
                    ]
                },
                "references": {
                    "reference_data": [
                        {
                            "name": "https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1056767",
                            "refsource": "MISC",
                            "url": "https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1056767"
                        },
                        {
                            "name": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950",
                            "refsource": "MISC",
                            "url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950"
                        },
                        {
                            "name": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951",
                            "refsource": "MISC",
                            "url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951"
                        },
                        {
                            "name": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074952",
                            "refsource": "MISC",
                            "url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074952"
                        },
                        {
                            "name": "https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8",
                            "refsource": "MISC",
                            "url": "https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8"
                        },
                        {
                            "name": "https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427",
                            "refsource": "MISC",
                            "url": "https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427"
                        },
                        {
                            "name": "https://security.netapp.com/advisory/ntap-20210604-0008/",
                            "refsource": "CONFIRM",
                            "url": "https://security.netapp.com/advisory/ntap-20210604-0008/"
                        }
                    ]
                }
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T19:05:55.827Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1056767"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074952"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://security.netapp.com/advisory/ntap-20210604-0008/"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "bae035ff-b466-4ff4-94d0-fc9efd9e1730",
        "assignerShortName": "snyk",
        "cveId": "CVE-2021-23369",
        "datePublished": "2021-04-12T13:10:28.403732Z",
        "dateReserved": "2021-01-08T00:00:00",
        "dateUpdated": "2024-09-16T22:46:07.677Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}