Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2021-25748— Ingress-nginx `path` sanitization can be bypassed with newline character

Quick assessment

Affected
Kubernetes Kubernetes ingress-nginx
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Kubernetes ingress-nginx是云原生计算基金会(Cloud Native Computing Foundation)的Kubernetes 的入口控制器,使用NGINX作为反向代理和负载均衡器。 Kubernetes ingress-nginx 存在安全漏洞。攻击者利用该漏洞可以获取ingress-nginx控制器的凭证。

CVSS 7.6 · High EPSS 0.69% · P51
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-25748

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Ingress-nginx `path` sanitization can be bypassed with newline character
Source: CVE Program / CVE List V5
Vulnerability Description
A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use a newline character to bypass the sanitization of the `spec.rules[].http.paths[].path` field of an Ingress object (in the `networking.k8s.io` or `extensions` API group) to obtain the credentials of the ingress-nginx controller. In the default configuration, that credential has access to all secrets in the cluster.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
输入验证不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
Kubernetes ingress-nginx 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Kubernetes ingress-nginx是云原生计算基金会(Cloud Native Computing Foundation)的Kubernetes 的入口控制器,使用NGINX作为反向代理和负载均衡器。 Kubernetes ingress-nginx 存在安全漏洞。攻击者利用该漏洞可以获取ingress-nginx控制器的凭证。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Kubernetes Kubernetes ingress-nginx unspecified ~ 1.2.1 -

II. Public POCs for CVE-2021-25748

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-25748

请登录查看更多情报信息。

Other References for CVE-2021-25748 (2)

Same Patch Batch · Kubernetes · 2023-05-24 · 4 CVEs total

CVE-2023-1174 9.8 CRITICAL [minikube] Network Port exposure in minikube running on macOS using Docker driver
CVE-2023-1944 8.4 HIGH [minikube] ssh server with default password
CVE-2021-25749 7.8 HIGH runAsNonRoot logic bypass for Windows containers

IV. Related Vulnerabilities

V. Comments for CVE-2021-25748

No comments yet


Leave a comment