CVE-2022-22821
JSON

2.0low

Path Traversal in nemo-toolkit

Severity
2.0low CVSS:3.1 by mitre
Exploit likelihood
0.31% (higher than 25% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-9hg3-hmmf-c3grGHSA-rpx7-33j2-xx9xPYSEC-2026-685

Description

NVIDIA NeMo before 1.6.0 contains a vulnerability in ASR WebApp, in which ../ Path Traversal may lead to deletion of any directory when admin privileges are available.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
nemo-toolkit (PyPI)before 1.6.0GitHub Advisory Database, PyPA Advisory Database
nvidia nemobefore 1.6.0NVD

All scores

mitre2.0low CVSS:3.1CVSS:3.1/AC:L/AV:L/A:N/C:N/I:L/PR:H/S:U/UI:R
GitHub4.4medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
GitHub2.0low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N
NVD4.4medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
NVD2.1low CVSS:2.0AV:L/AC:L/Au:N/C:N/I:P/A:N
PyPA Advisory Database4.4medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N

Classification

What each source says

CVE List

NVIDIA NeMo before 1.6.0 contains a vulnerability in ASR WebApp, in which ../ Path Traversal may lead to deletion of any directory when admin privileges are available.

GitHub Advisory Database
Description

NVIDIA NeMo contains a vulnerability in ASR WebApp, where Relative Path Traversal (CWE-23) may lead to deletion of any directory through the "../" structure when admin privileges are available.

CVSS Score = 2.0 https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N

Impact

When the optional tool ASR Webapp (https://github.com/NVIDIA/NeMo/tree/main/tools/asr_webapp) is used prior to commit https://github.com/NVIDIA/NeMo/commit/f7e4ed7e4f7f2fa43765a38c2fafa1b6d1ebd7c0, some interfaces do not verify user input. Malicious attackers can construct malicious requests to delete any directory through the "../" structure.

The vulnerability affects only cases where this particular web app is started by a user with superuser permissions. The web application is not a part of the regular pip release or the corresponding container, and impacts only users that clone the repository in its entirety and execute the web app (while also possessing superuser permissions).

Patches

This vulnerability has been patched via https://github.com/NVIDIA/NeMo/commit/f7e4ed7e4f7f2fa43765a38c2fafa1b6d1ebd7c0, which is effectively any clone of the repository post r1.5.1 branch. Since the web app is not distributed via pip release or container, users who clone the main branch post this commit will possess the patch.

Workarounds

The changes in commit https://github.com/NVIDIA/NeMo/commit/f7e4ed7e4f7f2fa43765a38c2fafa1b6d1ebd7c0 can be applied to any version of the web app without any adverse effect.

Additional Information

Exploit Found on: 2021.12.16 Exploit Found by: @haby0

NVD (es)

NVIDIA NeMo versiones anteriores a 1.6.0, contiene una vulnerabilidad en ASR WebApp, en la que el Salto de Ruta ../ puede conllevar a una eliminación de cualquier directorio cuando dispone de privilegios de administrador

References

Sources

SourceRecordLicence
CVE ListCVE-2022-22821 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-9hg3-hmmf-c3gr changed 2026-07-08CC-BY-4.0
GitHub Advisory DatabaseGHSA-rpx7-33j2-xx9x changed 2026-07-08CC-BY-4.0
NVDCVE-2022-22821 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-685 changed 2026-07-08CC-BY-4.0