CVEfocus › CVE database › CVE-2022-37425

CVE-2022-37425The FILES directive inside a VM template allows execution of uploaded files when the…

CVSS 9.9 CriticalEPSS 2.0% (higher than 81% of CVEs)Published 2022-10-28Updated 2024-08-03Assigner: blackberry

Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in OpenNebula OpenNebula core on Linux allows Remote Code Inclusion.

What to do

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04opennebulaFix pendingUBUNTU-CVE-2022-37425
Ubuntu 16.04opennebulaFix pendingUBUNTU-CVE-2022-37425
Ubuntu 14.04opennebulaFix pending

What the vendor says

As published in the CVE record by blackberry, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to OpenNebula 6.4.2 EE LTS and configure the CONTEXT_RESTRICTED_DIRS and CONTEXT_SAFE_DIRS properties in oned.conf

Workaround: Do not allow regular users to use the FILES directive inside their VM templates, instead set up a context files datastore, and allow users to upload and reference their files from that datastore, using the FILES_DS directive.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.