CVE-2021-4295 XML external entity in code-validator-api

Medium 5.5 Published Updated

An attacker can exploit XML external entity injection in the ONC code-validator-api to read sensitive files or cause denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-4295?

CVE-2021-4295 is a medium-severity vulnerability in ONC code-validator-api, published on 29 Dec 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-611

Which versions are affected by CVE-2021-4295?

It affects 1 product.

Products include Healthit Code-Validator-Api.

How do I fix CVE-2021-4295?

No fix has been published for CVE-2021-4295 yet. Limit exposure of the affected software until one is available.

Is CVE-2021-4295 being exploited?

There is no known exploitation of CVE-2021-4295 in the wild and no public exploit code.

Sources

Also known as GHSA-v4wv-v525-p5gq.

Is CVE-2021-4295 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free