GHSA-863x-868h-968x

Suggest an improvement
Source
https://github.com/advisories/GHSA-863x-868h-968x
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/05/GHSA-863x-868h-968x/GHSA-863x-868h-968x.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-863x-868h-968x
Aliases
Related
Published
2023-05-24T18:30:26Z
Modified
2024-01-31T13:56:49.788823Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Ingress-nginx `path` sanitization can be bypassed with newline character
Details

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.

Database specific
{
    "nvd_published_at": "2023-05-24T17:15:09Z",
    "cwe_ids": [
        "CWE-20"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-05-24T21:55:34Z"
}
References

Affected packages

Go / k8s.io/ingress-nginx

Package

Name
k8s.io/ingress-nginx
View open source insights on deps.dev
Purl
pkg:golang/k8s.io/ingress-nginx

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.2.1