{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2021-4295",
        "ASSIGNER": "cna@vuldb.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A vulnerability classified as problematic was found in ONC code-validator-api up to 1.0.30. This vulnerability affects the function vocabularyValidationConfigurations of the file src/main/java/org/sitenv/vocabularies/configuration/CodeValidatorApiConfiguration.java of the component XML Handler. The manipulation leads to xml external entity reference. Upgrading to version 1.0.31 is able to address this issue. The name of the patch is fbd8ea121755a2d3d116b13f235bc8b61d8449af. It is recommended to upgrade the affected component. VDB-217018 is the identifier assigned to this vulnerability."
            },
            {
                "lang": "deu",
                "value": "In ONC code-validator-api bis 1.0.30 wurde eine Schwachstelle entdeckt. Sie wurde als problematisch eingestuft. Dabei geht es um die Funktion vocabularyValidationConfigurations der Datei src/main/java/org/sitenv/vocabularies/configuration/CodeValidatorApiConfiguration.java der Komponente XML Handler. Durch Beeinflussen mit unbekannten Daten kann eine xml external entity reference-Schwachstelle ausgenutzt werden. Ein Aktualisieren auf die Version 1.0.31 vermag dieses Problem zu l\u00f6sen. Der Patch wird als fbd8ea121755a2d3d116b13f235bc8b61d8449af bezeichnet. Als bestm\u00f6gliche Massnahme wird das Einspielen eines Upgrades empfohlen."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-611 XML External Entity Reference",
                        "cweId": "CWE-611"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "ONC",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "code-validator-api",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "1.0.0",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.1",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.2",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.3",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.4",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.5",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.6",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.7",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.8",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.9",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.10",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.11",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.12",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.13",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.14",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.15",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.16",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.17",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.18",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.19",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.20",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.21",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.22",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.23",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.24",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.25",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.26",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.27",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.28",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.29",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "1.0.30",
                                            "version_affected": "="
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://vuldb.com/?id.217018",
                "refsource": "MISC",
                "name": "https://vuldb.com/?id.217018"
            },
            {
                "url": "https://vuldb.com/?ctiid.217018",
                "refsource": "MISC",
                "name": "https://vuldb.com/?ctiid.217018"
            },
            {
                "url": "https://github.com/onc-healthit/code-validator-api/pull/97",
                "refsource": "MISC",
                "name": "https://github.com/onc-healthit/code-validator-api/pull/97"
            },
            {
                "url": "https://github.com/onc-healthit/code-validator-api/commit/fbd8ea121755a2d3d116b13f235bc8b61d8449af",
                "refsource": "MISC",
                "name": "https://github.com/onc-healthit/code-validator-api/commit/fbd8ea121755a2d3d116b13f235bc8b61d8449af"
            },
            {
                "url": "https://github.com/onc-healthit/code-validator-api/releases/tag/1.0.31",
                "refsource": "MISC",
                "name": "https://github.com/onc-healthit/code-validator-api/releases/tag/1.0.31"
            }
        ]
    },
    "credits": [
        {
            "lang": "en",
            "value": "VulDB GitHub Commit Analyzer"
        }
    ],
    "impact": {
        "cvss": [
            {
                "version": "3.1",
                "baseScore": 5.5,
                "vectorString": "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
                "baseSeverity": "MEDIUM"
            },
            {
                "version": "3.0",
                "baseScore": 5.5,
                "vectorString": "CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
                "baseSeverity": "MEDIUM"
            }
        ]
    }
}