ID

VAR-202111-1282


CVE

CVE-2021-43557


TITLE

Apache APISIX command injection vulnerability

Trust: 1.2

sources: CNVD: CNVD-2021-92472 // CNNVD: CNNVD-202111-1831

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. Apache APISIX Contains a command injection vulnerability.Information may be obtained. Apache Apisix is a cloud-native microservice API gateway service of the Apache Foundation in the United States. The software is implemented based on OpenResty and etcd, with dynamic routing and plug-in hot loading, suitable for API management under the microservice system. Apache APISIX has a security vulnerability, which stems from improper design or implementation issues in the code development process of network systems or products. No detailed vulnerability details are currently provided

Trust: 2.25

sources: NVD: CVE-2021-43557 // JVNDB: JVNDB-2021-015473 // CNVD: CNVD-2021-92472 // VULMON: CVE-2021-43557

IOT TAXONOMY

category:['Network device']sub_category: -

Trust: 0.6

sources: CNVD: CNVD-2021-92472

AFFECTED PRODUCTS

vendor:apachemodel:apisixscope:ltversion:2.10.2

Trust: 1.6

vendor:apachemodel:apisixscope:eqversion:2.10.2

Trust: 0.8

vendor:apachemodel:apisixscope:eqversion: -

Trust: 0.8

sources: CNVD: CNVD-2021-92472 // JVNDB: JVNDB-2021-015473 // NVD: CVE-2021-43557

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2021-43557
value: HIGH

Trust: 1.0

NVD: CVE-2021-43557
value: HIGH

Trust: 0.8

CNVD: CNVD-2021-92472
value: MEDIUM

Trust: 0.6

CNNVD: CNNVD-202111-1831
value: HIGH

Trust: 0.6

VULMON: CVE-2021-43557
value: MEDIUM

Trust: 0.1

nvd@nist.gov: CVE-2021-43557
severity: MEDIUM
baseScore: 5.0
vectorString: AV:N/AC:L/AU:N/C:P/I:N/A:N
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: PARTIAL
integrityImpact: NONE
availabilityImpact: NONE
exploitabilityScore: 10.0
impactScore: 2.9
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.9

CNVD: CNVD-2021-92472
severity: MEDIUM
baseScore: 5.0
vectorString: AV:N/AC:L/AU:N/C:P/I:N/A:N
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: PARTIAL
integrityImpact: NONE
availabilityImpact: NONE
exploitabilityScore: 10.0
impactScore: 2.9
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.6

nvd@nist.gov: CVE-2021-43557
baseSeverity: HIGH
baseScore: 7.5
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: NONE
availabilityImpact: NONE
exploitabilityScore: 3.9
impactScore: 3.6
version: 3.1

Trust: 1.0

NVD: CVE-2021-43557
baseSeverity: HIGH
baseScore: 7.5
vectorString: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: NONE
availabilityImpact: NONE
exploitabilityScore: NONE
impactScore: NONE
version: 3.0

Trust: 0.8

sources: CNVD: CNVD-2021-92472 // VULMON: CVE-2021-43557 // JVNDB: JVNDB-2021-015473 // CNNVD: CNNVD-202111-1831 // NVD: CVE-2021-43557

PROBLEMTYPE DATA

problemtype:CWE-77

Trust: 1.0

problemtype:Command injection (CWE-77) [NVD evaluation ]

Trust: 0.8

sources: JVNDB: JVNDB-2021-015473 // NVD: CVE-2021-43557

THREAT TYPE

remote

Trust: 0.6

sources: CNNVD: CNNVD-202111-1831

TYPE

command injection

Trust: 0.6

sources: CNNVD: CNNVD-202111-1831

PATCH

title:Path traversal in request_uri variableurl:https://lists.apache.org/thread/18jyd458ptocr31rnkjs71w4h366mv7h

Trust: 0.8

title:Patch for Apache APISIX command injection vulnerabilityurl:https://www.cnvd.org.cn/patchInfo/show/301916

Trust: 0.6

title:Apache Apisix Fixes for command injection vulnerabilitiesurl:http://www.cnnvd.org.cn/web/xxk/bdxqById.tag?id=173024

Trust: 0.6

title: - url:https://github.com/pen4uin/awesome-vulnerability-research

Trust: 0.1

title: - url:https://github.com/pen4uin/vulnerability-research-list

Trust: 0.1

sources: CNVD: CNVD-2021-92472 // VULMON: CVE-2021-43557 // JVNDB: JVNDB-2021-015473 // CNNVD: CNNVD-202111-1831

EXTERNAL IDS

db:NVDid:CVE-2021-43557

Trust: 3.9

db:OPENWALLid:OSS-SECURITY/2021/11/22/1

Trust: 2.5

db:OPENWALLid:OSS-SECURITY/2021/11/22/2

Trust: 2.5

db:OPENWALLid:OSS-SECURITY/2021/11/23/1

Trust: 2.5

db:JVNDBid:JVNDB-2021-015473

Trust: 0.8

db:CNVDid:CNVD-2021-92472

Trust: 0.6

db:CS-HELPid:SB2021112611

Trust: 0.6

db:CNNVDid:CNNVD-202111-1831

Trust: 0.6

db:VULMONid:CVE-2021-43557

Trust: 0.1

sources: CNVD: CNVD-2021-92472 // VULMON: CVE-2021-43557 // JVNDB: JVNDB-2021-015473 // CNNVD: CNNVD-202111-1831 // NVD: CVE-2021-43557

REFERENCES

url:http://www.openwall.com/lists/oss-security/2021/11/22/2

Trust: 2.5

url:http://www.openwall.com/lists/oss-security/2021/11/22/1

Trust: 2.5

url:http://www.openwall.com/lists/oss-security/2021/11/23/1

Trust: 2.5

url:https://nvd.nist.gov/vuln/detail/cve-2021-43557

Trust: 2.0

url:https://lists.apache.org/thread/18jyd458ptocr31rnkjs71w4h366mv7h

Trust: 1.7

url:https://www.cybersecurity-help.cz/vdb/sb2021112611

Trust: 0.6

url:https://cwe.mitre.org/data/definitions/77.html

Trust: 0.1

url:https://nvd.nist.gov

Trust: 0.1

url:http://seclists.org/oss-sec/2021/q4/126

Trust: 0.1

sources: CNVD: CNVD-2021-92472 // VULMON: CVE-2021-43557 // JVNDB: JVNDB-2021-015473 // CNNVD: CNNVD-202111-1831 // NVD: CVE-2021-43557

SOURCES

db:CNVDid:CNVD-2021-92472
db:VULMONid:CVE-2021-43557
db:JVNDBid:JVNDB-2021-015473
db:CNNVDid:CNNVD-202111-1831
db:NVDid:CVE-2021-43557

LAST UPDATE DATE

2024-11-23T22:15:59.807000+00:00


SOURCES UPDATE DATE

db:CNVDid:CNVD-2021-92472date:2021-11-30T00:00:00
db:VULMONid:CVE-2021-43557date:2021-11-26T00:00:00
db:JVNDBid:JVNDB-2021-015473date:2022-11-22T01:47:00
db:CNNVDid:CNNVD-202111-1831date:2021-12-07T00:00:00
db:NVDid:CVE-2021-43557date:2024-11-21T06:29:25.887

SOURCES RELEASE DATE

db:CNVDid:CNVD-2021-92472date:2021-11-30T00:00:00
db:VULMONid:CVE-2021-43557date:2021-11-22T00:00:00
db:JVNDBid:JVNDB-2021-015473date:2022-11-22T00:00:00
db:CNNVDid:CNNVD-202111-1831date:2021-11-22T00:00:00
db:NVDid:CVE-2021-43557date:2021-11-22T09:15:07.627