CVE-2021-25938
Vulnerability in n/a ArangoDB
Check your servers for CVE-2021-25938
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2021-25938 affects arangodb, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In ArangoDB, versions v2.2.6.2 through v3.7.10 are vulnerable to Cross-Site Scripting (XSS), since there is no validation of the .zip file name and filtering of potential abusive characters which zip files can be named to. There is no X-Frame-Options Header set, which makes it more susceptible for leveraging self XSS by attackers.
Exploitation
EPSS 0.81%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 58.1% of all scored CVEs. Scores of 2 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
ArangoDB
n/a
|
affected v2.2.6.2-v3.7.10
|
Is my server affected?
Find the installed version of arangodb and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i arangodb
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2021-25938 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2021-25938RHEL, Rocky, Alma, Fedora
rpm -q arangodb
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2021-25938Alpine
apk list --installed | grep -i arangodbWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2021-25938
trivy image --scanners vuln IMAGE | grep CVE-2021-25938
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25938 whitesourcesoftware.com
- https://github.com/arangodb/arangodb/commit/3e486b9bc33cc97e92645dd279899000e57f61f4 github.com
Source: the record CVE-2021-25938 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse