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.

Permalink: https://github.com/advisories/GHSA-863x-868h-968x
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: Repository: https://github.com/kubernetes/ingress-nginx
Blast Radius: 0.0

Affected Packages

go:k8s.io/ingress-nginx
Dependent packages: 0
Dependent repositories: 1
Downloads:
Affected Version Ranges: < 1.2.1
Fixed in: 1.2.1
All affected versions:
All unaffected versions: