CVE-2021-43557

See a problem?
Source
https://nvd.nist.gov/vuln/detail/CVE-2021-43557
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-43557.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-43557
Aliases
Published
2021-11-22T09:15:07Z
Modified
2024-09-03T03:57:20.949225Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

The uri-block plugin in Apache APISIX before 2.10.2 uses $requesturi without verification. The $requesturi 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.

References

Affected packages

Git / github.com/apache/apisix

Affected ranges

Type
GIT
Repo
https://github.com/apache/apisix
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.9-RC1

2.*

2.10.0
2.10.1

v0.*

v0.2
v0.3
v0.3-1
v0.4
v0.4.1
v0.5
v0.7
v0.9