CVE-2020-35176 json
In AWStats through 7.8, cgi-bin/awstats.pl?config= accepts a partial absolute pathname (omitting the initial /etc), even though it was inte…
published 5y ago modified 4mo ago also EUVD-2020-22864
- cvss
- 5.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
In AWStats through 7.8, cgi-bin/awstats.pl?config= accepts a partial absolute pathname (omitting the initial /etc), even though it was intended to only read a file in the /etc/awstats/awstats.conf format. NOTE: this issue exists because of an incomplete fix for CVE-2017-1000501 and CVE-2020-29600.
Patch / fix
- awstats Debian 14, Debian 13, Debian 12 7.8-2
debian advisories DEBIAN-CVE-2020-35176
- awstats Ubuntu 18.04 LTS 7.6+dfsg-2ubuntu0.18.04.1
- awstats Ubuntu 20.04 LTS 7.6+dfsg-2ubuntu0.20.04.1
- awstats Ubuntu Pro 16.04 LTS 7.4+dfsg-1ubuntu0.4+esm1
ubuntu advisories UBUNTU-CVE-2020-35176
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- awstats Alpine 3.11, Alpine 3.10 7.8-r0
- awstats Alpine 3.24, Alpine 3.23, Alpine 3.22 +10 more 7.8-r1
alpine advisories ALPINE-CVE-2020-35176
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- awstats Arch Linux 7.8-3
arch linux advisories AVG-1356
Is CVE-2020-35176 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-35176 updated cvss 5.3
awstats: path traversal in awstats.pl
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.18% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/BRHYCKLW5VPM6KP2WZW6DCCVHVBG7YCW/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/47QZWKSRZYZFESYTLSW7A6KVKOOPL7IV/
vendor-advisory
-
github.com
/eldy/awstats/issues/195
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2020/12/msg00035.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2020-35176
- NVD CVE-2020-35176
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.