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

CVE-2021-25748 · Severity: low · CVSS 3.1 · Published 2023-05-24

Ingress-nginx `path` sanitization can be bypassed with newline character

Technologies: k8s.io/ingress-nginx (Go). Vendors: Go.

Quick answers

Is CVE-2021-25748 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2021-25748 being exploited in the wild.
How severe is CVE-2021-25748?
Low severity, with a CVSS score of 3.1, published 24 May 2023.
Which products and versions are affected?
k8s.io/ingress-nginx (Go) SEMVER:introduced=0,fixed=1.2.1.
Is there a fix for CVE-2021-25748?
Yes. k8s.io/ingress-nginx (Go): upgrade to 1.2.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2021-25748?
Check whether you run k8s.io/ingress-nginx (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • k8s.io/ingress-nginx (Go): upgrade to 1.2.1 or later
    go get k8s.io/ingress-nginx@v1.2.1

Affected products

  • k8s.io/ingress-nginx (Go) SEMVER:introduced=0,fixed=1.2.1

Identifiers

  • CVE-2021-25748
  • GHSA-863x-868h-968x

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.