Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS04NjN4LTg2OGgtOTY4eM4AAzdP
Ingress-nginx `path` sanitization can be bypassed with newline character
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.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS04NjN4LTg2OGgtOTY4eM4AAzdP
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 11 months ago
Updated: 6 months ago
CVSS Score: 6.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Identifiers: GHSA-863x-868h-968x, CVE-2021-25748
References:
- https://nvd.nist.gov/vuln/detail/CVE-2021-25748
- https://github.com/kubernetes/ingress-nginx/issues/8686
- https://groups.google.com/g/kubernetes-security-announce/c/avaRYa9c7I8
- https://github.com/kubernetes/ingress-nginx/pull/8623
- https://github.com/kubernetes/ingress-nginx/releases/tag/controller-v1.2.1
- https://github.com/advisories/GHSA-863x-868h-968x
Blast Radius: 0.0
Affected Packages
go:k8s.io/ingress-nginx
Dependent packages: 0Dependent repositories: 1
Downloads:
Affected Version Ranges: < 1.2.1
Fixed in: 1.2.1
All affected versions:
All unaffected versions: