CVE-2021-43557
Path traversal in request_uri variable
7.5
HIGH
CVSS 3.1
EPSS 55.3%
Description
The uri-block plugin in Apache APISIX before 2.10.2 uses $request_uri without verification. The $request_uri is the full original request URI without normalization. This makes it possible to construct a URI to bypass the block list on some occasions. For instance, when the block list contains "^/internal/", a URI like `//internal/` can be used to bypass it. Some other plugins also have the same issue. And it may affect the developer's custom plugin.
How to fix CVE-2021-43557
To remediate CVE-2021-43557, upgrade the affected package to a fixed version below.
- —upgrade to 2.10.2 or later
Is CVE-2021-43557 being exploited?
Likely — EPSS is 55.3%, placing CVE-2021-43557 in the top tier of vulnerabilities by exploitation probability. Prioritise patching.
Affected packages (1)
- from 0, < 2.10.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |