Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-4295

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-4295
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:59 UTC · Revision 1

Source evidence

CVE-2021-4295

core-osv · Original source

Published 29 Dec 2022, 09:15 UTC

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.

osv:CVE-2021-4295
Complete source record
{
  "id": "0cb0681a44ad2d60fa2c5d306dfb3a9cf8ae4ea1df574d7929448791373092e4",
  "url": "https://osv.dev/vulnerability/CVE-2021-4295",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-4295",
    "summary": "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.",
    "evidence": "osv:CVE-2021-4295",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2021-4295",
      "aliases": [
        "CVE-2021-4295"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/onc-healthit/code-validator-api",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "c3e58e01f8d3d28d66a7fa0e78202a1063bad241"
                },
                {
                  "fixed": "fbd8ea121755a2d3d116b13f235bc8b61d8449af"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:healthit:code-validator-api:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.0.31"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "fbd8ea121755a2d3d116b13f235bc8b61d8449af"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c3e58e01f8d3d28d66a7fa0e78202a1063bad241"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "1.0.31"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.0.30",
            "1.0.29",
            "1.0.28",
            "1.0.27",
            "1.0.26",
            "1.0.25",
            "1.0.23",
            "1.0.22",
            "1.0.21",
            "1.0.20",
            "1.0.18",
            "1.0.17",
            "1.0.16",
            "1.0.15",
            "1.0.14",
            "1.0.13",
            "1.0.12",
            "1.0.11"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-4295.json"
          }
        }
      ],
      "modified": "2026-10-20T10:55:01.902162200Z",
      "provider": "osv",
      "references": [
        "https://github.com/onc-healthit/code-validator-api/pull/97",
        "https://github.com/onc-healthit/code-validator-api/releases/tag/1.0.31",
        "https://vuldb.com/?ctiid.217018",
        "https://vuldb.com/?id.217018",
        "https://github.com/onc-healthit/code-validator-api/commit/fbd8ea121755a2d3d116b13f235bc8b61d8449af"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-4295",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386735,
  "published_at": "2022-12-29T09:15:08.223+00:00"
}